Apache Invalid command Header

On a new Debian server with Apache, web site give 500 internal server error. On checking error log, i found [Thu Jan 04 06:44:42.483932 2018] [core:alert] [pid 27583] [client] /home/user/public_html/.htaccess: Invalid command ‘Header’, perhaps misspelled or defined by a module not included in the server configuration The error is due to Apache headers module […]

Read More…

Apache Web Server

htpasswd apachectl Apache SSL Apache PHP-FPM Run .htm files as PHP in Apache Apache Disable PHP for a web site Apache Benchmark Ubuntu Apache Setup for WordPress Apache Limit access to a url Nginx vs Apache Apache Performance Tuning Apache LogFormat show full domain name Change Apache User in Ubuntu Apache disable directory index Apache […]

Read More…


Redirect OLD site to NEW using htaccess Limit Access Using htaccess Apache Limit access to a url Disable PHP on a folder How to protect .git folder using htaccess Redirect site from www to non-www Password Protect Site using htaccess React Application showing 404 error on refresh Redirect domain to SSL (HTTPS)



Read More…

Apache Permission Denied

On a newly installed Apache server, when I visit the website, I get permission denied error. On Apache error log (/var/log/httpd/error_log), i found

I tried changing the folder permission to 755, but it did not fix it. The problem was caused by SELinux. Solution I disabled SELinux.

To make it permanent, edit file […]

Read More…