Dronealone
IS-IT--Management
Hi,
I'm terrible at regex, but trying to learn.
I have used mod_rewrite to rewrite a very simple URL, it works fine for one variable but not sure how to do it for two. Here it is:
RewriteEngine On
RewriteRule /range([0-9]+).stm /rangepage.php?range=$1
I need to add a second var to this called offset which I am happy to appear in the query string of /range123.stm?offset=2
Can somebody show me how to do this please?
Thanks!
I'm terrible at regex, but trying to learn.
I have used mod_rewrite to rewrite a very simple URL, it works fine for one variable but not sure how to do it for two. Here it is:
RewriteEngine On
RewriteRule /range([0-9]+).stm /rangepage.php?range=$1
I need to add a second var to this called offset which I am happy to appear in the query string of /range123.stm?offset=2
Can somebody show me how to do this please?
Thanks!