当前位置首页 > Apache知识

Apache的httpd-vhosts.conf配置虚拟路径

阅读次数:63 次  来源:admin  发布时间:
<VirtualHost *:10000>
  ServerName localhost
  ServerAlias localhost
  DocumentRoot "F:/program/wamp/www/"
  <Directory "F:/program/wamp/www/">
    Options +Indexes +Includes +FollowSymLinks +MultiViews
    AllowOverride ALL
    Order allow,deny
    Allow from all
  </Directory>
</VirtualHost>
<VirtualHost *:20000>
  ServerName localhost
  ServerAlias localhost
  DocumentRoot "F:/program/wamp/www2/"
  <Directory "F:/program/wamp/www2/">
    Options +Indexes +Includes +FollowSymLinks +MultiViews
    AllowOverride ALL
    Order allow,deny
    Allow from all
  </Directory>
</VirtualHost>
上一篇:关于2021/04/15实施3.0版本到中间层服务器发现IIS管理器的SVC无法浏览另类问题分析
下一篇:Centos6.8忘记MySQL数据库root密码解决方法