Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.

siusiak1000's avatar

Internal Server Error on on another server

Hi, I've added my project for a hosting. I configured everything as needed and the website works.

I put the same project on another hosing and only the main page works and the others do not work.

mydomain.com - works

mydomain.com/contact - not works mydomain.com/about - not works

Error:

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

Please contact the server administrator, [no address given] 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.

I gaved chmod -r for public, storage and bootstrap

0 likes
4 replies
Devmaurice's avatar

check folder permmisions on nginx conf.

check permissions on folders : bootstrap,storage and make sure the ownwership of folders is correct.

siusiak1000's avatar
siusiak1000
OP
Best Answer
Level 1

In .htaccess RewriteRule ^ index.php [L]change on RewriteRule ^(.+)$ /index.php/$1 [L]. It works :)

Thanks for the help.

Please or to participate in this conversation.