Forum Moderators: phranque
RewriteRule ^/(.*) [ohter.server.my...] [PT]
ProxyRequests On
ProxyPass / [ohter.server.my...]
ProxyPassReverse / [ohter.server.my...]
this proxy option gives me a 500 error ¿?
if I comment ProxyPassReverse the requesta pass, but the URL change ...
many thanks to anyone that thinks about it...
regards
I hate to state the obvious, but sometimes these things are not as obvious as they seem, so i'll start at the beginning according to what we did.
Make sure that you have the proxy modules turned on:
LoadModule proxy_module modules/mod_proxy.so
LoadModule proxy_connect_module modules/mod_proxy_connect.so
LoadModule proxy_http_module modules/mod_proxy_http.so
Then we configured these proxy settings as recommended on Apache's site (http://httpd.apache.org/docs-2.0/mod/mod_proxy.html#proxyrequests)
ProxyRequests Off
<Proxy *>
Order deny,allow
Allow from all
</Proxy>
Then we put the ProxyPass lines in like you have them. It may just be that you need to turn ProxyRequests to off instead of on.
Hope this helps.