apache下vhosts.conf配置多域名代码
<VirtualHost *:8081> DocumentRoot "E:\phpStudy\WWW\phpMyAdmin" ServerName www.sjk.com ServerAlias www.sjk.com <Directory "E:\phpStudy\WWW\phpMyAdmin"> Options FollowSymLinks ExecCGI AllowOverride All Order allow,deny Allow from all Require all granted </Directory> </VirtualHost>
转载请注明出处: 欢迎留言或qq(1090413588)交流