Java Mailing List Archive

http://www.junlu.com/

Home » Home (12/2007) » Tomcat Users »

mod_jk2 [uri:host_alias/*.jsp]

Ivan Montoro

2003-09-17


Hi everybody,

I'm creating a website based on Apache 2.0, Tomcat 4.1
and mod_jk2. My workers2.properties says:

[uri:mysite.org/*.jsp]
worker=ajp13:localhost:8009

So I guess only url's ending in jsp shall be passed to
Tomcat. I've disabled directory listings in Tomcat but
enabled them on Apache (Options Indexes in a
subdirectory of my wwwroot). When requesting an empty
directory (/dist/), Apache passes the request to
tomcat and the light cyan 404 not found page appears.

* How do I tell Apache not to pass request to /dist/
to Tomcat and serve them directly? How can be combined
with workers2.propierties?
* Is Apache serving everything but JSP pages? I've
disabled logging in my webapp and cannot re-enable it
for the moment (developers... :)

Thanks everyone,

Ivan

________________________________________________________________________
Want to chat instantly with your online friends? Get the FREE Yahoo!
Messenger http://mail.messenger.yahoo.co.uk

---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@(protected)
For additional commands, e-mail: tomcat-user-help@(protected)


©2008 junlu.com - Jax Systems, LLC, U.S.A.