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
Related Posts
-
How to fix Invalid command 'RequestHeader' in the server configuration
Invalid command 'RequestHeader' error occurs in Linux server due to missing apache modules in our Linux server. Invalid command 'RequestHeader', perhaps misspelled or defined by a module not included in the server configuration To fix this issue, just to enable the module by running the following command: sudo a2enmod headers…
-
How to fix "Invalid command 'AuthGroupFile'" not included in the server configuration
I've noticed the following error while creating .htaccess file for my test domain. [Mon Apr 27 12:23:31.372528 2020] [core:alert] [pid 3783] [client 104.18.52.192:46990] /srv/www/htdocs/production/www.testwebsite.com/.htaccess: Invalid command 'AuthGroupFile', perhaps misspelled or defined by a module not included in the server configuration, referer: http://www.testwebsite.com/ If you are getting the same issue, then…
-
cd command in Linux / Unix
'cd' is a Linux command to change the current working directory or folder of the terminal (Shell). Syntax: # cd [directory / folder name] cd: cd [-L|[-P [-e]]] [dir] Change the shell working directory. Change the current directory to DIR. The default DIR is the value of the…
-
Linux command to list out all installed fonts: fc-list
fc-list lists fonts and styles available on the system using fontconfig. You can use fc-list to find out whether particular language font is installed or not. In this tutorial, I will show you how to list all installed fonts and also how to list installed fonts for a particular language…
-
How to fix cURL error 60: SSL certificate problem
Sometimes, we are facing an issue with the error "cURL error 60: SSL certificate problem (unable to get local issuer certificate)" during curl call to third party services / websites. This error occurs because the curl verifies and makes a secure connection request using self-signed certificate. When it does not…
-
PHP Fatal error: Call to undefined function imap_open() fix
If you want to work with the IMAP protocol, as well as the NNTP, POP3 and local mailbox access methods, you must install the "php-imap" package in your server. If you get the error PHP Fatal error: Call to undefined function imap_open() then php-imap package is missing in your server. Just install the missing package…
-
Linux cURL Command
curl is a tool / client to transfer data from or to a server and to get documents/files from or send documents to a server, using any one of the supported protocols (HTTP, HTTPS, FTP, FTPS, GOPHER, DICT, TELNET, LDAP or FILE). The command is designed to work without user…
-
How to Generate random number in Linux
How to generate random number in Linux? You can easily generate random numbers with the custom limit range by using shuf command. shuf is a UNIX and Linux command for generating random permutations. Syntax for Generate random number in Linux shuf [INPUT RANGE] [HEAD COUNT] Example The below example will…
- cal - How to get monthly and yearly calendar in Linux
The "cal" command displays a simple calendar with Linux / UNIX date and time. If no argument passed, then the current month is displayed. Month can specified as a number from 1 to 12. "cal" command without argument to get monthly calendar: Monthly calendar "cal" command with argument to get…
-
Debian/Ubuntu: How To Start / Stop / Restart Apache Server
Apache server is an open-source and cross-platform HTTP server, primarily used to serve both static content and dynamic Web pages on the World Wide Web. Starting, stopping, and restarting/reloading are the most common tasks while working with an Apache web server by developer or system administrator. In this article,…