快速业务通道

linux下apache配置文件详解

作者 佚名技术 来源 Linux系统 浏览 发布时间 2012-04-21
low from .your-domain.com
  #</Location>
  
  #
  # Allow remote server configuration reports, with the URL of
  # http://servername/server-i… (requires that mod_info.c be loaded).
  # Change the “.your-domain.com” to match your domain to enable.
  #
  #<Location /server-info>
  # SetHandler server-info
  # Order deny,allow
  # Deny from all
  # Allow from .your-domain.com
  #</Location>
  
  //设置APache为代理服务器
  # Proxy Server directives. Uncomment the following lines to
  # enable the proxy server:
  #
  #<IfModule mod_proxy.c>
  #ProxyRequests On
  #
  #<Proxy *>
  # Order deny,allow
  # Deny from all
  # Allow from .your-domain.com
  #</Proxy>
  
  #
  # Enable/disable the handling of HTTP/1.1 “Via:” headers.
  # (“Full” adds the server version; “Block” removes all outgoing Via: headers)
  # Set to one of: Off | On | Full | Block
  #
  #ProxyVia On
  
  #
  # To enable the cache as well, edit and uncomment the following lines:
  # (no cacheing without CacheRoot)
  #
  #CacheRoot “/etc/httpd/proxy”
  #CacheSize 5
  #CacheGcInterval 4
  #CacheMaxExpire 24
  #CacheLastModifiedFactor 0.1
  #CacheDefaultExpire 1
  #NoCache a-domain.com another-domain.edu joes.garage-sale.com
  
  #</IfModule>
  # End of proxy directives.
  
  //设置虚拟主机
  ### Section 3: Virtual Hosts
  #
  # VirtualHost: 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
  # <URL:http://httpd.apache.org/do…
  # for further details before you try to setup virtual hosts.
  #
  # You may use the command line option ‘-S’ to verify your virtual host 拥有帝国一切,皆有可能。欢迎访问phome.net
  # configuration.
  
  #
  # Use name-based virtual hosting.
  //指令监听本地计算机上所有的IP地址请求
  #NameVirtualHost *
  
  #
  # VirtualHost example:
  # Almost any Apache directive may go into a VirtualHost container.
  # The first VirtualHost section is used for requests without a known
  # server name.
  #
  #<VirtualHost *>
  //定义虚拟主机的设置,此设置将覆盖前面有的的相同指令
  # ServerAdmin webmaster at dummy-host dot example.com
  # DocumentRoot /www/docs/dummy-host.example.com
  # ServerName dummy-host.example.com
  # ErrorLog logs/dummy-host.example.com-error_log
  # CustomLog logs/dummy-host.example.com-access_log common
  #</VirtualHost>
  //指定DAV加锁数据库文件的存放位置
  <IfModule mod_dav_fs.c>
  # Location of the WebDAV lock database.
  DAVLockDB /var/lib/dav/lockdb
  </IfModule>
  
  Alias /docs “/home/EMU/webmail/docs/”
  
  <Directory “/home/EMU/webmail/docs”>
  Options Indexes FollowSymLinks MultiView

凌众科技专业提供服务器租用、服务器托管、企业邮局、虚拟主机等服务,公司网站:http://www.lingzhong.cn 为了给广大客户了解更多的技术信息,本技术文章收集来源于网络,凌众科技尊重文章作者的版权,如果有涉及你的版权有必要删除你的文章,请和我们联系。以上信息与文章正文是不可分割的一部分,如果您要转载本文章,请保留以上信息,谢谢!

分享到: 更多

Copyright ©1999-2011 厦门凌众科技有限公司 厦门优通互联科技开发有限公司 All rights reserved

地址(ADD):厦门软件园二期望海路63号701E(东南融通旁) 邮编(ZIP):361008

电话:0592-5908028 传真:0592-5908039 咨询信箱:web@lingzhong.cn 咨询OICQ:173723134

《中华人民共和国增值电信业务经营许可证》闽B2-20100024  ICP备案:闽ICP备05037997号