php - Laravel 4 pretty ulrs not working -


i'm using xampp 1.8.3.

my .htacces (in public folder)

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

all "allowoverride" of httpd.conf set "all".

uncommented:

loadmodule rewrite_module modules/mod_rewrite.so 

i don't use virtualhosts (should i?).

/public/index.php/something works /public/something not.

what missing?

are path's set right?

check following

  1. open /app/config/app.php , check if value of url set right path, eg.

    'url' => 'http://localhost/laravel',

  2. then open /public/.htaccess , add rewritebase rule under rewriteengine on line, eg.

    rewritebase /laravel/public/

hope helps :)


Comments

Popular posts from this blog

java - Run a .jar on Heroku -

java - Jtable duplicate Rows -

validation - How to pass paramaters like unix into windows batch file -