熊义的blog
cexoyq
没什么好介绍的!穷屌丝一个~
全部博文(266)
2021年(3)
2020年(1)
2019年(2)
2016年(5)
2015年(1)
2014年(1)
2011年(9)
2010年(16)
2009年(31)
2008年(58)
2007年(111)
2006年(2)
2005年(26)
km康蒙92
cynthia
Phyllis6
浪花小雨
dennisYo
14375574
shaohuay
王楠w_n
yuntui
分类: LINUX
2010-09-25 16:13:16
使用虚拟主机,如果配置文件错误,则打开虚拟主机的网址不能正常打开,出现APACHE的测试页面。
<Directory "/"> Options FollowSymLinks #AllowOverride all AllowOverride FileInfo </Directory> <Directory "/var/www/html"> Options Indexes Includes FollowSymLinks AllowOverride None Allow from all Order allow,deny </Directory> <Directory "/var/www/icons"> Options Indexes MultiViews AllowOverride None Allow from all Order allow,deny </Directory> <Directory "/var/www/cgi-bin"> Options ExecCGI AllowOverride None Allow from all Order allow,deny </Directory> NameVirtualHost *:80 Alias /zgds "/var/www/zgds/" # Virtual host zgds <VirtualHost *:80> DocumentRoot "/var/www/zgds" ServerAdmin root@zgds.cc ServerName <Directory "/var/www/zgds"> Options Indexes Includes FollowSymLinks AllowOverride FileInfo Allow from all Order allow,deny </Directory> </VirtualHost> Alias /cxyl "/var/www/cxyl/" # Virtual host cxyl <VirtualHost *:80> DocumentRoot /var/www/cxyl ServerAdmin root@cxyl.com.cn ServerName <Directory "/var/www/cxyl"> Options Indexes Includes FollowSymLinks AllowOverride FileInfo Allow from all Order allow,deny </Directory> </VirtualHost> Alias /kxkg "/var/www/kxkg/" # Virtual host kxkg <VirtualHost *:80> DocumentRoot "/var/www/kxkg/" ServerAdmin root@kxkg.net ServerName <Directory "/var/www/kxkg"> Options Indexes Includes FollowSymLinks AllowOverride FileInfo Allow from all Order allow,deny </Directory> </VirtualHost>
上一篇:firefox配置,firefox更改临时文件夹
下一篇:中科院国家授时中心的服务器
登录 注册