tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dennis Dai <ddai...@ddai.net>
Subject Re: Letting apache handle 404s
Date Sun, 08 Aug 2004 19:38:51 GMT
On 8/8/2004 12:08 PM, Henrik Gammelmark wrote:

> My primary httpd is Apache2 but i connect to Tomcat5 using the mod-jk2 
> connector. The problem is, that it seems that tomcat handles too much of 
> apache's job. For instance if I enter a URL ending in .jsp I see a 
> tomcat 404 instead of an apache 404 - presumably because apache naivly 
> passes all .jsp requests on. But can I make tomcat "politely" inform 
> apache about the 404 and let apache take actions instead?

Tomcat can have customized error pages too.

> Strangly, if no "default" files, such as index.jsp og index.php is 
> present in the directory, tomcat - not apache - presents a folder listing.

This is an FAQ item:

http://jakarta.apache.org/tomcat/faq/misc.html#listing

-- 
Dennis Dai
ddai-ml@ddai.net

---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org


Mime
View raw message