首页服务器Web服务器 apche 多端口配置及网站指向非apche默认的网站文件夹设置方法

apche 多端口配置及网站指向非apche默认的网站文件夹设置方法

## Virtual Hosts## If you want to maintain multiple domains/hostnames on your# machine you can setup VirtualHost containers for them. Most configurations# use o…

#
# 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.com
         DocumentRoot D:/AppServ/www/www-nongye
         ServerName
         ErrorLog D:/AppServ/www/www-nongye/errornongye.log
         CustomLog logs/dummy-host2.appservnetwork.com-access_log common


   
        Options FollowSymLinks
        #Deny from all
        Allow from all
   
         ServerAdmin jsw7001@hotmail.com
         DocumentRoot D:/AppServ/www-chinaec
         ServerName
     DirectoryIndex index.php index.html
         ErrorLog D:/AppServ/www-chinaec/errornongjiale.log
         CustomLog logs/dummy-host2.appservnetwork.com-access_log common


         ServerAdmin jsw7001@hotmail.com
         DocumentRoot D:/AppServ/www/www-05110
         ServerName
         ErrorLog D:/AppServ/www/www-05110/errornong05110.log
         CustomLog logs/dummy-host2.appservnetwork.com-access_log common


         ServerAdmin jsw7001@hotmail.com
         DocumentRoot D:/AppServ/www/wordpress
         ServerName
         ErrorLog D:/AppServ/www/wordpress/errornongwordpress.log
         CustomLog logs/dummy-host2.appservnetwork.com-access_log common


         ServerAdmin jsw7001@hotmail.com
         DocumentRoot D:/AppServ/www/magento
         ServerName
         ErrorLog D:/AppServ/www/magento/errormagento.log
         CustomLog logs/dummy-host2.appservnetwork.com-access_log common


         ServerAdmin jsw7001@hotmail.com
         DocumentRoot D:/AppServ/www/magento1322
         ServerName
         ErrorLog D:/AppServ/www/magento1322/errormagento1322.log
         CustomLog logs/dummy-host2.appservnetwork.com-access_log common


         ServerAdmin jsw7001@hotmail.com
         DocumentRoot D:/AppServ/www/www-nongjiale
         ServerName
         ErrorLog D:/AppServ/www/www-nongjiale/errornongjiale.log
         CustomLog logs/dummy-host2.appservnetwork.com-access_log common


    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
本文来自网络,不代表1号站长-站长学院|资讯交流平台立场。转载请注明出处: https://www.1cn.cc/fwq/web/8023.html
上一篇Win2003 服务器系统安装图文教程
下一篇 CentOS 5.4+OpenVZ+Vtonf实现VPS服务器的方法
admin

作者: admin

这里可以再内容模板定义一些文字和说明,也可以调用对应作者的简介!或者做一些网站的描述之类的文字或者HTML!

为您推荐

评论列表()

    联系我们

    联系我们

    0898-88888888

    在线咨询: QQ交谈

    邮箱: email@wangzhan.com

    工作时间:周一至周五,9:00-17:30,节假日休息

    关注微信
    微信扫一扫关注我们

    微信扫一扫关注我们

    关注微博
    返回顶部