You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by Roman Slezak <sk...@hysteria.sk> on 2005/01/25 21:12:55 UTC
[users@httpd] proxy module
Hi again :))
internet ---> BOX1 (apache 2, mod_proxy) ----> BOX 2 (intranet)
on BOX1:
ProxyPass / http://192.168.1.5/
ProxyPassReverse / http://192.168.1.5/
ProxyRequests On
ProxyVia Off
(is it right syntax for what I need?)
i have problem & google & rtf apache manual dont help :D
i need to serve few domains, but when I set on BOX2:
NameVirtualHost *:80
<VirtualHost *>
ServerAdmin some@mail.com
ServerName www.domain1.com
DocumentRoot /www/80/htdocs/
ErrorLog /var/log/httpd-error_log
CustomLog /var/log/httpd-access_log my_own
</VirtualHost>
<VirtualHost *>
else domain2.com
DocumentRoot /www/80/htdocs2/
</VirtualHost>
it always put www.domain1.com to client, question is: it all depend on ProxyPass / http://192.168.1.5/ ?
or virtual host on BOX2?
Roman
Re: [users@httpd] proxy module
Posted by Roman Slezak <sk...@hysteria.sk>.
problem was <Directory> on BOX2 :))
Roman