作业帮 > PHP > 教育资讯

apche多端口配置及网站指向非apche默认的网站文件夹设置代码[1]

来源:学生作业帮助网 编辑:作业帮 时间:2024/05/12 12:24:54 PHP
apche多端口配置及网站指向非apche默认的网站文件夹设置代码[1]
apche多端口配置及网站指向非apche默认的网站文件夹设置代码[1]PHP
【BK网络学院 - PHP】
#
# 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 *:81
NameVirtualHost *:82
NameVirtualHost *:83
NameVirtualHost *:84
NameVirtualHost *:85
NameVirtualHost *:86
#
# 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 jsw7001@hotmail
DocumentRoot D:/AppServ/www/www-nongye
ServerName www.dede
ErrorLog D:/AppServ/www/www-nongye/errornongye.log
CustomLog logs/dummy-host2.appservnetwork-Access_log common



Options FollowSymLinks
#Deny from all
Allow from all

ServerAdmin jsw7001@hotmail
DocumentRoot D:/AppServ/www-chinaec
ServerName www.dede
DirectoryIndex index.PHP index.HTML
ErrorLog D:/AppServ/www-chinaec/errornongjiale.log
CustomLog logs/dummy-host2.appservnetwork-access_log common


ServerAdmin jsw7001@hotmail
DocumentRoot D:/AppServ/www/www-05110
ServerName www.dede
PHP