apache 虚拟主机配置

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

用户默认请求

DirectoryIndex index.html index.php
Options +Indexes
AllowOverride All
Order allow,deny
Allow from all
Require all granted

你可能感兴趣的:(apache 虚拟主机配置)