apache子域名设置
本地的环境,apache的配置文件中设置的根目录是d:/AppServ/www/,子域名的配置如下,放在配置文件开始了
NameVirtualHost *:80
ServerName localhost
ServerAlias localhost
DocumentRoot D:/AppServ/www/
# AllowOverride FileInfo Options
Options None
Order allow,deny
Allow from all
ServerName dede
ServerAlias dede
DocumentRoot D:/AppServ/www/Dede/
# AllowOverride FileInfo Options
Options None
Order allow,deny
Allow from all
ServerName ikaihui
ServerAlias ikaihui
DocumentRoot D:/AppServ/www/ikaihui/
# AllowOverride FileInfo Options
Options None
Order allow,deny
Allow from all
错误 103 (net::ERR_CONNECTION_ABORTED):未知错误。
NameVirtualHost *:80
ServerName localhost
DocumentRoot /AMP/web
ServerName www.a.net
DocumentRoot /AMP/web/www.a.net
ServerName www.b.net
DocumentRoot /AMP/web/www.b.net
已抢65040个
抢已抢28143个
抢已抢15126个
抢已抢7611个
抢已抢9495个
抢已抢19259个
抢