Apache Subdomain settings
Local environment, the root directory set in the Apache configuration file is d:/appserv/www/, the sub-domain name is configured as follows, put in the configuration file started
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
Now the situation is: the loss of Dede and Ikaihui can be normal display, lose localhost, Chrome will report this error:
Error 103 (net::err_connection_aborted): Unknown error.
IE can not be opened.
Delete the section of localhost, the loss of localhost will show Dede page, I now want to lose localhost normal display of the WWW folder under the index.php, how to match
------Solution--------------------
See if your anti-virus or firewall is causing it.
------Solution--------------------
You're writing the right thing.
Clear the browser buffer to see
That's how I wrote it.
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
------Solution--------------------
Well, you take out the Directory section inside.
------Solution--------------------
Add this look.
Alias/Bind directory "absolute physical path"