Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  1. sinaowolabi

    mod_rewrite help needed to differentiate sessions

    Thanks, but I am not seeking mod_rewrite headers... I'm trying to get all the URLs being requested from the apache server in full, including any hidden values. Sorry again for the late response, its been crazy in the gutters.
  2. sinaowolabi

    mod_rewrite help needed to differentiate sessions

    Hi Chris, sorry for the late reply! Actually, the first URL seen by the server (from the logs) is usually like the below, and I really cant tell all of the strings and how they will appear (like TextfromUser did). I am just sure there will be a 3-4 digit number sent, and it will be between...
  3. sinaowolabi

    mod_rewrite help needed to differentiate sessions

    {HTTP:whoisd-ussd-message} represents a string of characters that is sent to apache server from the server that's trying to GET an URL. It can be anything from a single digit to a phone number, or a name, etc. For instance from this log: 192.168.2.251 - - [11/Nov/2014:02:42:17 +0100] "-"...
  4. sinaowolabi

    mod_rewrite help needed to differentiate sessions

    Hi Chris, I think I have gotten what I need at this point: RewriteCond %{HTTP:whoisd-ussd-message} ^\d{3,4}$ #do not honor if string is found RewriteCond %{QUERY_STRING} !string= [NC] RewriteRule ^/original/individual.do(.*)$ https://some.other/site/011$1 [L,P] I just have one more question...
  5. sinaowolabi

    mod_rewrite help needed to differentiate sessions

    Hi Chris, and thanks for the reply, I have changed things like you advised, but its still happening. What I have there is now: RewriteCond %{HTTP:whoisd-ussd-message} ^\d{3,4}$ RewriteRule ^/original/individual.do(.*)$ https://some.other/site/011$1 [L,P] It is still catching random 3-4 digit...
  6. sinaowolabi

    mod_rewrite help needed to differentiate sessions

    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...

Part and Inventory Search

Back
Top