403 Forbidden

Discussion in 'Free Hosting' started by anothe10, Jan 24, 2018.

  1. anothe10

    anothe10 New Member

    Messages:
    2
    Likes Received:
    0
    Trophy Points:
    1
    Can't access to my site today with 403 error.
    Yesterday it be fine. No files were changed. All permissions 755 - folder, 644 - files.
     
  2. lylex10h

    lylex10h Active Member

    Messages:
    510
    Likes Received:
    32
    Trophy Points:
    28
    I am unable to duplicate the issue you are reporting. I am able to access my website without a 403 error. If you are still having this error, please reply with steps to duplicate your issue.
     
  3. anothe10

    anothe10 New Member

    Messages:
    2
    Likes Received:
    0
    Trophy Points:
    1
    I have site with .htaccess which redirect to subfolder "/web"

    RewriteEngine On
    RewriteCond %{SCRIPT_FILENAME} !-f
    RewriteRule !^web(/?|/.+)$ /web%{REQUEST_URI} [L]

    And .htaccess in "/web" which redirects to index.php and set password protect.

    RewriteEngine On
    RewriteBase /
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule ^(.*)\?*$ index.php/$1 [L,QSA]
    AuthUserFile "/home/anothe10/.htpasswds/public_html/web/passwd"
    AuthType Basic
    AuthName "web"
    require valid-user

    I tried to remove password protection, totaly remove .htaccess files, copy index.php to root folder, but it didn't help.
     

Share This Page