apache

<VirtualHost *:80>
ServerName www.myblog.com
DocumentRoot “F:/Code/myblog”
<Directory “F:/Code/myblog”>
Options Indexes FollowSymLinks Includes ExecCGI
Allow from all
AllowOverride all
Require all granted
</Directory>
</VirtualHost>

或者

<VirtualHost *:80>
ServerName www.myblog.com
DocumentRoot “F:/Code/myblog”
</VirtualHost>
<Directory “F:/Code/myblog”> 
Options Indexes FollowSymLinks Includes ExecCGI
Allow from all
AllowOverride all
Require all granted
</Directory>

Related Posts

发表回复

您的邮箱地址不会被公开。 必填项已用 * 标注