Closed ftrotter closed 6 years ago
Assuming you are running laravel under the /project/ subdirectory for a domain.
you usually use a custom url-rewrite to ensure that
http://example.com/project/DURC/author/
is rewritten to
http://example.com/project/index.php/DURC/Author/
But in that case the routes need to be build in terms of /DURC/author but the links in all of the templates need to be for /project/DURC/author/
perhaps this is an indication that the whole url calculation method is simplistic and needs to be improved.
No one hosts Laravel this way. It is a bother to code this and it is not worth it.
Assuming you are running laravel under the /project/ subdirectory for a domain.
you usually use a custom url-rewrite to ensure that
http://example.com/project/DURC/author/
is rewritten to
http://example.com/project/index.php/DURC/Author/
But in that case the routes need to be build in terms of /DURC/author but the links in all of the templates need to be for /project/DURC/author/
perhaps this is an indication that the whole url calculation method is simplistic and needs to be improved.