The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

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

Discussion in 'General Discussion' started by tayljam, May 17, 2012.

  1. tayljam

    tayljam Registered

    Joined:
    May 17, 2012
    Messages:
    1
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Root Administrator
    Hello!

    I have a VPS and WHM installed, I have hosted my domain but when I type it in browser address bar I get a message "403 forbidden You don't have permission to access / on this server." Anyone can help me to solve this problem? Here is httpd.conf:
    <Directory "/">
    Options ExecCGI FollowSymLinks IncludesNOEXEC Indexes SymLinksIfOwnerMatch
    AllowOverride None
    Order deny,allow
    Deny from all

    </Directory>

    <Directory "/usr/local/apache/htdocs">
    Options Indexes FollowSymLinks
    AllowOverride None
    Order allow,deny
    Allow from all

    </Directory>

    <FilesMatch "^\.ht">
    Order allow,deny
    Deny from all

    Maybe it will help.

    Thanks.
     
  2. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,765
    Likes Received:
    662
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
    Hello :)

    Please post the specific error message from the Apache error log when you notice the 403 message. The Apache error log can be found at:

    Code:
    # /usr/local/apache/logs/error_log
    Thank you.
     
Loading...

Share This Page