The requested URL /login was not found on this server.
I keep getting this error after deploying my project . running Ubuntu 14.04 . routes are all working when i run them on development with Xamp but it wouldn't load the login page when i push to production. Please need a bit of help here .
so i have my .htaccess file just like yours.
i tried running a simple test route since all my routes have middlewares of auth .. i tried running that and i had the same error but it works fine on my local machine.
is there something i am missing somewhere
Yeah, xamp with laravel doesn't equal production environment. Hence why homestead or another vim/valet is recommended as it can closely mimic a deployment server where xamp can't.
More then likely you don't have your domain set to public/index.php and/or permission issues.
You running Apache or nginx? All your folders in the root or just public?
@Rocky php info works fine like @jekinney said i think i have not set permissions to the public folder that should be the problem .so many threads online about giving permissions to I am also a bit confused cos i don't want to give all permissions to the public folder which i know is somewhat risky. Is there a standard way to set permissions for the public folder ?
You don't need to, and you should not give permissions to public.
But you do need to ensure that public is the document root, i.e., if you put that phpinfo file into the public folder then it should be readable at http://domain.com/phpinfo.php
@dagfooyo You'd have better luck starting a new thread since this one is marked as "solved" (and over a year old). A lot of people don't look in solved threads unless they are looking for an answer to the same problem they are having.