httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Neo Wee Teck" <ste...@gmail.com>
Subject [users@httpd] rewrite then reverse proxy
Date Sat, 22 Jul 2006 16:02:14 GMT
Wonder can this be done....

Apache does a rewrite based on a rule, then reverse proxy to the
actual destination

eg.

Rewrite
----------

Request to http://foo.com/news/3843.html

[Some rewrite rules]
Actual request  -> http://foo.com/news.php?3843

Reverse Proxy
---------------------

ProxyPass / http://backend/

Final request -> http://backend/news.php?3843

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