1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29
| #- We added the Rewrite directives so vhosts will work with the
# PERLPROXIED configuration
#This is needed for Frontpage support
Port 80
ServerRoot /etc/httpd
ResourceConfig /dev/null
AccessConfig /dev/null
################# IP-based Virtual Hosts
#<VirtualHost www.toto2.org>
#User jmdault
#Group jmdault
#DocumentRoot /var/www/html/SPIP-v1-8-2-e/
#ServerName www.toto2.org
#Setenv VLOG /home/jmdault/logs
#ErrorLogs /home/jmdault/test2-error_log
#RewriteEngine On
#RewriteOptions inherit
#</VirtualHost>
################# Named VirtualHosts
NameVirtualHost www.toto2.org
<VirtualHost www.toto2.org>
ServerAdmin toto2@wanadoo.fr
DocumentRoot /var/www/html/SPIP-v1-8-2-e/
ServerName www.toto2.org
#ServerPath /domain
</VirtualHost> |