That's a known problem with the Apache connectors. "DirectoryIndex index.jsp" has no effect. I think some people have had success mucking around with mod_rewrite and/or the module load order, but I don't recall anyone ever posting a definitive solution to the list.


The most basic workaround is to use a META refresh in index.html to redirect to index.jsp. If anyone has a more elegant solution, I'd love to see it.

John

Andrew Geery wrote:

Why do you need to forward the request from index.html to index.jsp? Can't you simply set index.jsp to be a directory index page (e.g., DirectoryIndex index.html index.jsp)?

Abhinav Gautam wrote:

Hi,

I am having serious problems with Tomcat. It just happened that without
any reason the web server stopped responding to JSP requests. I have
restarted Tomcat and Apache several times, but when the index.html
forwards the request to index.jsp, I get an error saying "page not found."
I have checked the server.xml and the httpd.conf files and everything
seems to be fine. Also when I do "netstat -ta" the server seems to be
listening on port 8007.


I have virtual hosting set up in tomcat. There's one primary domain with
an IP address and there are 2 other domains with a different IP (different
from primary, but one IP for both of the other domains) set up on the same
web server.


Any help will be greatly appreciated.

Thanks.
Abhinav





---------------------------------------------------------------------
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]




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



Reply via email to