<VirtualHost *:80>
ServerAdmin webmaster@dummy-host2.example.com
DocumentRoot „D:WebPHP“
ServerName localhost
ServerAlias localhost
ErrorLog. "logs/dummy-host2 .example.com- error.log"
CustomLog "logs/dummy-host2.example.com-access.log" common
</VirtualHost>
<VirtualHost *:80>
DocumentRoot "D:wwwvideo/public"
ServerName web.php.demo Von allen zulassen
</Directory>
Directory 应在 VirtualHost 内