<VirtualHost *:8080>
ServerAdmin webmaster@dummy-host2.example.com
DocumentRoot "g:/phpweb/Apache24/htdocs/admin"
ServerName www.admin.com
ServerName dummy-host2.example.com
ErrorLog "logs/dummy-host2.example.com-error.log"
CustomLog "logs/dummy-host2.example.com-access.log" common
<Directory "g:/phpweb/Apache24/htdocs/admin">
AllowOverride all
Require all granted
ServerAdmin webmaster@dummy-host2.example.com
DocumentRoot "g:/phpweb/Apache24/htdocs/admin"
ServerName www.admin.com
ServerName dummy-host2.example.com
ErrorLog "logs/dummy-host2.example.com-error.log"
CustomLog "logs/dummy-host2.example.com-access.log" common
<Directory "g:/phpweb/Apache24/htdocs/admin">
AllowOverride all
Require all granted
</Directory>
域名 www.admin.com
版本2.4以上
端口号 8080
求解