tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "GOMEZ Henri" <hgo...@slib.fr>
Subject RE: I give up!! - SOMEONE PLEASE HELP!
Date Tue, 19 Feb 2002 23:40:35 GMT
>You can't configure *apache* with mod_webapp and tomcat so that it 
>serves .html and .jsp from the same directory - right... (I 
>can't that's 
>for sure)

Via mod_jk (supported by TC 4.0.2), you could have tomcat serve
jsp/servlets and apache html, gif (everything which is not jsp/servlet)

In httpd.conf for mod_jk 

Alias /examples "/var/tomcat/webapps/examples"
<Directory "/var/tomcat/webapps/examples">
    Options Indexes FollowSymLinks
</Directory>

JkMount /examples/servlet/* ajp13
JkMount /examples/*.jsp ajp13

<Location "/examples/WEB-INF/">
    AllowOverride None
    deny from all
</Location>


Hope it will help

--
To unsubscribe:   <mailto:tomcat-user-unsubscribe@jakarta.apache.org>
For additional commands: <mailto:tomcat-user-help@jakarta.apache.org>
Troubles with the list: <mailto:tomcat-user-owner@jakarta.apache.org>


Mime
View raw message