慕用6566211
2017-06-02 22:00
# symbolic links and aliases may be used to point to other locations.
#
DocumentRoot "g:/Demo"
<Directory "g:/Demo">
#
<VirtualHost *:80>
DocumentRoot "E:/test"
ServerName x.com
<Directory "E:/test">
Options +Indexes +FollowSymLinks +ExecCGI
AllowOverride All
Order allow,deny
Allow from all
Require all granted
RewriteEngine on
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . index.php
</Directory>
</VirtualHost>
PHP入门篇
455957 学习 · 6306 问题
相似问题