All pastes #385848 Raw Edit

Unnamed

public text v1 · immutable
·published 2007-03-08 03:30 UTC
rendered paste body
<VirtualHost *:80>
ServerAlias *

# get the server name from the Host: header
UseCanonicalName Off

# this log format can be split per-virtual-host based on the first field
LogFormat "%V %h %l %u %t \"%r\" %s %b" vcommon
CustomLog /home/paul/www/logs/access_log vcommon
ErrorLog /home/paul/wwwlogs/error_log

# include the server name in the filenames used to satisfy requests
VirtualDocumentRoot /home/paul/www/hosts/%0/
VirtualScriptAlias /home/paul/www/hosts/%0/cgi-bin

DirectoryIndex index.html index.php

#<Directory "/home/paul/www/hosts/%0/cgi-bin">
#       AllowOverride None
#       Options +ExecCGI -Includes
#       Order allow,deny
#       Allow from all
#</Directory>
#<Directory "/home/paul/www/hosts/%0">
#       Options Indexes FollowSymLinks
#       AllowOverride None
#       Order allow,deny
#       Allow from all
#</Directory>
</VirtualHost>