Home > Article > Backend Development > VirtualHost configuration
VirtualHost configuration NameVirtualHost *:80 /*Set port*/DocumentRoot "E:wampwww" /*Set file path*/ ServerName localhost:80 Disable display of Apache directory listing-Indexes FollowSymLinks*/ AllowOverride all Order allow,deny Allow from all /*Configure a new domain name, the configuration is the same as above*/ ServerAlias *.first.com Options Indexes FollowSymLinks AllowOverride all Order allow,deny Allow from all This topic was reviewed and approved by Xiaobei on 2016-1-22 08:18 |