On Mon, June 18, 2007 3:47 pm, [EMAIL PROTECTED] wrote:
> Hello,
>
>
> I'm trying to route requests to the application servers based on the URL,
>  using the configuration below. The direct request reaches the app servers
> but the ProxyPassReverse doesn't work, instead of getting:
>
> http://myhost.com/prod/ on the client I get http://myhost.com/.....
>

This is because your directives below are incorrect...

They should read :

ProxyPass / ajp://tomcat_prod:8009/
ProxyPassReverse / http://myhost.com/


You basically missed out the two /'s that were required in all your
examples.  You need to add them too all of them.



>
> ======================================================
>
>
> ProxyPreserveHost On
> RewriteEngine On
>
>
> <Location /prod>
> ProxyPass ajp://tomcat_prod:8009/
> ProxyPassReverse http://myhost.com/
>
>
> </Location>
>

...


--
Tony



---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: [EMAIL PROTECTED]
   "   from the digest: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to