Error pages not working since on linux server

Download and support for PhpBB3 Error Pages
Locked
User avatar
martin123456
BBCoder VI
BBCoder VI
Posts: 765
Joined: 25 Jul 2011, 13:29
BBCodes: 34
Favourite MOD: Ban button
Location: Down south!
Contact:

Error pages not working since on linux server

Post by martin123456 »

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 ?

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
User avatar
Vox Populi
BBCoder III
BBCoder III
Posts: 135
Joined: 27 Jul 2011, 15:44
BBCodes: 51
Favourite BBCode: YouTube
Favourite MOD: mChat, Welcome on Index
Location: Index,WA
Contact:

Error pages not working since on linux server

Post by Vox Populi »

No can see. Odd though. I'm hosted on Linux server (the only way to go IMHO)...
How long have you been on this server? Some time it takes hours for .htaccess to come into affect but it's rare. I've had 5-10 minute delays max.

I disabled some of my items..eg;
<code>#Disable Directory Browsing
Options -Indexes
#<IfModule mod_rewrite.c>
#RewriteEngine on
#RewriteRule .* - [E=HTTP_AUTHORIZATION:%{HTTP:Authorization},L]
#</IfModule></code>
Be who you are and say what you feel.
Those who mind don't matter.
Those who matter don't mind.
- Dr. Seuss
User avatar
martin123456
BBCoder VI
BBCoder VI
Posts: 765
Joined: 25 Jul 2011, 13:29
BBCodes: 34
Favourite MOD: Ban button
Location: Down south!
Contact:

Error pages not working since on linux server

Post by martin123456 »

Server uptime: 0 days, 4 hours, 31 minutes and 49 seconds

i'l wait till the morning and if its still the same then i'l comment out some bits
User avatar
Stoker
Site Admin
Site Admin
Posts: 3525
Joined: 12 May 2008, 23:26
BBCodes: 239
Favourite BBCode: Anipro
Favourite MOD: PrettyPhoto
Location: Denmark
Contact:

Error pages not working since on linux server

Post by Stoker »

ErrorDocument 400 /forum/error.php?mode=400
Are you sure this is correct?
It will only work if the path to your forum is: www.domain.com/forum/
Board rules! No PM support
User avatar
Vox Populi
BBCoder III
BBCoder III
Posts: 135
Joined: 27 Jul 2011, 15:44
BBCodes: 51
Favourite BBCode: YouTube
Favourite MOD: mChat, Welcome on Index
Location: Index,WA
Contact:

Error pages not working since on linux server

Post by Vox Populi »

Dohhhh.... Thanks for catching that one Stoker. I missed it.
Be who you are and say what you feel.
Those who mind don't matter.
Those who matter don't mind.
- Dr. Seuss
User avatar
martin123456
BBCoder VI
BBCoder VI
Posts: 765
Joined: 25 Jul 2011, 13:29
BBCodes: 34
Favourite MOD: Ban button
Location: Down south!
Contact:

Error pages not working since on linux server

Post by martin123456 »

lmao me too lol its working now
User avatar
martin123456
BBCoder VI
BBCoder VI
Posts: 765
Joined: 25 Jul 2011, 13:29
BBCodes: 34
Favourite MOD: Ban button
Location: Down south!
Contact:

Error pages not working since on linux server

Post by martin123456 »

And Vox Populi ty for this part ;) you saved me a few hours of studying file permissions within linux.


The below code locks all directory's up nice

Code: Select all

#Disable Directory Browsing
Options -Indexes
Locked