扫一扫
分享文章到微信
扫一扫
关注官方公众号
至顶头条
作者:51cto 2007年10月11日
关键字:
在本页阅读全文(共3页)
# Stuff every Apache configuration needs ServerType standalone LockFile /var/lock/apache/accept.startup.lock PidFile /var/run/apache.startup.pid ServerName necessaryevil.startup.tld DocumentRoot "/home/startup/web" # Essential modules LoadModule access_module /usr/lib/apache/1.3/mod_access.so # Which user to run this Apache configuration as User startup Group startup # This must be off else the host isn't passed correctly UseCanonicalName Off # The IP/port combination to listen on Listen 127.0.0.2:10000 # Using name-based virtual hosting allows you to host multiple sites per IP/port combo NameVirtualHost 127.0.0.2:10000 |
# Stuff every Apache configuration needs ServerType standalone LockFile /var/lock/apache/accept.nimrod.lock PidFile /var/run/apache.nimrod.pid ServerName necessaryevil.nimrod.tld DocumentRoot "/home/nimrod/web" # Essential modules LoadModule access_module /usr/lib/apache/1.3/mod_access.so # Which user to run this Apache configuration as User nimrod Group nimrod # This must be off else the host isn't passed correctly UseCanonicalName Off # The IP/port combination to listen on Listen 127.0.0.2:10001 # Using name-based virtual hosting allows you to host multiple sites per IP/port combo NameVirtualHost 127.0.0.2:10001 |
# Stuff every Apache configuration needs LockFile /var/lock/apache/accept.www-data.lock PidFile /var/run/apache.www-data.pid ServerName necessaryevil.facade.server DocumentRoot "/home/www-data" # Essential modules LoadModule proxy_module /usr/lib/apache2/modules/mod_proxy.so LoadModule proxy_http_module /usr/lib/apache2/modules/mod_proxy_http.so # Which user to run this Apache configuration as User www-data Group www-data # These must be set else the host isn't passed correctly UseCanonicalName Off ProxyVia On ProxyRequests Off # This must also be set, though it's only an option in Apache2 ProxyPreserveHost On # The IP/port combination to listen on Listen 9.20.1.1:80 # Using name-based virtual hosting allows you to host multiple sites per IP/port combo NameVirtualHost 9.20.1.1:80 # Configuration to forward requests for startup.tld |
如果您非常迫切的想了解IT领域最新产品与技术信息,那么订阅至顶网技术邮件将是您的最佳途径之一。
现场直击|2021世界人工智能大会
直击5G创新地带,就在2021MWC上海
5G已至 转型当时——服务提供商如何把握转型的绝佳时机
寻找自己的Flag
华为开发者大会2020(Cloud)- 科技行者