Apche multiport Configuration and Web site point to apche Default site folder settings method _linux
Source: Internet
Author: User
#
# Virtual Hosts
#
# If you are want to maintain multiple domains/hostnames on your
# machine 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, the documentation at
# <URL:http://httpd.apache.org/docs/2.2/vhosts/>
# for further details before your try to setup virtual hosts.
#
# with 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 could into a virtualhost container.
# the ' The ' the ' the ' the ' the ' virtualhost ' is used ' for all requests
# match a ServerName or serveralias in any <VirtualHost> blocks.
#
<virtualhost *:81>
ServerAdmin jsw7001@hotmail.com
DocumentRoot D:/appserv/www/www-nongye
ServerName www.dede.com
ErrorLog D:/appserv/www/www-nongye/errornongye.log
Customlog Logs/dummy-host2.appservnetwork.com-access_log Common
</VirtualHost>
<virtualhost *:82>
<directory "D:/APPSERV/WWW-CHINAEC" >
Options FollowSymLinks
#Deny from all
Allow from all
</Directory>
ServerAdmin jsw7001@hotmail.com
DocumentRoot D:/APPSERV/WWW-CHINAEC
ServerName www.dede.com
DirectoryIndex index.php index.html
ErrorLog D:/appserv/www-chinaec/errornongjiale.log
Customlog Logs/dummy-host2.appservnetwork.com-access_log Common
</VirtualHost>
<virtualhost *:83>
ServerAdmin jsw7001@hotmail.com
DocumentRoot d:/appserv/www/www-05110
ServerName www.dede.com
ErrorLog D:/appserv/www/www-05110/errornong05110.log
Customlog Logs/dummy-host2.appservnetwork.com-access_log Common
</VirtualHost>
<virtualhost *:84>
ServerAdmin jsw7001@hotmail.com
DocumentRoot d:/appserv/www/wordpress
ServerName www.dede.com
ErrorLog D:/appserv/www/wordpress/errornongwordpress.log
Customlog Logs/dummy-host2.appservnetwork.com-access_log Common
</VirtualHost>
<virtualhost *:85>
ServerAdmin jsw7001@hotmail.com
DocumentRoot D:/appserv/www/magento
ServerName www.dede.com
ErrorLog D:/appserv/www/magento/errormagento.log
Customlog Logs/dummy-host2.appservnetwork.com-access_log Common
</VirtualHost>
<virtualhost *:86>
ServerAdmin jsw7001@hotmail.com
DocumentRoot d:/appserv/www/magento1322
ServerName www.dede.com
ErrorLog D:/appserv/www/magento1322/errormagento1322.log
Customlog Logs/dummy-host2.appservnetwork.com-access_log Common
</VirtualHost>
<virtualhost *:88>
ServerAdmin jsw7001@hotmail.com
documentroot d:/appserv/www/www-nongjiale
ServerName www.dede.com
ErrorLog d:/appserv/www/www-nongjiale/errornongjiale.log
customlog logs/dummy-host2.appservnetwork.com-access_log Common
</VirtualHost>
<virtualhost *:80>
ServerAdmin webmaster@dummy-host2.x
documentroot "c:/apache2.2/docs/dummy-host2.x"
ServerName dummy-host2.x
ErrorLog "Logs/dummy-host2.x-error.log"
Customlog "Logs/dummy-host2.x-access.log" common
</virtualhost>
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.