apache 虚拟主机配置

2018-06-10  本文已影响0人  云蛋风卿

<VirtualHost default:80>
DocumentRoot "D:\phpStudy\WWW\demo"
ServerName www.sphinx.com
<Directory "D:\phpStudy\WWW\demo">

用户默认请求

DirectoryIndex index.html index.php
Options +Indexes
AllowOverride All
Order allow,deny
Allow from all
Require all granted
</Directory>
</VirtualHost>

上一篇 下一篇

猜你喜欢

热点阅读