tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mark Kettner <ma...@fredhopper.com>
Subject Re: Running JSP's w/ Apache and Tomcat
Date Mon, 04 Dec 2000 08:28:00 GMT
Sorry I'm not Dave

Subha Gowri K V wrote:

> Hi Dave,
> 
> We saw your reply to one of the queries posted in tomcat's forum. Your reply
> was -
> ****************************************************************************
> *
> 
> " What you want to do is to override the root context.  Put this in your
> server.xml file:
> 
> <Context path=""
>          docBase="/usr/local/apache/htdocs"
>          debug="0"
>          reloadable="true">
> </Context>
> 
> Now, you'll also have to create a WEB-INF and it's corresponding
> subdirectories (lib, classes, ets) under /usr/local/apache/htdocs, as well
> as add a section to your Apache httpd.conf file to disallow access to that
> directory like this:
> 
> <Location "/WEB-INF">
> 	AllowOverride None
>       Order deny,allow
>       deny from all
> </Location>
> 
> Then you should be set to go!
> 
> Coming from JServ/GnuJSP, this took a while to figure out myself.
> 
> -Dave
> ****************************************************************************
> *
> 
> This still has not solved our problem. We want to deploy all our .jsp and
> servlet class files under htdocs. We were successful in creating a context
> for jsp files(by adding a new context in server.xml pointing to htdocs).
> However, we have not been able to fetch the servlet class files from htdocs
> too. we are not getting what you mean by <location> tag.
> 
> Please get back to us asap.
> 
> Thanks in advance.
> 
> Subha
> 
> 


Mime
View raw message