Re: Add a http header if the request comes from an iphone

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Yes, I did copy from my configurations.

I know that this line works if it is isolated:
'RequestHeader add deviceType  "HighEnd" '

But I need to check if the request is from an iphone, and that condition is not working at all.

Do you have any idea how I can fix it?


On Mon, Apr 16, 2012 at 11:27 AM, Eric Covener <covener@xxxxxxxxx> wrote:
> SetEnvIf %{HTTP_USER_AGENT} value "iphone" [NC]
> RequestHeader add deviceType  "HighEnd"
>
> SetEnvIf User-Agent value "iphone" [NC]
> RequestHeader add deviceType  "HighEnd"

This  seems completely wrong, did you copy and paste from your configuration?

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx



[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux