DocumentRoot "/var/www/html/CI"
<Directory /> Options FollowSymLinks AllowOverride All </Directory>
<Directory "/var/www/html/CI"> # # Possible values for the Options directive are "None", "All", # or any combination of: # Indexes Includes FollowSymLinks SymLinksifOwnerMatch ExecCGI MultiViews # # Note that "MultiViews" must be named *explicitly* --- "Options All" # doesn't give it to you. # # The Options directive is both complicated and important. Please see # http://httpd.apache.org/docs/2.2/mod/core.html#options # for more information. # Options Indexes FollowSymLinks # # AllowOverride controls what directives may be placed in .htaccess files. # It can be "All", "None", or any combination of the keywords: # Options FileInfo AuthConfig Limit # AllowOverride All # # Controls who can get stuff from this server. # Order allow,deny Allow from all </Directory>
NameVirtualHost *:80 <VirtualHost *:80> DocumentRoot /var/www/html/website1 ServerName http://www.website1.com </Virtualhost> <Directory "/var/www/html/website1"> Options Indexes FollowSymLinks AllowOverride All Order allow,deny Allow from all </Directory> <VirtualHost *:80> DocumentRoot /var/www/html/website1 ServerName http://website1.com </Virtualhost> <Directory "/var/www/html/website1"> Options Indexes FollowSymLinks AllowOverride All Order allow,deny Allow from all </Directory> <VirtualHost *:80> DocumentRoot /var/www/html/website2 ServerName http://www.website2.com </Virtualhost> <Directory "/var/www/html/website2"> Options Indexes FollowSymLinks AllowOverride All Order allow,deny Allow from all </Directory> <VirtualHost *:80> DocumentRoot /var/www/html/website2 ServerName http://website2.com </Virtualhost> <Directory "/var/www/html/website2"> Options Indexes FollowSymLinks AllowOverride All Order allow,deny Allow from all </Directory>
Listen 80 Listen 8080
<VirtualHost ExampleIp:8080> DocumentRoot /var/www/html/website3 ServerName ExampleIp:8080 </VirtualHost> <Directory "/var/www/html/website3"> Options Indexes FollowSymLinks AllowOverride All Order allow,deny Allow from all </Directory>
机械节能产品生产企业官网模板...
大气智能家居家具装修装饰类企业通用网站模板...
礼品公司网站模板
宽屏简约大气婚纱摄影影楼模板...
蓝白WAP手机综合医院类整站源码(独立后台)...苏ICP备2024110244号-2 苏公网安备32050702011978号 增值电信业务经营许可证编号:苏B2-20251499 | Copyright 2018 - 2025 源码网商城 (www.ymwmall.com) 版权所有