RewriteRule ^user/(.*)/(.*) profile.php?user=$1&v=$2 [L]
works for http://10.0.1.5/user/Kevin/wall/
if i do http://10.0.1.5/user/Kevin/wall it 404's. if i do http://10.0.1.5/user/Kevin/ it 404's if i do http://10.0.1.5/user/Kevin it 404's
I tired
RewriteRule ^user/(.*) profile.php?user=$1 [L]
RewriteRule ^user/(.*) profile.php?user=$1 [L]
RewriteRule ^user/(.*)/(.*)/ profile.php?user=$1&v=$2 [L]
RewriteRule ^user/(.*)/(.*) profile.php?user=$1&v=$2 [L]
But it didn't work like i wanted. I want it to work with all 4 possible urls. What should i do?