I have the following VirtualHost file:
<VirtualHost *:80>
ServerName www.domain.com
ServerAlias domain.com
ServerAdmin michael@xxx.com
DocumentRoot /var/www/html/xxx/public
ErrorLog ${APACHE_LOG_DIR}/error.log
CustomLog ${APACHE_LOG_DIR}/access.log combined
</VirtualHost>
Apache似乎忽略了我的Document Root
,而是显示了一个位于
/var/www/html
目录。我需要更改什么才能使其运作?