tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Arion" <ar...@talentinfo.com.hk>
Subject CONTEXT Path problem, please help
Date Thu, 20 Apr 2000 03:12:18 GMT
Hi!

I have installed Apache and Tomcat on Linux. I have a site with
struture:

http://localhost/myapp/images/

for storing image, and

http://localhost/myapp/servlet/

to access servlets in WEB-INF.

I found that all the request to images are handled by Tomcat which I
have thought Apache herself should able to handle it properly. How can I
not letting Apache not to pass the request for the images directory to
tomcat? Or I must redefine the structure, like changing myapp for
servlet to myapps, in order to do this?

# apache/conf/httpd.conf #
Alias /myapp/ "/myapp/"
ApJServMount /myapp /myapp

# tomcat/conf/servet.xml #
<Context path="/myapp" docBase"/myapp" debug=0 reloadable="true">
</Context>

Thanks

Arion.


Mime
View raw message