tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Daniel Barclay <Daniel.Barc...@digitalfocus.com>
Subject Re: web.xml: troubles with wildchar in <servlet-mapping> element
Date Wed, 11 Oct 2000 18:18:08 GMT
Marzio De Biasi wrote:
> 
> I installed Apache + Tomcat 3.1 on a Linux machine and wrote a simple
> servlet (hiservlet) in the context "myapp". Then I mapped zzz and *.zzz
> files to hiservlet (see web.xml below).
> 
> When using port 8080 (tomcat http) everything is ok:
> 
> http://www.xyz.it:8080/myapp/hiservlet --> OK
> http://www.xyz.it:8080/myapp/zzz       --> OK
> http://www.xyz.it:8080/myapp/dum.zzz   --> OK
> http://www.xyz.it:8080/myapp/alpha.zzz --> OK
> 
> When I access the servlet via apache the last two don't work (I get "Error:
> 404  Location: /myapp/dum.zzz"):
> 
> http://www.xyz.it/myapp/hiservlet      --> OK
> http://www.xyz.it/myapp/zzz            --> OK
> http://www.xyz.it/myapp/dum.zzz        --> KO ???
> http://www.xyz.it/myapp/alpha.zzz      --> KO ???

Are you including tomcat.conf or tomcat-apache.conf into
Apache's httpd.conf?


-- 
Daniel Barclay
Digital Focus
Daniel.Barclay@digitalfocus.com

Mime
View raw message