> I don't think that's the issue.  My httpd.conf has the following, inside a
> VirtualHost tag, for the url http://virtualhost/myApp:
>
> <Directory "/usr/local/jakarta-tomcat-4.1.12/webapps/myApp">
>         Options Indexes FollowSymLinks
>         DirectoryIndex index.jsp index.html index.htm
> </Directory>
>
> JkMount /myApp/*.jsp  ajp13
> JkMount /myApp/servlet/*  ajp13
>
> There definitely is an index.jsp file in that folder, and its a folder
that
> Apache knows about, because it's in the Directory tag, and
> http://virtualhost/myApp/index.jsp is working on port 80.
>
> Apache does not serve index.jsp, nor does it direct requests to Tomcat
> unless you specifically put index.jsp on the URL.  If there's an Apache
tag
> or directive that I'm missing that would change this behavior, I'd love to
> know what it is, the salespeople here are on my back all the time about
not
> being able to specify the URL without index.jsp on the end.
>
> Perhaps putting the JkMounts before the Directory tag would change the
> behavior.

Hmmm.  I have my DirectoryIndex statement outside of the virtual host entry,
but otherwise it looks very similar to what you have and it works fine.  One
thing, though, is that my Apache directory is one level below the JSPs, so
I'd have an entry like

<Directory "/usr/local/jakarta-tomcat-4.1.1.12/webapps">

This is because the URLs will all have the myApp portion to specify the
correct webapp to use.  My Options also includes "MultiViews Includes" along
with Indexes and FollowSymLinks, but I'm not an Apache expert by any
means...

David


--
To unsubscribe, e-mail:   <mailto:tomcat-user-unsubscribe@;jakarta.apache.org>
For additional commands, e-mail: <mailto:tomcat-user-help@;jakarta.apache.org>

Reply via email to