apache - .htaccess issue, getting url -


i'm having issue.

i have vagrant box hosting me url (learnphp.dev)

below .htaccess file

rewriteengine on rewritebase / rewritecond %{request_filename} !-f rewritecond %{request_filename} !-d  rewriterule^(.+)$ index.php?uri=$1 [qsa,l] 

it seems every page go home page. can find code below:

https://github.com/mikerodham/simple-router/tree/master

i'm pretty new php starting out simple things. if provide that'd great.

try replace rewriterule this:

rewriterule^(.+)/$ index.php?uri=$1 [qsa,l] 

taken answer


Comments

Popular posts from this blog

c# - Binding a comma separated list to a List<int> in asp.net web api -

how to prompt save As Box in Excel Interlop c# MVC 4 -

xslt 1.0 - How to access or retrieve mets content of an item from another item? -