美文网首页
windows 虚拟主机配置

windows 虚拟主机配置

作者: sinalma | 来源:发表于2018-07-17 23:50 被阅读0次
    #configure virtual  @sinalma 2018.01.19
    NameVirtualHost *:80
    Include conf/vhosts.conf
    
    <VirtualHost *:80>
    ServerName sinalma.cn
    DocumentRoot "J:/sinblog"
    <Directory J:/sinalma.cn>
    Options Indexes
    Order deny,allow
    Deny from all
    Allow from all
    AllowOverride All
    </Directory>
    </VirtualHost>
    
    <VirtualHost *:80>
    ServerName www.sinalma.cn
    DocumentRoot "J:/sinblog"
    <Directory J:/sinalma.cn>
    Options Indexes
    Order deny,allow
    Deny from all
    Allow from all
    AllowOverride All
    </Directory>
    </VirtualHost>
    

    相关文章

      网友评论

          本文标题:windows 虚拟主机配置

          本文链接:https://www.haomeiwen.com/subject/tojnpftx.html