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.

please see my httpd.conf,why get 403 error

Discussion in 'General Discussion' started by zgcreate, Mar 17, 2012.

  1. zgcreate

    zgcreate Registered

    Joined:
    Mar 17, 2012
    Messages:
    1
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Website Owner
    I have a 403 error , is there anything wrong in my httpd.conf

    Code:
    -removed-
    
     
    #1 zgcreate, Mar 17, 2012
    Last edited by a moderator: Mar 17, 2012
  2. Infopro

    Infopro cPanel Sr. Product Evangelist
    Staff Member

    Joined:
    May 20, 2003
    Messages:
    14,474
    Likes Received:
    202
    Trophy Points:
    63
    Location:
    Pennsylvania
    cPanel Access Level:
    Root Administrator
    Twitter:
    That's not the best way to figure out a problem. What is the problem you're having exactly? Got any background on what was done that resulted in you having the problem?

    There is no need for anyone to see your entire httpd.conf so I have removed it. If you made changes directly to that file, what were those changes?
     
  3. cPanelTristan

    cPanelTristan Quality Assurance Analyst
    Staff Member

    Joined:
    Oct 2, 2010
    Messages:
    7,623
    Likes Received:
    21
    Trophy Points:
    38
    Location:
    somewhere over the rainbow
    cPanel Access Level:
    Root Administrator
    Are you receiving the 403 error for all sites on the server or only a particular site? A 403 error typically is due to file permissions or ownership issues in /home, /home/username, /home/username/public_html or the page itself on a site or sites. It's a forbidden error and you would want to check the permissions at each level of the path to the file:

    Code:
    ls -ld /home && ls -ld /home/username && ls -ld /home/username/public_html && ls -lah /home/username/public_html/filename
    Please replace username with the cPanel username of the account and filename with the name of the file you are trying to load in a browser.
     
Loading...

Share This Page