Apache - Error 403 forbidden, Error 403 Forbidden

Error 403 forbidden

Why does my website just say "Error 403 Forbidden"

There are several scenarios which cause a 403 error response from our webservers. When a 403 response is generated, access to the requested file is not allowed for one or more reasons.

Some of the possible reasons for the Error 403 response are:

1 The CGI script requested does not have executable permissions set. If this is the problem, then you need the Apache directive "Options ExecCGI"

2 They might not have a default/index page specified, or the server may be looking for index.html and they have default.html or something similar.

3 If you try to use a .htaccess override on an Apache server that has these overrides disabled you will get a 403, Forbidden error


Another way to get 403 Forbidden: inadvertently reset your Apache options.

If you are running the CGI version of php, you need the Apache directive Options ExecCGI

But now if you need some other option and put a new Options directive in one of your htaccess files, be sure you include a + to indicate you're just adding a new option. Without the + you're resetting all your options to just the ones in your current list.

In my case I installed Gallery (an excellent php package) and Gallery said Options FollowSymLinks and this undid the ExecCGI option and caused my pages to be forbidden. The solution in my case is Options +FollowSymLinks

The topic on Apache - Error 403 forbidden is posted by - Veen

Hope you have enjoyed, Apache - Error 403 forbiddenThanks for your time

Tech Bluff