Hi,
I am not able to setup reverse proxies using the following script in
Apache 2.0.48 because of directive problems.
I have to set up two reverse proxies for my webserver running on two
different ports. What changes do I need to make it running on Apache
2.0.48 ?
Listen myipaddress:80
NameVirtualHost myipaddress:80
<VirtualHost myipaddress::80>
ServerName
www.myserver.com
<IfModule mod_proxy.c>
Port 80
ProxyVia On
ProxyPass /
http://mylocalurl1:port1/
ProxyPassReverse /
http://mylocalurl1:port1/
</IfModule>
CustomLog c:\logs\Reverse_access.log combined
ErrorLog c:\logs\Reverse_error_log
</VirtualHost>
Listen myipaddress:81
NameVirtualHost myipaddress:81
<VirtualHost myipaddress::81>
ServerName
www.myserver.com
<IfModule mod_proxy.c>
Port 81
ProxyVia On
ProxyPass /
http://mylocalurl2:port2/
ProxyPassReverse /
http://mylocalurl2:port2/
</IfModule>
CustomLog c:\logs\Reverse_access.log combined
ErrorLog c:\logs\Reverse_error_log
</VirtualHost>
thanks in advance
monty