How to fix Invalid command ProxyRequests

Apache HTTP Server

Invalid command ‘ProxyRequests’ error occurs in Linux server due to missing apache modules in our Linux server.

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

To fix this issue, just to enable the proxy module by running the following command:

sudo a2enmod proxy

After that. Restart apache

service apache2 restart

You Might Also Like

Leave a Reply

Your email address will not be published. Required fields are marked *