Home
 

Customer Support

Search for keywords:

Browse by category:

Why does my website just say "Error 403 Forbidden"?

Several scenarios can 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 potential reasons for this response are:


  • The CGI script requested does not have executable permissions set. If this is the problem, here's the solution.

  • A directory index has been requested in a directory for which such requests have been specifically disallowed. If this is the problem, you'll need to change the filename of your home page, change the default home page setting, or undo the disallow setting for directories.


  • Your Modwest-hosted website has been disabled for a violation of our terms of service or non-payment. If you think this may be the case, please contact us.

    User-Contributed Notes

    add a note
    user -at- example.com
    02-Jul-2002 19:57
    There are more then just those 2 reasons. 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.

    gallery -at- karlnarveson.com
    11-Aug-2002 10:27
    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
    which modwest sets for you.
    
    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.

    anthony.chambers -at- ntlworld.com
    27-Jan-2004 20:59
    Also, if you try to use a .htaccess override on an Apache server that
    has these overrides disabled you will get a 403, Forbidden error

    anonymous -at- example.com
    20-Feb-2008 16:24
    You may need to include the allowed IP addresses and not just the port.
    If on an internet router network with NAT or whatever, try changing the
    port to something other than 80 so that the router config doesn't pick
    it up.
    once you've done that, modify the apache config file to allow your other
    computers/network ip addy's.
    this can be in any ip range format as defined in the following link
    http://httpd.apache.org/docs/2.0/mod/mod_access.html

    add a note

    Related Questions:


    How do I protect a directory with .htaccess?

    How can I show a default page other than index.html?

    How do I stop people from getting directory listings when I dont have an index page?

    What do the different HTTP Status Codes like 200, 304, 404, 401, 403 mean?

    What options are configured with Apache and what can I do with .htaccess files?

    How do I protect a directory with mod_auth_mysql?

    How do I stop other websites from using my bandwidth while they steal images, flash, etc. from my site?

    Which Apache modules are installed?

    How do I make my own Error Documents to replace the default ones like 404 Not Found?

    How can I make apache recognize different MIME types?

    The webservers' Gzip compression is messing up my XML or Flash files for Netscape 4 browsers. How do I turn off compression?

    How do I get different character sets to display correctly?

    What webserver do you run?

    Will I have access to raw logfiles?

    I created a symbolic link, and now I am getting a 404 errors.

    How do I stop the server from automatically correcting spelling mistakes in URLs or offering multiple choices for documents?

    My mod_rewrite rules make my website stop loading.

    Why am I getting a 412 Precondition Failed from a website?

    How do I protect my website from comment spam?

    How do I enforce the use of SSL on my website?

    How do I redirect traffic to another web page?

    Browse Categories:

    Getting Started, FTP, Telnet/SSH, Moving Domains, E-mail, Traffic Reports, Mailing Lists, Apache, PHP, CGI, Other Server-Side Scripting, MySQL Database, Imaging Libraries, Other Software, Billing & Terms, Control Panel, E-commerce, Pre-Sales


  • Tiny Modwest Logo         Copyright 2000-2008 by Modwest, Inc.          About Us    |    Blog    |    Jobs    |    Web Design    |    Contact Us