Plus I figure I can create a file myself that I can include...that would
keep things clean.

Bill



> -----Original Message-----
> From: Juan Nin [mailto:[EMAIL PROTECTED] 
> Sent: Wednesday, July 23, 2003 9:20 AM
> To: Tomcat Users List
> Subject: Re: My Tomcat + Apache + mod_jk HOWTO
> 
> 
> From: "Bill Saez" <[EMAIL PROTECTED]>
> 
> Maybe you can define this once at server (global) context 
> using "Directotry" insted of "Location":
> 
> >     <Directory "/usr/local/tomcat/webapps/examples/juan">
> >         Options Indexes FollowSymLinks
> >         DirectoryIndex index.html index.htm index.jsp
> >     </Directory>
> >
> >     <Location "/examples/WEB-INF/*">
> >         AllowOverride None
> >         deny from all
> >     </Location>
> >
> >     <Location "/examples/META-INF/*">
> >         AllowOverride None
> >         deny from all
> >     </Location>
> 
> and just define the Alias in each VirtualHost plus these lines:
> 
> >     JkMount /examples/jsp/security/protected/j_security_check  ajp13
> >     JkMount /examples/snoop  ajp13
> >     JkMount /examples/servlet/*  ajp13
> >     JkMount /examples/CompressionTest  ajp13
> >     JkMount /examples/*.jsp  ajp13
> >     JkMount /examples/servletToJsp  ajp13
> >     JkMount /examples/SendMailServlet  ajp13
> 
> I haven't tested it, but I suppose it should work.. try it if 
> you want... Maybe the JkMount can also be treated globaly, 
> not sure about that..
> 
> regards,
> 
> Juan
> 
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to