.htaccess - htaccess not working due to lack of knowledge -


so want send 3 variables (separated slashes) index.php can't working, i'm leek htaccess.

my base url localhost:8888/smbo/

and have code not work:

<ifmodule mod_rewrite.c>     rewriteengine on     rewritebase /smbo/      rewritecond %{request_filename} !-f     rewritecond %{request_filename} !-d     rewriterule ^([a-za-z0-9_-]+)/([a-za-z0-9_-]+)/([a-za-z0-9_-]+)$ index.php?id=$1&idtwo=$2&idthree=$3 </ifmodule> 

who can me?

try code :

rewriteengine on rewritebase /smbo/  rewritecond %{request_filename} !-f rewritecond %{request_filename} !-d rewriterule ^([^/]+)/([^/]+)/([^/]+)$ /index.php?id=$1&idtwo=$2&idthree=$3 

Comments

Popular posts from this blog

html5 - What is breaking my page when printing? -

c# - must be a non-abstract type with a public parameterless constructor in redis -

ajax - PHP/JSON Login script (Twitter style) not setting sessions -