Invalid command 'RewriteEngine'

If you receive the following error message if means that mod_rewrite is not enabled in Apache: Invalid command ‘RewriteEngine’, perhaps misspelled or defined by a module not included in the server configuration. [code lang=”bash”] a2enmod rewrite [/code] Bear in mind this is done like this on Linux Ubuntu, not entirely Read more…

By Andrew Odendaal, ago

Restrict PHPMyAdmin to IP Address

Would you like to restrict PHPMyAdmin from being accessible to the whole world? Firstly you need to SSH into your box if you are not on the local machine where PHPMyAdmin is installed along with Apache. cd /etc/phpmyadmin/ vi apache.conf You will need to look for the following text “<Directory Read more…

By Andrew Odendaal, ago

Error 406?

So you received an error 406 while trying to upload a file and you have no idea to fix it! Create a “.htaccess” file in the root of your local website and add the following into it: <IfModule mod_security.c> SecFilterEngine Off SecFilterScanPOST Off </IfModule>

By Andrew Odendaal, ago