See if they will load with an a href... should.
.html url not returning view (or even 404 error view)
I'm starting a new project to rewrite an existing, mostly static, project in Laravel.
As such, I really, really want to retain the existing URLs, which mostly end in .html
However, I am finding that all routes to .html URLs return what seems to be the Apache Not Found error page - not the correct view, not even the Laravel 404 error page
This is even from a completely unedited install.
Ie, it is returning:
The requested resource /something.html was not found on this server.
If I change the address to /somethinghtml (or anything else without a dot) I get the correct Laravel 404 error:
Sorry, the page you are looking for could not be found.
Is there something I have to do to get Routes to take a '.' in the URL?
Thanks, guys!
The default, yes and no.
Reporting back - I noticed the server was running an old version of PHP (5.4.10) and upgraded to 5.6.10 and (after several days mucking around to get everything else working...) it didnt make any difference. I've started a homestead VM running and it runs perfectly, so its some oddity of the config on that server. Cant imagine what :( Anyway, I got it working via a VM, so all good :)
Please or to participate in this conversation.