TroodoN-Mike TroodoN-Mike - 2 months ago 15
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


You should enable proxy. Run a command:

 a2enmod proxy
 sudo /etc/init.d/apache2 restart