You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by "Yu, Ming" <Mi...@jhuapl.edu> on 2005/11/01 15:51:17 UTC

[users@httpd] Reverse Proxy Troubleshoot

I am using apache as reverse proxy server.  The configuration file was
working fine until the recent Solaris 9 patch installation.  My
configuration file is as following:

<VirtualHost 12.12.12.12>
ServerName test1
RewriteEngine on
....

ProxyPass /lab1/	http://server1/lab1/
ProxyPassReverse /lab1/ http://server1/lab1/

ProxyPass /lab2/  http://server2/lab2/
ProxyPassReverse /lab2/ http://server2/lab2/

RewriteRule ^/(.*)$  http://mainsite/main/$1 [P]
ProxyPassReverse / 	http://mainsite/main/

</VirtualHost>

All the proxy pass were broken.  It seems if I remove the RewriteRule,
then it works.  But the configuration was working.  

Thanks in advance.

- Ming Yu
- Johns Hopkins University Applied Physics Lab.

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