I am in this situation:
url: domain/var1/var2/var3/.../varn
And I want to change that url in:
url: domain?v1=var1&v2=var2&v3=var3/.../&vn=varn
I found this way:
RewriteRule domain/([^/]+)/([^/]+)$ domain/index.php?v1=$1&v2=$2 [QSA,NC]
But as you can see I have to specify all the vars manually...
Is there a way to do it automatically?
Something like: while there is a /([^/]+)
add v{N}=${N}
?
Thanks