I thought I once found a way to have as many key-value pairs as i wanted, with the last one being value.htm. So that my url looks like a static .htm page:
- Code: Select all
domain.com/key1-value1-key2-value2-keywhatever-value.htm
- Code: Select all
domain.com/index.php?key1=value1&key2=value2&keywhatever=vaule
So the rewrites to
- Code: Select all
index.php?key1=$1
I guess another way would be to rewrite the whole 'file name' into a var, and then parse it myself with php to get the key/values out of it.
thanks,
juglesh