我为詹金斯设置了一个新的虚拟主机:
<VirtualHost *:80>
ServerAdmin webmaster@localhost
ServerName ci.company.com
ServerAlias ci
ProxyRequests Off
<Proxy *>
Order deny,allow
Allow from all
</Proxy>
ProxyPreserveHost on
ProxyPass / http://localhost:8080/
</VirtualHost>
...它使用代理,当我重新启动 apache 时出现如下错误:
Invalid command 'ProxyRequests', perhaps misspelled or defined by a module not included in the server configuration