Hello, On Mon, 26 Nov 2001 11:16:18 +0000 (GMT) "Prasad Paranjape" <[EMAIL PROTECTED]> wrote:
> Dear Shekhar and Gurus in Linux India Help, > > I configured the Apache -Tomcat as expalined by > Shekhar Govindrajan in his articles in PCQuests for > past couple of months.It is working fine in PCQuest > Red Hat 7.1 I have on my PC. Have not read that article. Am replying with whatever experience I've had with configuring tomcat on RHL and FreeBSD. > While configuring the same in Slackware 8.0 I faced > the problem: > I would just mention the steps I alongwith my > observations: > 1)Slackware 8.0 comes with Apache 1.3.20 . > There is no /etc/rc.d/init.d/httpd in Slackware > instead there is httpd in /usr/sbin and one script > apachectl to start,stop or restart the httpd daemon. The point here AFAI can guess is to start tomcat before httpd starts. Hence you can make sure of this in the system startup scripts OR do it manually. > 2)the tomcat.conf is in the directory TOMACT_HOME/conf > ( in my case it is > /usr/local/jakarata-tomcat-3.2.1/conf and httpd.conf > is in /etc/apache directory. TOMCAT_HOME refers to the base directory of tomcar specific to your machine. In this case it would be /usr/local/jakarta-tomcat-3.2.1 > 3)I could generate mod_jserv.so and put it in proper > directory but not modules directory under > /etc/httpd/modules (as mentioned by Shekhar) mod_jserv.so is required to be put in the directory where apache puts its all other modules. Just check up where the other modules are and dump this file in that directory. Apache should not have any issues with it. > 4)The ServerRoot is /etc in my httpd.conf so I give > the fiull path for include directive as : > Include /etc/apache/tomcat.conf > When this line is there I can not restart Apache using > command apachectl restart.But if I comment this line > out then I can. What error do you get when you try to start apache? > 5)With out this line I can not make Tomcat work as > module of Apache. > > Do let me know what the problem could be. > > I am surprised becase it worked quite smoothly in > PCQRH7.1 but trobling me a lot in Slackware 8.0 Things should work absolutely fine on slackware too. I've got this working on freebsd. The only issues you need to handle are the file locations. One mistake with an absolute location and you'd get an error which you wont be able to relate to anything. > Do I need to remove the Apache 1.3.20 from Slackware > 8.0 and use all the Aapache and Tomact rpms supplied > by PCQuest on their Cds so that I have Apache and > installation in the same way (I mean the directory > structures) same as that in RH7.1. Not required. Just a bit of tweaking with the config paths should do the task. Follow the instructions exactly as mentioned in the docs. "it wont work" :-) tweak the path specifications to suite your config and you should be on. HTH. VaibhaV --------------------------------------------- VaibhaV Sharma | [EMAIL PROTECTED] Exocore Consulting | http://www.exocore.com Bangalore, India | +91 (80) 3440397 --------------------------------------------- _______________________________________________ linux-india-help mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/linux-india-help
