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
open /app/config/app.php , check if value of url set right path, eg.
'url' => 'http://localhost/laravel',
then open /public/.htaccess , add rewritebase rule under rewriteengine on line, eg.
rewritebase /laravel/public/
hope helps :)
Comments
Post a Comment