I'm full n00b in mod_rewrite, and what I'm trying to do sounds simple:
instead of having domain.com/ script.php? a = 1 & b = 2 & c = 3 I would like:
domain.com/script | a: 1, b: 2; from: 3
The problem is that my script accepts a large number of parameters in many combinations, and the order is not important, so coding each of them in an expression and waiting for a certain order is not feasible. So can a rule be established that simply passes all the parameters to the script, regardless of the order or number of parameters? So if someone dials
domain.com/script | a: 1; b: 2; j: 7 it will pass all these parameters and values in the same way as with domain.com/ script | b: 2; a: 1 ;?
Thanks!
source
share