apache 下vhost.conf文件
#
# Virtual Hosts
#
# If you want to maintain multiple domains/hostnames on your
# machine you can setup VirtualHost containers for them. Most configurations
# use only name-based virtual hosts so the server doesn't need to worry about
# IP addresses. This is indicated by the asterisks in the directives below.
#
# Please see the documentation at
#
# for further details before you try to setup virtual hosts.
#
# You may use the command line option '-S' to verify your virtual host
# configuration.
#
# Use name-based virtual hosting.
#
NameVirtualHost *:80
#
# VirtualHost example:
# Almost any Apache directive may go into a VirtualHost container.
# The first VirtualHost section is used for all requests that do not
# match a ServerName or ServerAlias in any block.
#
ServerAdmin
webmaster@dummy-host.localhsot
DocumentRoot
"D:/server/apeche/docs/dummy-host.localhsot"
ServerName
dummy-host.localhsot
ServerAlias
www.dummy-host.localhsot
ErrorLog
"logs/dummy-host.localhsot-error.log"
CustomLog
"logs/dummy-host.localhsot-access.log" common
# Options None
ServerAdmin
462166282@qq.com
DocumentRoot
d:\server\web\phpmyadmin
ServerName
phpmyadmin.com
ErrorLog
logs/phpmyadmin.com-error_log
CustomLog
logs/phpmyadmin.com-access_log common
php_admin_value open_basedir "d:\server\web;c:\windows\temp"
# Options None
ServerAdmin
462166282@qq.com
DocumentRoot
d:\server\web\zhang
ServerName
zhang.com
ErrorLog
logs/zhang.com-error_log
CustomLog
logs/zhang.com-access_log common
php_admin_value open_basedir "d:\server\web;c:\windows\temp"
AddType application/x-httpd-php .htm .html
ServerAdmin
462166282@qq.com
DocumentRoot
d:\server\web\yan
ServerName
yan.com
ErrorLog
logs/yan.com-error_log
CustomLog
logs/yan.com-access_log common
php_admin_value open_basedir "d:\server\web;c:\windows\temp"
# Options None
ServerAdmin
462166282@qq.com
DocumentRoot
d:\server\web\chong
Options
Indexes FollowSymLinks Includes
ServerName
chong.com
ErrorLog
logs/chong.com-error_log
CustomLog
logs/chong.com-access_log common
php_admin_value open_basedir "d:\server\web;c:\windows\temp"
# Options None
ServerAdmin
462166282@qq.com
DocumentRoot
d:\server\web\gongsi
ServerName
gongsi.com
ErrorLog
logs/gongsi.com-error_log
CustomLog
logs/gongsi.com-access_log common
php_admin_value open_basedir "d:\server\web;c:\windows\temp"
# Options None
ServerAdmin
462166282@qq.com
DocumentRoot
d:\server\web\feelphp
ServerName
feelphp.com
ErrorLog
logs/feelphp.com-error_log
CustomLog
logs/feelphp.com-access_log common
php_admin_value open_basedir "d:\server\web;c:\windows\temp"
# Options None
ServerAdmin
462166282@qq.com
DocumentRoot
d:\server\web\shangchuan
ServerName
shangchuan.com
ErrorLog
logs/shangchuan.com-error_log
CustomLog
logs/shangchuan.com-access_log common
php_admin_value open_basedir "d:\server\web;c:\windows\temp"
# Options None
ServerAdmin
462166282@qq.com
DocumentRoot
d:\server\web\db
ServerName
db.com
ErrorLog
logs/db.com-error_log
CustomLog
logs/db.com-access_log common
php_admin_value open_basedir "d:\server\web;c:\windows\temp"
# Options None
ServerAdmin
462166282@qq.com
DocumentRoot
d:\server\web\daliandb
ServerName
daliandb.com
ErrorLog
logs/daliandb.com-error_log
CustomLog
logs/daliandb.com-access_log common
php_admin_value open_basedir "d:\server\web;c:\windows\temp"
# Options None
ServerAdmin
462166282@qq.com
DocumentRoot
d:\server\web\renhe
ServerName
renhe.com
ErrorLog
logs/renhe.com-error_log
# Virtual Hosts
#
# If you want to maintain multiple domains/hostnames on your
# machine you can setup VirtualHost containers for them. Most configurations
# use only name-based virtual hosts so the server doesn't need to worry about
# IP addresses. This is indicated by the asterisks in the directives below.
#
# Please see the documentation at
#
# for further details before you try to setup virtual hosts.
#
# You may use the command line option '-S' to verify your virtual host
# configuration.
#
# Use name-based virtual hosting.
#
NameVirtualHost *:80
#
# VirtualHost example:
# Almost any Apache directive may go into a VirtualHost container.
# The first VirtualHost section is used for all requests that do not
# match a ServerName or ServerAlias in any block.
#
#
#
#
#
#
#
#
#
#