Linux httpd 配置端口 apache httpd 域名配置
2015-09-02 14:40
375 查看
Linux httpd 配置端口:
Listen 90
<VirtualHost *:90>
DocumentRoot /home/html/
DirectoryIndex index.shtml index.html
<Directory />
Options FollowSymLinks Indexes Includes
AllowOverride None
Order deny,allow
Allow from all
</Directory>
</VirtualHost>
Listen 91
<VirtualHost *:91>
DocumentRoot /home/video_dest/
DirectoryIndex index.shtml index.html
<Directory />
Options FollowSymLinks Indexes Includes
AllowOverride None
Order deny,allow
Allow from all
</Directory>
</VirtualHost>
Listen 92
<VirtualHost *:92>
DocumentRoot /opt/adobe/ams/webroot/
DirectoryIndex index.shtml index.html
<Directory />
Options FollowSymLinks Indexes Includes
AllowOverride None
Order deny,allow
Allow from all
</Directory>
</VirtualHost>
apache httpd 域名配置:
-------------------------------------------------------------
NameVirtualHost *:80 这个前面的#去掉
<VirtualHost *:80>
DocumentRoot "/web/wap/"
ServerName wap.hzrtv.cn
DirectoryIndex index.shtml index.html index.php list.shtml
<Directory />
Options FollowSymLinks Includes
AllowOverride None
Order deny,allow
Allow from all
</Directory>
代理设置
<VirtualHost *:80>
DocumentRoot "/web/html/"
ServerName editvod.china-online.com.cn
DirectoryIndex index.shtml index.html
ProxyPass /vms/ ajp://localhost:8009/vms/
<Directory />
Options FollowSymLinks Includes
AllowOverride None
Order deny,allow
Allow from all
</Directory>
</VirtualHost>
普通端口:
Listen 82
<VirtualHost *:82>
DocumentRoot "/web/wap/"
DirectoryIndex index.shtml index.html
<Directory />
Options FollowSymLinks Includes
AllowOverride None
Order deny,allow
Allow from all
</Directory>
</VirtualHost>
Listen 90
<VirtualHost *:90>
DocumentRoot /home/html/
DirectoryIndex index.shtml index.html
<Directory />
Options FollowSymLinks Indexes Includes
AllowOverride None
Order deny,allow
Allow from all
</Directory>
</VirtualHost>
Listen 91
<VirtualHost *:91>
DocumentRoot /home/video_dest/
DirectoryIndex index.shtml index.html
<Directory />
Options FollowSymLinks Indexes Includes
AllowOverride None
Order deny,allow
Allow from all
</Directory>
</VirtualHost>
Listen 92
<VirtualHost *:92>
DocumentRoot /opt/adobe/ams/webroot/
DirectoryIndex index.shtml index.html
<Directory />
Options FollowSymLinks Indexes Includes
AllowOverride None
Order deny,allow
Allow from all
</Directory>
</VirtualHost>
apache httpd 域名配置:
-------------------------------------------------------------
NameVirtualHost *:80 这个前面的#去掉
<VirtualHost *:80>
DocumentRoot "/web/wap/"
ServerName wap.hzrtv.cn
DirectoryIndex index.shtml index.html index.php list.shtml
<Directory />
Options FollowSymLinks Includes
AllowOverride None
Order deny,allow
Allow from all
</Directory>
代理设置
<VirtualHost *:80>
DocumentRoot "/web/html/"
ServerName editvod.china-online.com.cn
DirectoryIndex index.shtml index.html
ProxyPass /vms/ ajp://localhost:8009/vms/
<Directory />
Options FollowSymLinks Includes
AllowOverride None
Order deny,allow
Allow from all
</Directory>
</VirtualHost>
普通端口:
Listen 82
<VirtualHost *:82>
DocumentRoot "/web/wap/"
DirectoryIndex index.shtml index.html
<Directory />
Options FollowSymLinks Includes
AllowOverride None
Order deny,allow
Allow from all
</Directory>
</VirtualHost>
相关文章推荐
- fget和fput http://www.unixresources.net/linux/clf/linuxK/archive/00/00/69/66/696637.html
- 在线HTTP POST/GET接口测试工具
- HttpURLConnection 直接发送soap消息调用webservice
- HTTP Client使用
- 利用Ihttpmodel实现网站缓存,解决Server.Transfer 直接输出HTML源代码的问题
- SDP协议介绍
- (转)epoll源码分析 http://www.cnblogs.com/debian/archive/2012/02/16/2354454.html
- ASIHTTPRequest使用指南---<<翻译稿>>老外的很有价值
- http协议
- http://downloads.openwrt.org.cn/sources/
- 无源光网络PON的原理
- Node.js 0.12: 正确发送HTTP POST请求
- 如何使用ASIHTTPRequest来进行网络请求的
- HTTP请求报文和HTTP响应报文
- HTTP中的POST和GET请求的本质区别详解
- linux下网络环境配置
- HTTP必死:Google是怎么考虑安全的?
- Android Https相关完全解析 当OkHttp遇到Https
- JAVA发送HTTP请求,并接受返回内容
- 发送http请求