httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Milan Tomic <tomicmi...@yahoo.com>
Subject Re: [users@httpd] VirtualHost & Location
Date Tue, 16 Mar 2010 23:13:52 GMT



> Why are you using ProxyPass ? You can use Redirect if don't want to mask 
> that content is coming from your server (and of course save your bandwidth).

I have tried this:

<VirtualHost *:8080>
<Location /SomeUrl/>
ProxyPass  http://localhost:8082/SomeUrl/
</Location>

Redirect /SomeUrl/index.html http://www.google.com
Redirect /SomeUrl http://www.google.com
Redirect /SomeUrl/ http://www.google.com

</VirtualHost>

but only second Redirect directive works fine. It seems that others are overriden by ProxyPass?
What should I do now? :(

TIA



      

---------------------------------------------------------------------
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: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message