#1
  1. No Profile Picture
    Registered User
    Devshed Newbie (0 - 499 posts)

    Join Date
    May 2013
    Posts
    27
    Rep Power
    0

    You don't have permission to access / on this server


    Hi there.

    I am busy creating an HTML form on one of my wordpress pages. Until recently, everything was working fine. Now all of a sudden I am receiving this error on my page. (the page that the online form posts to).

    Code:
    Forbidden
    
    You don't have permission to access / on this server.
    
    Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.
    I have tried disabling plugins, and also tried changing my .htaccess file to this, but still no luck. The error only however appears sometimes, and not every time the form is submitted.

    Code:
    <Limit GET POST>
    order deny,allow
    Options +FollowSymLinks
    # BEGIN WordPress
    <IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteBase /
    RewriteRule ^index.php$ - [L]
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule . /index.php [L]
    </IfModule>
    # END WordPress
    </LIMIT>
    Any help would be greatly appreciated please
  2. #2
  3. Come play with me!
    Devshed Supreme Being (6500+ posts)

    Join Date
    Mar 2007
    Location
    Washington, USA
    Posts
    13,761
    Rep Power
    9397
    What does the server log say is the reason for the 403?
  4. #3
  5. No Profile Picture
    Registered User
    Devshed Newbie (0 - 499 posts)

    Join Date
    May 2013
    Posts
    27
    Rep Power
    0
    This is in the error log:

    [Mon May 13 21:25:37 2013] [error] [client 196.xxx.xxx.198] File does not exist: /home/airportg/public_html/404.shtml
    [Mon May 13 21:25:37 2013] [error] [client 196.xxx.xxx.198] File does not exist: /home/airportg/public_html/favicon.ico
    [Mon May 13 21:25:37 2013] [error] [client 196.xxx.xxx.198] File does not exist: /home/airportg/public_html/403.shtml

    (ip edited for forum purposes)
  6. #4
  7. No Profile Picture
    Lost in code
    Devshed Supreme Being (6500+ posts)

    Join Date
    Dec 2004
    Posts
    8,301
    Rep Power
    7170
    Those errors are not related directly to this problem.

    Is the error only on that one page or is it on all of your WordPress pages?
    PHP FAQ

    Originally Posted by Spad
    Ah USB, the only rectangular connector where you have to make 3 attempts before you get it the right way around
  8. #5
  9. No Profile Picture
    Registered User
    Devshed Newbie (0 - 499 posts)

    Join Date
    May 2013
    Posts
    27
    Rep Power
    0

    Question


    It is only that page which is giving me the error.
    And the error isn't permanent, it only occurs one out of about 5 times ?

IMN logo majestic logo threadwatch logo seochat tools logo