apache - Laravel: 404 Not Found or 403 Forbidden -


i tried first time laravel framework on vps. in folder have other project folder (without access problem) create project "laravel new test"

i changed permission on "storage" , "bootstrap/cache".

now go page and...

  • "/test/" => returns 403 forbid
  • "/test/index.php" => returns 404 not found

the mod_rewrite enabled. set "allowoverdrive all" main folder.

the .htaccess in test/public default 1 , tried change to:

<ifmodule mod_rewrite.c>     <ifmodule mod_negotiation.c>         options -multiviews     </ifmodule>      options +followsymlinks     rewriteengine on      rewritecond %{request_filename} !-d     rewritecond %{request_filename} !-f     rewriterule ^ index.php [l] </ifmodule> 

restart httpd. restart vps... nothing changed...

what miss?

the default documentroot access content in folder /public can access www.example.com/public/

you should change default root example.com public folder.


Comments