.htaccess - Why is my laravel 5.1.* project not working properly on XAMPP linux -


i have been working on 2 laravel 5.1.* projects. have been using built-in server , running projects so:

php artisan serve http://localhost:8000 

everything has been working have copied both projects , place in htdocs directory , accessing them so:

project one: http://localhost/lara_rocks1/public/

this works when navigate across pages no authentication , registration function works. use the traits shipped laravel implement auth. example, when click login, logout etc, page refreshes , nothing happens. can problem?

project two: http://localhost/the_future/public/auth/login

for case, blank page shown. missing out?

below content of .htaccess file in public folder:

<ifmodule mod_rewrite.c>     <ifmodule mod_negotiation.c>         options -multiviews     </ifmodule>      rewriteengine on      # redirect trailing slashes if not folder...     rewritecond %{request_filename} !-d     rewriterule ^(.*)/$ /$1 [l,r=301]      # handle front controller...     rewritecond %{request_filename} !-d     rewritecond %{request_filename} !-f     rewriterule ^ index.php [l] </ifmodule> 

appreciate help

had same problem yours in project 2. me storage folder did not have write permition use:

sudo chmod -r 777 storage/ 

for project 1 file

vendor/laravel/framework/src/illuminate/foundation/auth 

here paths , redirects implemented register,login,logout functions in laravel

hope helps


Comments

Popular posts from this blog

ruby - Trying to change last to "x"s to 23 -

jquery - Clone last and append item to closest class -

css - Can I use the :after pseudo-element on an input field? -