Re: [users@httpd] Add a http header if the request comes from an iphone

2012-04-16 Thread Marcos Filho
ic Covener wrote: > On Mon, Apr 16, 2012 at 10:31 AM, Marcos Filho > wrote: > > Yes, I did copy from my configurations. > > > > I know that this line works if it is isolated: > > 'RequestHeader add deviceType "HighEnd" ' > > > > But I

Re: [users@httpd] Add a http header if the request comes from an iphone

2012-04-16 Thread Marcos Filho
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

[users@httpd] Add a http header if the request comes from an iphone

2012-04-16 Thread Marcos Filho
Hello Guys, I have the following requirement: "Add a http header if the request is from an iphone." ps: this request will be proxied to a apache tomcat server with mod_proxy. I have checked the mod_headers documentation and it says to use the mod_setenvif My apache's version is 2.2.19 and I am