please see my httpd.conf,why get 403 error

zgcreate

Registered
Mar 17, 2012
1
0
51
cPanel Access Level
Website Owner
I have a 403 error , is there anything wrong in my httpd.conf

Code:
-removed-
 
Last edited by a moderator:

Infopro

Well-Known Member
May 20, 2003
17,112
513
613
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?
 

cPanelTristan

Quality Assurance Analyst
Staff member
Oct 2, 2010
7,607
40
248
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.