Im trying to redirect http://domain.com/fw to my firewall, which is 192.168.x.x.
When using proxypass, i get this errors in my log, and a 404 in my client:
[error] [client x.x.x.x] File does not exist: /var/www/fw
This is my vhost file:
<VirtualHost *:80>
Servername domain.com
ProxyPreserveHost On
ProxyPass /fw http://192.168.x.x
ProxyPassReverse /fw http://192.168.x.x
</VirtualHost>
Any ideas?
(Apache/2.2.22 (Debian))
apachectl -S
wildcard NameVirtualHosts and _default_ servers:
*:80 is a NameVirtualHost
default server www.domain.com (/etc/apache2/sites-enabled/www:4)
port 80 namevhost www.domain.com (/etc/apache2/sites-enabled/www:4)
port 80 namevhost domain.com (/etc/apache2/sites-enabled/www:10)
port 80 namevhost domain.com (/etc/apache2/sites-enabled/www:16)
port 80 namevhost domain.com (/etc/apache2/sites-enabled/www:24)
port 80 namevhost domain.com (/etc/apache2/sites-enabled/www:30)
Syntax OK