Geoff Wiggs wrote:
I know this question has probably been asked 1000 times, but here I go
again.
OK. Once for all :)
RewriteEngine On
RewriteRule (.*) /servlets-examples$1 [PT]
I have Apache / Tomcat and jk_mod all running correctly. If I hit the URL
correctly (i.e. "www.server.com/context/") my jsp's and servlets come up
just fine. Now I want to serve my home page (www.server.com
<http://www.server.com/> ) as a JSP. My context is /home. If I hit
www.server.com/home the JSP comes up just the way I want it.
How can I make the connection between the request for www.servername.com
<http://www.servername.com/> and the correct context
www.servername.com/home? Apache, jk_mod or Tomcat options would be fine, I
am just having a problem making the connection between the three work the
way I need.
I still do not understand why would yo wish to do something like that.
You can easily make Tomcat working on port 80, and move your /home to
the ROOT.
Regards,
Mladen.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]