I have an .htaccess file in the root directory of my domain that contains only the following:
//301 Redirect Old File Redirect 301 /showex.php /erase.php
The two files mentioned above exist and are in the root directory. However, when I upload this .htaccess file to my root directory, the entire domain stops loading and instead I get the following message:
Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request.
here's my .htaccess file:
AddHandler Extension_Type .html .htm .php3 .php4 Action Extension_Type /cgi-bin/php.dat Options -Indexes ErrorDocument 404 /404.html AddType 'text/html; charset=ISO-8859-1' Redirect 301 /showex.php mydomain.com/erase.php
Can someone please tell me what is wrong (or perhaps missing) in my .htaccess file?