403

Download and support for PhpBB3 Error Pages
Gamers Talk
BBCoder II
BBCoder II
Posts: 43
Joined: 13 Sep 2013, 00:40
BBCodes: 1
Contact:

403

Post by Gamers Talk »

First of all awesome MOD, thank you!

Everything seems to be working just fine but one little problem I am having is the images folder shows a white blank page. Read some of the other post for support and nothing really seems to help. Inside my images folder there is a .htaccess file (blank) do I need to add a code inside this file in order for my 403 to work with my custom style?

This is what I have in the root section .htaccess file

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 /error.php?mode=400
ErrorDocument 401 /error.php?mode=401
ErrorDocument 403 /error.php?mode=403
ErrorDocument 404 /error.php?mode=404
ErrorDocument 500 /error.php?mode=500
Any help would really be appreciated.
User avatar
Stoker
Site Admin
Site Admin
Posts: 3536
Joined: 12 May 2008, 23:26
BBCodes: 239
Favourite BBCode: Anipro
Favourite MOD: PrettyPhoto
Location: Denmark
Contact:

403

Post by Stoker »

Try put this line at the top of your htaccess file

Code: Select all

Options -Indexes
Board rules! No PM support
Gamers Talk
BBCoder II
BBCoder II
Posts: 43
Joined: 13 Sep 2013, 00:40
BBCodes: 1
Contact:

403

Post by Gamers Talk »

Stoker, Thanks for the reply. That didn't seem to help. Any other ideas?
User avatar
Stoker
Site Admin
Site Admin
Posts: 3536
Joined: 12 May 2008, 23:26
BBCodes: 239
Favourite BBCode: Anipro
Favourite MOD: PrettyPhoto
Location: Denmark
Contact:

403

Post by Stoker »

Not really. 403 should work with all styles an all folders, but off course you need to have directory listings disables on the server.
Reading your post it sounds like it does work on some styles but not your custom?

You need som explaining and links to what works and what doesnt.
Board rules! No PM support
Gamers Talk
BBCoder II
BBCoder II
Posts: 43
Joined: 13 Sep 2013, 00:40
BBCodes: 1
Contact:

403

Post by Gamers Talk »

I am using two custom styles (se_gamer & se_gamer dark) they both work just fine with the error page mod but not the images folder. Do I need to do editing on my custom styles as well? Take a look for yourself and let me know @ gamerstalk.net (my site)
User avatar
Stoker
Site Admin
Site Admin
Posts: 3536
Joined: 12 May 2008, 23:26
BBCodes: 239
Favourite BBCode: Anipro
Favourite MOD: PrettyPhoto
Location: Denmark
Contact:

403

Post by Stoker »

This mod requires you to do absolutely NOTHING to your styles.
But for 403 to work on folders, you need to setup your server to disable directory listings. Thats done by adding the line I told you at the top of your htaccess file. And I am talking about the htaccess file you postet here.
By visiting this url: http://gamerstalk.net/styles/ I can tell that you havent done this yet.
Undo what ever you have done to all your other folders. Its not needed for this to work. Actually DO NO do anything that is not instructed by this mod install instructions because I have NO CHANCE helping you if so.
Board rules! No PM support
Gamers Talk
BBCoder II
BBCoder II
Posts: 43
Joined: 13 Sep 2013, 00:40
BBCodes: 1
Contact:

403

Post by Gamers Talk »

Stoker, Thanks for the quick reply. I have added the code to my root file .htaccess at the top of the file just like you instructed me to do so. Other than that I have done nothing else. Whats next?
User avatar
Stoker
Site Admin
Site Admin
Posts: 3536
Joined: 12 May 2008, 23:26
BBCodes: 239
Favourite BBCode: Anipro
Favourite MOD: PrettyPhoto
Location: Denmark
Contact:

403

Post by Stoker »

Then you need to do the prosilver edit to any style you are using.
Then it will display the correct styling when visiting this link: http://gamerstalk.net/styles/
Board rules! No PM support
Gamers Talk
BBCoder II
BBCoder II
Posts: 43
Joined: 13 Sep 2013, 00:40
BBCodes: 1
Contact:

403

Post by Gamers Talk »

Ok I did that and now I can see it correctly the (error code) Whats next?
User avatar
Stoker
Site Admin
Site Admin
Posts: 3536
Joined: 12 May 2008, 23:26
BBCodes: 239
Favourite BBCode: Anipro
Favourite MOD: PrettyPhoto
Location: Denmark
Contact:

403

Post by Stoker »

Your done.
If you have problems with some folders it is because you have some restrictions either by server or by custom .htaccess files in those folders.
Board rules! No PM support
Locked