sinaowolabi
Technical User
Hi!
Please I need some assistance with mod_rewrite, which works a little TOO well Smile
I am trying to capture 3-4 digits when sent as part of a URL, for them to be proxied to another URL. I have no control over how the source sends this data, I am supposed to redirect it. Which works.
#RewriteCond %{HTTP:whoisd-ussd-message} ([\d]{2,4})
#RewriteRule ^/original/individual.do(.*)$ [P]
The problem is this works for all URLs that have digits to this server.
I am expecting to trap URLs that send digits as part of the first call to the server, but this also affects URL calls that are part of other server call transactions, once digits appear, it gets redirected.
Please what can I do to stop this interference, and differentiate properly between the sessions?
Thanks!
Please I need some assistance with mod_rewrite, which works a little TOO well Smile
I am trying to capture 3-4 digits when sent as part of a URL, for them to be proxied to another URL. I have no control over how the source sends this data, I am supposed to redirect it. Which works.
#RewriteCond %{HTTP:whoisd-ussd-message} ([\d]{2,4})
#RewriteRule ^/original/individual.do(.*)$ [P]
The problem is this works for all URLs that have digits to this server.
I am expecting to trap URLs that send digits as part of the first call to the server, but this also affects URL calls that are part of other server call transactions, once digits appear, it gets redirected.
Please what can I do to stop this interference, and differentiate properly between the sessions?
Thanks!