tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Abhiman Srikant <abhima...@EASTPOINT.COM>
Subject Problem with tomcat-apache
Date Wed, 01 Nov 2000 15:59:27 GMT
Hi,

I am trying to set up a context on tomcat by name "ept"
Here are my entries in tomcat.conf
-------------------------------------------------------

#################### All jsp files will go to tomcat ####################
ApJServMount default /root

AddType text/jsp .jsp
AddHandler jserv-servlet .jsp

############################## Context mapping - all requests go to tomcat

ApJServMount /examples /root
ApJServMount /ept /usr/home/httpd/html/epttest/test

############################## Context mapping - you need to "deploy"
# ( copy or ln -s ) the context into htdocs
##

# ApJservMount /CONTEXT/servlet  /root
# <Location /CONTEXT/WEB-INF/ >
#      AllowOverride None
#      deny from all
# </Location>


ApJservMount /ept/servlet  /ept
<Location /ept/WEB-INF/ >
     jserv-servlet *.jsp
     AllowOverride None
     deny from all
</Location>
</IfModule>

-----------------------------------------------------------------------

Here are my entries for server .xml
-------------------------------------------------------------------------

<Context path="/ept" docBase="/usr/home/httpd/html/epttest/test" debug="9"
reloadable="true" >
        </Context>
---------------------------------------------------------------------------

Surprisingly here is the entry that comes into tomcat-apache.conf

---------------------------------------------------------------------------

AddType test/jsp .jsp
AddHandler jserv-servlet .jsp
Alias /ept /usr/local/tomcat/webapps/ept
<Directory "/usr/local/tomcat/webapps/ept">
    Options Indexes FollowSymLinks
</Directory>
ApJServMount /ept/servlet /ept
<Location /ept/WEB-INF/ >
    AllowOverride None
    deny from all
</Location>

----------------------------------------------------------------------------
----

Is there a reason for this?? Am I missing something??

Any help would be appreciated.

Thanks
Abhi


Mime
View raw message