All pastes #210436 Raw Edit

Miscellany

public text v1 · immutable
#210436 ·published 2006-10-19 19:06 UTC
rendered paste body
root@sd-881:/etc/apache2# vi httpd.conf


ProxyRequests Off
#
# Premier vhost (site d.origine)
#
<VirtualHost *>
  ServerName www.darkmaster.fr
  DocumentRoot /var/www/
</VirtualHost>
#
# Second vhost utiliseant le reverse proxy
# 192.168.0.1 est l.exemple d.IP du second serveur http
#
<VirtualHost *>
  ServerName ts.darkmaster.fr
  ProxyRequests Off
  ProxyPreserveHost On
  <Proxy *>
    Order deny,allow
    Allow from all
  </Proxy>
  ProxyPass  / http://www.free.fr/
  ProxyPassReverse / http://www.free.fr/
</VirtualHost>