Hello , I have the following config in httpd.conf: my site is http://www.example.com (port 80) ================== RewriteEngine On RewriteRule ^/$ /cgi-bin/index.cgi ProxyPass /cgi-bin/ http://www.example.com:9000/cgi-bin/ ProxyPassReverse /cgi-bin/ http://www.example.com:9000/cgi-bin/ ================== If I type http://www.example.com/cgi-bin/index.cgi, it was ok. If I type http://www.example.com/, it show 404 document not found. But suppose I have rewrite "/" as /cgi-bin/, so eventually it will proxy to http://www.example.com:9000/cgi-bin/. Seems that Rewrite is done after the proxy? How to control the order then? Thanks. --------------------------------------------------------------------- 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@xxxxxxxxxxxxxxxx " from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx