LAMP配置虚拟目录

1.  httpd.conf中添加 Listen 81

2.

LAMP配置虚拟目录
 1  <VirtualHost 127.0.0.2:81>
2 DocumentRoot E:\ws\2011\DiscuzSpace\upload
3 ServerName 127.0.0.2:81
4 </VirtualHost>
5 <Directory "E:\ws\2011\DiscuzSpace\upload">
6 Options Indexes FollowSymLinks Multiviews
7 AllowOverride All
8 Order Allow,Deny
9 Allow from all
10 </Directory>
LAMP配置虚拟目录
LAMP配置虚拟目录
 1 <VirtualHost 127.0.0.5:81>
2 DocumentRoot E:\php-ws-source\myphp
3 ServerName 127.0.0.5:81
4 </VirtualHost>
5 <Directory "E:\php-ws-source\myphp">
6 Options Indexes FollowSymLinks Multiviews
7 AllowOverride All
8 Order Allow,Deny
9 Allow from all
10 DirectoryIndex index.html
11 </Directory>
LAMP配置虚拟目录
上一篇:Spring boot 的自动配置


下一篇:FastReport的WCF托管到Windows服务的配置文件