httpd-users mailing list archives

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

How can I (if it is possible at all) specify that all requests to:

/SomeUrl
/SomeUrl/
/SomeUrl/index.html

go to one location and all other requests like

/SomeUrl/somePage.html

go to the other location? I have started editing httpd.conf like this:

<VirtualHost *:8080>
<Location /SomeUrl>
ProxyPass  http://www.google.com
</Location>
<Location /SomeUrl/>
ProxyPass  http://www.google.com
</Location>
<Location /SomeUrl/index.html>
ProxyPass  http://www.google.com
</Location>
# for other requests...?
</VirtualHost>

Do I have to use rewrite rules?

Thank you in advance,
Milan



      

---------------------------------------------------------------------
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