Control Web Panel

WebPanel => CentOS-WebPanel Bugs => Topic started by: spike on December 03, 2015, 10:30:01 PM

Title: 500 Internal Server Error
Post by: spike on December 03, 2015, 10:30:01 PM
I created a user with domain
I uploaded a script
I gave chmod -R 0775 /home/user/public_html/myscript

when i acces domain.com/myscript

he said

Internal Server Error

The server encountered an internal error or misconfiguration and was unable to complete your request.

Please contact the server administrator, mail and inform them of the time the error occurred, and anything you might have done that may have caused the error.

More information about this error may be available in the server error log.

why?

I need acces 775 to work my script

what can i do?


Title: Re: 500 Internal Server Error
Post by: Farukh Khan on December 04, 2015, 04:06:25 AM
You are using NGINX?
Title: Re: 500 Internal Server Error
Post by: spike on December 04, 2015, 12:34:25 PM
no
i use apache
Title: Re: 500 Internal Server Error
Post by: Gogo on December 04, 2015, 01:04:18 PM
I have same error when i use cms/script default .htaccess files.
Title: Re: 500 Internal Server Error
Post by: Igor S. on December 11, 2015, 10:21:18 AM
Hello.

You can not using a PHP scripts with eXecutable permission if the script not a CGI.
You have to use next permissions:
755 for a directories; 644 for a .php files.