Page 1 of 1

Permission 500 internal Error

Posted: Thu Oct 26, 2017 11:49 am
by kaz050457
I have websites hosted before on cpanel but when i try to move on different panel, i got 500 internal internal error in some of my websites..

In centospanel i use this feature to fix the problem..
Image

how i cando this on vestacp?
"** This option will chown all files with account owner match and fix permissions of files to 644 and folders to 755.""
Can someone here help me what is the command on cli, im using centos 7 on my vestacp?..

thanks you..

Re: Permission 500 internal Error

Posted: Sat Oct 28, 2017 1:36 am
by coreXL
Hi, can you post you webserver type, php version etc..
Thanks!

Re: Permission 500 internal Error

Posted: Thu Nov 02, 2017 11:17 am
by tjebbeke
You need to use the chmod and chown commands.

chmod 755 dirname
chmod 644 filename
chown -R username:username /home/username/web/domainname.com/public_html/*

Re: Permission 500 internal Error

Posted: Sat Nov 11, 2017 2:24 pm
by kaz050457
fixed my problem by disabling nginx, since cpanel using apache as a webserver.. weird..

Re: Permission 500 internal Error

Posted: Thu Feb 22, 2018 3:19 pm
by pianodreamer
Guys, I have a slightly different problem, but it's making me crazy, and I still haven't been able to identify what's causing that. I've recently decided to move my blog to the https standard. I bought an SSL certificate and turned on HHTPS rewrites, and fixed all mixed content problems. And everything worked great for a while. But then I started seeing the following errors: 502 Bad Gateway, 525 SSL handshake failed, 503 Service Unavailable. The errors appear occasionally, and then after I refresh the page they are usually gone, but sometimes they make my site unavailable for hours, which is very frustrating. Does anybody know what can cause such errors? The SSL seems to be installed correctly, so I don't really understand what can cause them.

Re: Permission 500 internal Error

Posted: Thu Feb 22, 2018 6:43 pm
by mehargags
when it fails, send apache error logs of that time.

Re: Permission 500 internal Error

Posted: Sun Apr 08, 2018 11:21 am
by sbcbj
Hi kaz050457, 500 Internal Server Error is a http status code. It mainly happened if you have made some changes on .htaccess file.
I had same issue when I moved my site http to https.
Then I fixed htaccess file. So, please check your .htaccess file.
If you still getting this error then I would suggest you to check file permision. Because It could be a file permission error.
I hope it will help you to fix your problem.

Thanks

Re: Permission 500 internal Error

Posted: Sun Apr 22, 2018 11:03 pm
by syedtutul
Thanks, thanks I got my answer from seeing your question and answer. this is my link removed feel a lot problem for the reasons. even I lost a lot of visitors.