Linux httpd 配置端口 apache httpd 域名配置

Linux httpd 配置端口:
Listen 90
        DocumentRoot /home/html/
        DirectoryIndex index.shtml index.html
       
        Options FollowSymLinks Indexes Includes
        AllowOverride None
        Order deny,allow
        Allow from all
       
Listen 91
        DocumentRoot /home/video_dest/
        DirectoryIndex index.shtml index.html
       
        Options FollowSymLinks Indexes Includes
        AllowOverride None
        Order deny,allow
        Allow from all
       
Listen 92
        DocumentRoot /opt/adobe/ams/webroot/
        DirectoryIndex index.shtml index.html
       
        Options FollowSymLinks Indexes Includes
        AllowOverride None
        Order deny,allow
        Allow from all
       

apache httpd 域名配置:
-------------------------------------------------------------
NameVirtualHost *:80    这个前面的#去掉


DocumentRoot "/web/wap/"
ServerName wap.hzrtv.cn
DirectoryIndex index.shtml index.html index.php list.shtml
Options FollowSymLinks Includes
AllowOverride None
Order deny,allow
Allow from all

代理设置
 DocumentRoot "/web/html/"
 ServerName editvod.china-online.com.cn
 DirectoryIndex index.shtml index.html
 ProxyPass /vms/ ajp://localhost:8009/vms/
 
 Options FollowSymLinks Includes
 AllowOverride None
 Order deny,allow
 Allow from all
 



普通端口:
Listen 82
 DocumentRoot "/web/wap/"
 DirectoryIndex index.shtml index.html
 
 Options FollowSymLinks Includes
 AllowOverride None
 Order deny,allow
 Allow from all
 

你可能感兴趣的:(Linux)