November 19, 2009 04:01AM
Thanks :), but I still need one more thing to make it usable. This comparison $http_my_header ~ (\d+) must work on concrete values from file, namely

In file called header_value.file I would like to have

header_value1
header_value2
header_value3

and comparison $http_my_header ~ (\d+) should check whether any value from header_value.file is in $http_my_header
Subject Author Posted

Redirect based on header value.

zestriddle November 18, 2009 03:42AM

Re: Redirect based on header value.

Nick Pearson November 18, 2009 11:30PM

Re: Redirect based on header value.

zestriddle November 19, 2009 04:01AM

Re: Redirect based on header value.

Igor Sysoev November 19, 2009 04:20AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 188
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 500 on July 15, 2024
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready