tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Julio Serje (@canada.com)" <jse...@home.com>
Subject Re: Problem with tomcat-apache
Date Fri, 03 Nov 2000 02:16:18 GMT
I think you don't need to modify tomcat.conf to set up a new context. Modify
only server.xml as per the documentation, and it should work fine. If you
are working with servlets modify web.xml to map them to directories.

Julio Serje
Calian Tech.



----- Original Message -----
From: Abhiman Srikant <abhiman_s@EASTPOINT.COM>
To: <tomcat-user@jakarta.apache.org>
Sent: Wednesday, November 01, 2000 10:59 AM
Subject: Problem with tomcat-apache


> 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