阅读背景:

Apache里的httpd-vhosts.conf详解

来源:互联网 

首先看下面的配置:

<VirtualHost *:80>
	ServerAdmin [email protected]
    DocumentRoot "D:/xampp/htdocs/wherein"
    ServerName www.shop_dev.com
    ErrorLog "logs/wherein.com-error.log"
    CustomLog "logs/wherein.com-access.log" common
	<Directory "D:/xampp/htdocs/wherein"> 
	Options FollowSymLinks IncludesNOEXEC Indexes
	DirectoryIndex index.html index.htm index.php
	AllowOverride all 
	Order Deny,Allow 
	Allow from all 
	Require all granted
	</Directory>
</VirtualHost>
<VirtualHost *:80>
	ServerAdmin



你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: