Apache 虚拟主机配置案例
NameVirtualHost *:80 <VirtualHost *:80> ServerAdmin admin@ free .com DocumentRoot "/usr/local/apache/htdocs" ServerName www. free .com ErrorLog "logs/www.free.com.error.log" CustomLog "logs/www.free.com.access.log" combined <Directory "/usr/local/apache/docs" > Options Indexes FollowSymLinks DirectoryIndex index.html index.php index.htm AllowOverride None Order allow,deny Allow from all < /Directory > < /VirtualHost > <VirtualHost *:80> ServerAdmin admi...