Support the ongoing development of Laravel.io →
Configuration
Last updated 2 years ago.
0

The problem is that your htaccess file is redirecting anything that starts with "public", which includes your "publication" routes. You might be able to fix this by changing your htaccess file so the rewrite condition matches everything that doesn't start with "^public/" or "^public$".

Last updated 2 years ago.
0

I gave both a try

RewriteCond %{REQUEST_URI} !^public/

and

RewriteCond %{REQUEST_URI} !^public$

but still get the same error. At least now I know whats causing it.

Last updated 2 years ago.
0

Well thats fixed. I found instructions on how to change the webroot for cpanel based system. Post #2 tells it all.

Last updated 2 years ago.
0

Sign in to participate in this thread!

Eventy

Your banner here too?

hcker2000 hcker2000 Joined 26 Jun 2014

Moderators

We'd like to thank these amazing companies for supporting us

Your logo here?

Laravel.io

The Laravel portal for problem solving, knowledge sharing and community building.

© 2024 Laravel.io - All rights reserved.