Hi,Is it possible to enable ProxyPreserveHost for part of a VirtualHost and then disable it after it is needed? I need to enable it for on set of rewrites and then turn it off so some proxying will work. The set up looks like:
# Turn on ProxyPreserveHost so receiving server can locate proper virtualhost entry in its config file.
ProxyPreserveHost On RewriteEngine on RewriteLog /var/log/apache2/rewrite.log RewriteLogLevel 3 RewriteCond %{LA-U:SCRIPT_FILENAME} \.cgi$ [NC] RewriteRule .* http://192.168.107.37:8080%{REQUEST_URI} [P,L] ProxyPassReverse / http://192.168.107.37:8080/ # I would like to turn off ProxyPreserveHost so the following will work ProxyPass /fr/forum/ http://forums.fr.domain.com/ ProxyPassReverse /fr/forum/ http://forums.fr.domain.com/ ProxyPass /en/forum/ http://forums.en.domain.com/ ProxyPassReverse /en/forum/ http://forums.en.domain.com/The local host is running Apache 2.2.2. 192.168.107.37 is running Apache 1.3.34. The two forum servers are running Apache 1.3.32 and are not publicly accessible (thus the reason for the proxying).
Thank you, David f. --------------------------------------------------------------------- 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