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…

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>

htaccess ErrorDocument

Create a file called .htaccess in the root of your public_html/htdocs of your domain. Inside add the following text: [code lang=”c”] Options +FollowSymLinks AddDefaultCharset UTF-8 RewriteEngine on Options +FollowSymLinks AddDefaultCharset UTF-8 RewriteEngine on ErrorDocument 404 /index.php ErrorDocument 301 /index.php [/code] With the index.php files being the pages that get redirected Read more…