tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Charles Sabourdin <sabour...@yahoo.com>
Subject Re: Apache won't pass servlet requests to Tomcat?
Date Fri, 14 Jul 2000 09:23:48 GMT
what is you http request?
is it, formated this way?
//localhost/myApps/servlet/com.mycompany.myserlet?arg1=11&arg2=22
?
--- "Jeffrey M. Bischoff" <JBischoff@bds.com> a
écrit : > Hi,
> 
> I sent this message out yesterday, but got no
> replies. So I am sending again
> this time with more details and my httpd.conf
> file attached. Seems to be an
> apache configuration problem but I have hit a
> wall so to speak, and I really
> need some help on this one guys.
> 
> I have Tomcat 3.1 and Apache 1.3.12 deployed on
> a RH6.2 machine. I also have
> perl_mod and php3 installed on Apache. Both
> webservers work fine on their
> own. I want Apache to redirect jsp files and
> servlets to Tomcat. My
> automatically-generated tomcat-apache.conf file
> is included in the Apache
> conf and as far as I can tell from examples in
> the readme and faq's
> everything is configured correctly. I am trying
> to get the examples that
> come with tomcat to work through apache.
> 
> My problem is that although apache passes .jsp
> files to jakarta and they
> work fine, it does not pass along requests for
> servlets. Instead it gives
> the apache 404 error page. I have been able to
> get apache to pass on these
> requests to Tomcat by removing the aliases from
> the tomcat-apache.conf file.
> When I do this the servlets work fine, but
> apache cannot find the static
> content or the jsp's (because without the alias
> it doesn't know where in the
> filesystem they are).
> 
> Has anyone else had this problem? Do you know
> why it is happening and what
> workarounds I could use to resolve it? Anyone
> know a good resource for info
> on apache aliases and such?
> 
> Any help or suggestions would be appreciated.
> 
> -Jeff Bischoff
> 
> Here is my tomcat-apache.conf file:
> 
> 
> #LoadModule jserv_module libexec/mod_jserv.so 
> #(Commented out because mod_jserv.so is loaded
> in httpd.conf)
> ApJServManual on
> ApJServDefaultProtocol ajpv12
> ApJServSecretKey DISABLED
> ApJServMountCopy on
> ApJServLogLevel notice
> 
> ApJServDefaultPort 8007
> 
> AddType test/jsp .jsp
> AddHandler jserv-servlet .jsp
> Alias /examples
> /home/jakarta-tomcat/webapps/examples
> <Directory
> "/home/jakarta-tomcat/webapps/examples">
>     Options Indexes FollowSymLinks
> </Directory>
> ApJServMount /examples/servlet /examples
> <Location /examples/WEB-INF/ >
>     AllowOverride None
>     deny from all
> </Location>
> 
> Alias /test /home/jakarta-tomcat/webapps/test
> <Directory "/home/jakarta-tomcat/webapps/test">
>     Options Indexes FollowSymLinks
> </Directory>
> ApJServMount /test/servlet /test
> <Location /test/WEB-INF/ >
>     AllowOverride None
>     deny from all
> </Location>
> 
> ApJServMount /servlet /ROOT
> 
> 

> ATTACHMENT part 2 application/octet-stream
name=httpd.conf



__________________________________________________
Do You Yahoo!?
Get Yahoo! Mail – Free email you can access from anywhere!
http://mail.yahoo.com/

Mime
View raw message