Error pages not working since on linux server
Posted: 25 Oct 2011, 23:43
Error pages not working since on linux server also i only have the 1 .htaccess file in root
here is the .htaccess can you see why ?
here is the .htaccess can you see why ?
Code: Select all
#
# Uncomment the statement below if you want to make use of
# HTTP authentication and it does not already work.
# This could be required if you are for example using PHP via Apache CGI.
#
<IfModule mod_rewrite.c>
RewriteEngine on
RewriteRule .* - [E=HTTP_AUTHORIZATION:%{HTTP:Authorization},L]
</IfModule>
<Files "config.php">
Order Allow,Deny
Deny from All
</Files>
<Files "common.php">
Order Allow,Deny
Deny from All
</Files>
ErrorDocument 400 /forum/error.php?mode=400
ErrorDocument 401 /forum/error.php?mode=401
ErrorDocument 403 /forum/error.php?mode=403
ErrorDocument 404 /forum/error.php?mode=404
ErrorDocument 500 /forum/error.php?mode=500