Hello.

I'm trying to set up my site with Apache 1.3.22, Tomcat 3.2.2 and
mod_jk.

What I would like is when someone accesses the URL
http://www.mysite.com/, Apache will forward that over to a servlet, and
everything else would be taken care of by Apache (say, everything under
http://www.mysite.com/images/) However, I can't seem to find the right
combination of configuration values to achieve this. Actually, even by
defining a context in Tomcat and using Tomcat standalone this presents a
problem. 

One problem is that if I specify a servlet-mapping for the "/"
url-pattern, it will always run the servlet, even if i'm requesting
something under /images.  Is there anyway to tell Tomcat or Apache that
when I request the server root, that is the only time it should run the
servlet? Right now I have something like /index.html mapping to the
servlet and that works when you specify /index.html in the URL, but when
you don't, it just gives you the directory listing.

It seems like this is a basic thing to want to do, but I've spent the
last few hours searching the web, reading the FAQs on jGuru and reading
other assorted documentation but to no avail. Has someone solved this
problem or sould someone point me in the right direction? Thanks!

Rusty

ps: please CC me in the reply as I'm not on this list.


--
To unsubscribe:   <mailto:[EMAIL PROTECTED]>
For additional commands: <mailto:[EMAIL PROTECTED]>
Troubles with the list: <mailto:[EMAIL PROTECTED]>

Reply via email to