嗨,我的虚拟主机条目看起来像
<VirtualHost *:80>
DocumentRoot C:\Program Files\Jenkins\jobs\Drupal_Test\workspace\app
<Directory "C:\Program Files\Jenkins\jobs\Drupal_Test\workspace\app">
Options Indexes FollowSymLinks MultiViews
AllowOverride None
Order allow,deny
allow from all
</Directory>
ServerName localmaster-jenkins
ErrorLog "logs/dummy-host3.localhost-error.log"
CustomLog "logs/dummy-host3.localhost-access.log" combined
</VirtualHost>
但是当我尝试重新启动 apache 时,它给出的错误如下行“DocumentRoot C:\Program Files\Jenkins\jobs\Drupal_Test\workspace\app”不能有两个参数,我假设这意味着目录名称“Program Files”不能包含空格。我无法重命名目录。有没有其他解决方法