On 10/04/2012 17:03, Mark Hamer wrote:
>
> Hello all
>
>
> Basically I have 2 versions of apache installed.One is an older 2.2.8 and
> the other an updated version of 2.2.21. When I shutdown the older version
> and start the newer version up to use port 80 and 443 it is not working.
On 12.04.12 11:09, Paulo Silva wrote:
Inside a virtualhost is it possible to define an Alias based on the IP of
the incoming request?
I think mod_rewrite can do that...
--
Matus UHLAR - fantomas, uh...@fantomas.sk ; http://www.fantomas.sk/
Warning: I wish NOT to receive e-mail advertising to th
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
> 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?
-
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
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 need to check if the request is from an iphone, and that condition is
> not working at all.
>
>
Hi Eric,
Thank you so much.
I took your advice and I think it is working now.
I did the following configurarion:
BrowserMatchNoCase iphone is_iphone
RequestHeader add deviceType "HighEnd" env=is_iphone
Is it what you mean?
Regards,
Marcos
On Mon, Apr 16, 2012 at 11:39 AM, Eric Covener wrot
Hi all.
I figured out that I will have to make changes in the file
"modules/dav/fs/repos.c" in httpd's code, to add custom properties.
I did manage to tweak around a bit, and things went fine.
So far so good :)
Now, what I really intend is to read a file (on the server side), and
transmit the con
Greetings,
I understand that apache2, using the authnz_ldap module, prefers to
maintain persistent connections to a given LDAP server. While this is
contrary to the way LDAP is intended to be used (e.g: connections without
the UNBIND operation), I am ok with this.
Our LDAP servers themselves hav