Error 403 Forbidden - you don't have the permissions

Discussion in 'PHP' started by tophostingcenter, Jun 1, 2011.

  1. tophostingcenter

    tophostingcenter New Member

    Hello,

    We are getting this error for all php websites that are hosted on the server :

    Error 403: Forbidden

    You don't have permissions to access this page. This usually means one of the following:

    this file and directory permissions make them unavailable from the Internet.
    .htaccess contains instructions that prevent public access to this file or directory.

    Please check file and directory permissions and .htaccess configuration if you are able to do this. Otherwise, request your webmaster to grant you access.

    How can we solve this, Litespeed is up, ports open, php running and nothing has been changed so far.

    PS: All html websites are up.

    Thanks

    Eric
  2. webizen

    webizen New Member

    check error.log for details of which page/file triggers the error.
  3. tophostingcenter

    tophostingcenter New Member

    Hello,

    We cannot see anything special, where else and how to fix this ?

    The only but not major is this :

    --
    2011-05-31 00:00:03.808 [INFO] Processing config file: /hsphere/local/config/httpd/macro/php.macro
    2011-05-31 00:00:03.809 [INFO] Processing config file: /hsphere/local/config/httpd/macro/php_ext.macro
    2011-05-31 00:00:03.809 [INFO] Processing config file: /hsphere/local/config/httpd/macro/vh.macro
    2011-05-31 00:00:03.809 [ERROR] [/hsphere/local/config/httpd/macro/vh.macro:3] Invalid user name: $user!
    2011-05-31 00:00:03.809 [ERROR] [/hsphere/local/config/httpd/macro/vh.macro:4] Invalid group name: $group!
    2011-05-31 00:00:03.809 [INFO] Processing config directory: /hsphere/local/config/httpd/sites
    2011-05-31 00:00:03.812 [INFO] Processing config file: /hsphere/local/config/httpd/sites/101087.conf
    2011-05-31 00:00:03.812 [INFO] Processing config file: /hsphere/local/config/httpd/sites/101149.conf
    2011-05-31 00:00:03.812 [INFO] Processing config file: /hsphere/local/config/httpd/sites/10142.conf
    2011-05-31 00:00:03.812 [INFO] Processing config file: /hsphere/local/config/httpd/sites/101899.conf
    2011-05-31 00:00:03.812 [INFO] Processing config file: /hsphere/local/config/httpd/sites/102427.conf
    2011-05-31 00:00:03.812 [INFO] Processing config file: /hsphere/local/config/httpd/sites/102535.conf
    2011-05-31 00:00:03.812 [INFO] Processing config file: /hsphere/local/config/httpd/sites/102564.conf
    201
    --

    regards
    eric
  4. mistwang

    mistwang LiteSpeed Staff

    You need to use 4.1.x release to get mod_macro support.
  5. tophostingcenter

    tophostingcenter New Member

    Hello,

    We might found the error that cause the 403 forbidden.

    We have LiteSpeed/4.0.20 Enterprise and we have found this error:

    error - [ACL] Access to context [/] is denied!

    I think the above error is the cause of why all php websites like WordPress etc.. Are not up and show the 403 forbidden.

    Can you tell me how to solve this please.

    Regards
    Eric
  6. webizen

    webizen New Member

    does LSWS read Apache httpd.conf or have its own configuration?
  7. tophostingcenter

    tophostingcenter New Member

    Hello,
    LSWS reads Apache httpd.conf

    Can you support as fast as you can, our customers are not happy.

    Thanks and appreciated!

    Eric
  8. webizen

    webizen New Member

  9. tophostingcenter

    tophostingcenter New Member

    Hello,

    Just bought a paid support and Ticket Created #801227

    Take a look please asap.

    regards
    eric
  10. webizen

    webizen New Member

    Update:

    The issue was resolved soon after by upgrading lsws to 4.1.1.

Share This Page