500 - Internal Server Error

Status
Not open for further replies.

dwdesign

New Member
Messages
13
Reaction score
0
Points
0
On my site I was editing .htaccess and I accidentally applied a password protected directory setting to the wrong directory in my site, so I went to go change it back and it constantly comes up with the 500 Internal Server Error. I have tried renaming the .htaccess to .htaccess.bak, I have tried deleting everything in it, changing permissions, and deleting it but with no avail.

Any help would be appreciated, Dwdesign.
Edit:
I have also checked the error logs...but all it states is a missing favicon, which I have not even setup yet...and the site worked before, so I cannot see any connection. Again any help is appreciated. Dwdesign.
 
Last edited:

Russ

<b>Retired *****</b>
Messages
3,168
Reaction score
2
Points
38
That is not a serious error. I am going to post my standard response, even though it looks like you've done them all anyways...

Here's a couple of things to do/try which should fix it, or tell you what's causing it...

1) Always do this first - log into cPanel, find the Logs section and click on Error logs, see what it has in there.. Most 500 errors will make an entry into that log telling you what caused it..

2) Your file permissions should be set atleast to read/write 755/744.. You need to login to your cPanel. http://yourname.x10hosting.com:2082 and go into the File Manager, select the files in which you'll be accessing on the website and click on the Permissions button at the top of the page. The permissions need to be set to atleast read execute, and write if the page is going to be making any dynamic changes to the site. Usually read/execute is enough to get it working.

3) If the two above don't work, as a last resort do this.. Delete the .htaccess file, and try it then.
To view the .htaccess file, you need to go into cPanel, click on File Manager, and when it opens up asking you where you want to go, it's going to have an option to View Hidden Files (dotfiles). Click that first. Now you'll be able to view your htaccess file.
 

dwdesign

New Member
Messages
13
Reaction score
0
Points
0
Thank you for the response, however I have re-tried your list of suggestions and still the problem has not been resolved. Although I did notice this error in the logs "Premature end of script headers: /home/dwdesign/public_html/index.php", could this have any relevance.


Edit: In addition to this above question, is there any possible way I can "reset" my entire account. I would prefer not to start a new account because I don't want to lose the subdomain name I currently have.
 
Last edited:
Status
Not open for further replies.
Top