-
-
Notifications
You must be signed in to change notification settings - Fork 527
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Website routing not working on live server #371
Comments
+1 |
If you're using the latest OVH servers, this solved my issue: |
Are you using shared hosting or a VPS where you have SSH access? FastCGI doesn't work well with Lime, the micro framework PHP behind Cockpit, that Artur have developed $app = new Lime\App([
'base_url' => BASE_URL,
'base_route' => BASE_ROUTE,
'route' => preg_replace('#'.preg_quote(BASE_URL, '#').'#', '', parse_url($_SERVER['REQUEST_URI'], PHP_URL_PATH), 1)
]); |
Thanks @baptistebriel (yes, one year later), it was that OVH issue... I've had it on another website going in production. |
Hello,
I migrated my website to the live server today. But I get "Path not found." message when I want to load it. It's the same files and the server configuration supports Cockpit.
What could be wrong in the live server ?
Do I have to change something in the .htaccess ? Is there other configuration variables to change ?
My .htaccess :
Tell me if you need some other informations, I don't know what to do at all :/
I have the feeling that the server always falls back to / event when I try to load other page routes.
Thanks
The text was updated successfully, but these errors were encountered: