`

设置apache网站的虚拟目录

    博客分类:
  • PHP
 
阅读更多

 

NameVirtualHost  *:80

 

<VirtualHost *:80>

    ServerAdmin localhost@admin.com

    DocumentRoot "E:/wwwroot/localhost/"

    DirectoryIndex index.php

    ServerName local

    <Directory "E:/wwwroot/localhost">

        Options -Indexes +FollowSymLinks

        AllowOverride all

        Order allow,deny

        Allow from all

   </Directory>

</VirtualHost>

 

分享到:
评论

相关推荐

Global site tag (gtag.js) - Google Analytics