TroodoN-Mike TroodoN-Mike - 1 year ago 343
Apache Configuration Question

Invalid command ProxyRequests when setting up jenkins

I setup a new Vhost for jenkins:

<VirtualHost *:80>
ServerAdmin webmaster@localhost
ServerAlias ci
ProxyRequests Off
<Proxy *>
Order deny,allow
Allow from all
ProxyPreserveHost on
ProxyPass / http://localhost:8080/

...which uses proxy and when i restart apache I get error like this:

Invalid command 'ProxyRequests', perhaps misspelled or defined by a module not included in the server configuration

Answer Source

You should enable proxy. Run a command:

 a2enmod proxy
 sudo /etc/init.d/apache2 restart
Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download