Hassan,

All the static content is served by Tomcat anyway...i.e - there is no
content on the Apache web server.

How is the mod_proxy_ajp used?  The doco on Apache org refers to it in a
developer sense, rather than as a web server directive.

-----Original Message-----
From: Hassan Schroeder [mailto:[EMAIL PROTECTED] 
Sent: 06 March 2007 15:27
To: Tomcat Users List
Subject: Re: Named based virtual host redirection

On 3/6/07, Darren Kukulka <[EMAIL PROTECTED]> wrote:

> This worked but I want to hide the redirect URL,

and eliminate the doubled network traffic, I hope? :-)

Anyway,

> <VirtualHost *:80>
>     DocumentRoot d:/apache2/htdocs
>     ServerName test.abc.co.uk
>     ProxyPass / http://fred.abc.co.uk/app1/
>     ProxyPassReverse / http://fred.abc.co.uk/app1/
> </VirtualHost>
>
> This almost works, but it only appears to show the html content, not
the
> JSP.  Does anybody have any suggestions how to make this work?

1. move your static content to Tomcat,
2. use mod_proxy_ajp instead of mod_jk

FWIW!
-- 
Hassan Schroeder ------------------------ [EMAIL PROTECTED]

---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




Connaught honoured AIM 'Decade of Excellence' Award 

Connaught awarded Partnering Contractor of the Year 2005 

Connaught wins AIM 'Company of the Year' award 2004 

West of England Business of the Year Award Winner 2003 

Why not visit our website http://www.connaught.plc.uk 
Disclaimer: 

The information transmitted is intended only for the person or entity to which 
it is addressed and may contain confidential and/or privileged material. Any 
review, retransmission, dissemination or other use of, or taking of any action 
in reliance upon, this information by persons or entities other than the 
intended recipient is prohibited. If you received this in error, please contact 
the sender and delete this message. 



Connaught plc, Head Office 01392 444546 

---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to