httpd-vhosts.conf 配置文件备份

2011-07-11 16:19  1484人阅读  评论 (0)
Tags: apache

在这里做个备份,以后好找。呵呵。。。

# http://www.PHPnow.org
# filename: httpd-vhosts.conf

<Directory ../vhosts>
    AllowOverride All
    Order allow,deny
    Allow from all
</Directory>

NameVirtualHost *

<VirtualHost *>
    DocumentRoot ../htdocs
    ServerName default:80
    ErrorLog logs/default-error_log
</VirtualHost>

<VirtualHost *>
    <Directory "E:/www/dz.com">
        Options -Indexes FollowSymLinks
        Allow from all
        AllowOverride All
    </Directory>
    ServerAdmin admin@dz.com
    DocumentRoot "E:/www/dz.com"
    ServerName dz.com:80\
    ServerAlias *.dz.com
    ErrorLog logs/dz.com-error_log
    php_admin_value open_basedir "E:\www\dz.com;C:\WINDOWS\Temp;"
</VirtualHost>