ini 阿帕奇的httpd-vhosts.conf

Posted

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了ini 阿帕奇的httpd-vhosts.conf相关的知识,希望对你有一定的参考价值。

NameVirtualHost *:80

<VirtualHost *:80>
    ServerName localhost
    ServerAdmin localhost@localhost
    DocumentRoot "/Users/oreym/domain/localhost"  
    ErrorLog "/Users/oreym/domain/localhost/error.log"
    <Directory "/Users/oreym/domain/localhost">
          Options Indexes FollowSymLinks
          AllowOverride All
          Order allow,deny
          Allow from all
    </Directory>
</VirtualHost>

<VirtualHost *:80>
    ServerName phpmyadmin
    ServerAdmin phpmyadmin@phpmyadmin
    DocumentRoot "/Users/oreym/domain/phpmyadmin"  
    ErrorLog "/Users/oreym/domain/phpmyadmin/phpmyadmin-error.log"
    <Directory "/Users/oreym/domain/phpmyadmin">
        Options Indexes FollowSymLinks
        AllowOverride All
        Require all granted
        Order allow,deny
        Allow from all
    </Directory>  
</VirtualHost>

<VirtualHost *:80>
    ServerName xparser.local
    ServerAdmin xparser@xparser.local
    DocumentRoot "/Users/oreym/domain/xparser.local"  
    ErrorLog "/Users/oreym/domain/xparser.local/xparser-error.log"
    <Directory "/Users/oreym/domain/xparser.local">
        Options Indexes FollowSymLinks
        AllowOverride All
        Require all granted
        Order allow,deny
        Allow from all
    </Directory>  
</VirtualHost>

<VirtualHost *:80>
    ServerName oreyshop.local
    ServerAdmin oreyshop@oreyshop.local
    DocumentRoot "/Users/oreym/domain/oreyshop.local"  
    ErrorLog "/Users/oreym/domain/oreyshop.local/oreyshop-error.log"
    <Directory "/Users/oreym/domain/oreyshop.local">
        Options Indexes FollowSymLinks
        AllowOverride All
        Require all granted
        Order allow,deny
        Allow from all
    </Directory>  
</VirtualHost>

以上是关于ini 阿帕奇的httpd-vhosts.conf的主要内容,如果未能解决你的问题,请参考以下文章

ini 的httpd-vhosts.conf

ini 的httpd-vhosts.conf

ini httpd-vhosts.conf用于可重用的Wordpress安装

阿帕奇配置本地虚拟站点,XAMPP环境下

XAMPP 中的 httpd-vhosts.conf 在哪里?

apache里面的httpd-vhosts.conf文件怎么恢复