httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "howard chen" <>
Subject [users@httpd] mod_rewrite, mod_proxy, order of execution?
Date Wed, 15 Oct 2008 08:47:18 GMT
Hello ,

I have the following config in httpd.conf:

my site is (port 80)


RewriteEngine On
RewriteRule   ^/$            /cgi-bin/index.cgi

ProxyPass          /cgi-bin/
ProxyPassReverse   /cgi-bin/


If I type, it was ok.
If I type, it show 404 document not found.

But suppose I have rewrite "/" as  /cgi-bin/, so eventually it will proxy to

Seems that Rewrite is done after the proxy? How to control the order then?


The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:> for more info.
To unsubscribe, e-mail:
   "   from the digest:
For additional commands, e-mail:

View raw message