Is there an index.jsp in your context?

-----Original Message-----
From: Geoff Wiggs [mailto:[EMAIL PROTECTED] 
Sent: April 14, 2005 10:37 AM
To: 'Mladen Turk'
Cc: tomcat-user@jakarta.apache.org
Subject: RE: Apache Tomcat & JK Mod



I tried this, but I still get sent to the Tomcat splash page.  The url I am
trying to translate to is www.orcastech.com/home/ .  Any more clues?

<VirtualHost *>
        ServerName www.servername.com
        RewriteEngine On
        RewriteRule (.*) /home$1
        JkMount /home/*                 worker1
        JkMount /emba48wiki*    worker1
        JkMount /admin          worker1
        JkMount /manager                worker1
        JkMount /*              worker1
</VirtualHost>

Geoff Wiggs
Orcas Technologies, Inc
[EMAIL PROTECTED]
650-520-1121
 
-----Original Message-----
From: Mladen Turk [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, April 13, 2005 10:11 PM
To: Tomcat Users List
Subject: Re: Apache Tomcat & JK Mod

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]


!DSPAM:425e801d311201629985329!

Reply via email to