Forum Moderators: phranque
Got this small problem with a mod_proxy directive on one of my webserver.. (I whant my server that catches the subdomain.mydomain.com to proxy it to another computer (192.168.1.40 lying inside my NAT)...
Im running debian with apache2 ...
here is my /etc/apache2/mods-enabled/proxy.conf:
<IfModule mod_proxy.c>
ProxyRequests off
ProxyPass /app1/ [192.168.1.40...]
ProxyPass subdomain.mydomain.com [192.168.1.40...]
<Location /app1/>
ProxyPassReverse /
SetOutputFilter proxy-html
</Location>
<Location subdomain.mydomain.com >
ProxyPassReverse /
SetOutputFilter proxy-html
</Location>
</IfModule>
When this is done i can browse to my public ip and with the /app1/ and i come to that server..
but not to my subdomain.mydomain.com
Does anyone know what I have done wrong..?
Thankful for help,
-- Jon