I recently converted all my website's files to .php, including my index.html and 404 page. Everything worked fine until I clicked a dead link, and no 404 page came up. Naturally, I figured I forgot to update the .htaccess file. After doing so and re-uploading it, every page on my site is a 500 error. And not a custom 500 page, which I had previously designed, but a generic, browser-generated thing, even though my 500 page is on the server. Here's the code for my .htaccess file:
AuthType Basic
AuthName ""
Order deny,allow
Require user
Require group
Allow from
Deny from
RewriteEngine on
RewriteCond %{ENV:GEOIP_COUNTRY_CODE} [NC]
RewriteRule ^$ [L]
RewriteCond %{HTTP_USER_AGENT} ^Mozilla/[345].*Gecko*
RewriteRule ^$ [L]
RewriteCond %{HTTP_USER_AGENT} ^Mozilla/[345].*MSIE*
RewriteRule ^$ [L]
RewriteCond %{HTTP_USER_AGENT} ^Mozilla/[12].* [OR]
RewriteCond %{HTTP_USER_AGENT} ^Lynx/*
RewriteRule ^$ [L]
RewriteRule ^$ [L]
RewriteRule (.*) /$1 [PT]
ErrorDocument 400
ErrorDocument 401
ErrorDocument 403
ErrorDocument 404 error404.html
ErrorDocument 500
DirectoryIndex
Can anyone give me some advice on remedying this issue?