码迷,mamicode.com
首页 > 其他好文 > 详细

虚拟目录的配置

时间:2015-01-09 19:11:48      阅读:123      评论:0      收藏:0      [点我收藏+]

标签:

ServerRoot "C:\Program Files\VertrigoServ\Apache"
DocumentRoot "C:\Program Files\VertrigoServ\www"
LoadModule php5_module "C:\Program Files\VertrigoServ\php\php5apache2_2.dll"
PHPIniDir "C:\Program Files\VertrigoServ\php"
Alias /icons "C:\Program Files\VertrigoServ\Apache\icons"
Alias /phpmyadmin "C:\Program Files\VertrigoServ\Phpmyadmin"
<Directory "C:\Program Files\VertrigoServ\Apache\icons">
Options Indexes MultiViews
AllowOverride None
Order allow,deny
Allow from All
</Directory>

<Directory "C:\Program Files\VertrigoServ\Phpmyadmin">
Options All
AllowOverride AuthConfig
Order allow,deny
Allow from All
</Directory>
<Directory />
Options FollowSymLinks
AllowOverride None
Order deny,allow
allow from All
</Directory>

<Directory "E:\www">
Options Indexes FollowSymLinks Includes
AllowOverride All
Order allow,deny
Allow from All
</Directory>

NameVirtualHost *:80

<VirtualHost *:80>
ServerAdmin zhao.wuz@alibaba-inc.com
DocumentRoot E:\www\hondo\shiyi\hondo
ServerName localhost
</VirtualHost>
<VirtualHost *:80>
ServerAdmin zhao.wuz@alibaba-inc.com
DocumentRoot E:\www\BM\src\admin\public
ServerName admin.bm.com
</VirtualHost>
<VirtualHost *:80>
ServerAdmin zhao.wuz@alibaba-inc.com
DocumentRoot E:\www\BM\src\interface\public
ServerName interface.bm.com
</VirtualHost>

虚拟目录的配置

标签:

原文地址:http://www.cnblogs.com/jyb2014/p/4213851.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!