Re: [users@httpd] Mapping a whole set of remote servers into a local URL space

2012-04-16 Thread Simone Caruso
On 13/04/2012 14:59, Fabrizio Pollastri wrote: Hello, I looking for a way to map and to proxy a whole set of remote servers (may be specified by regex) into a local URL space. For example, all remote server having .org TLD, mapped below the local URL

Re: [users@httpd] Question regarding apache not listening on port 80 and 443.....

2012-04-16 Thread Simone Caruso
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. Both

Re: [users@httpd] Alias based on IP address

2012-04-16 Thread Matus UHLAR - fantomas
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

[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

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

2012-04-16 Thread Eric Covener
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?

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

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

2012-04-16 Thread Eric Covener
On Mon, Apr 16, 2012 at 10:31 AM, Marcos Filho marcosfilh...@gmail.com 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

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

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

[users@httpd] Re: Is it possible to add custom properties in WebDAV, on the server side?

2012-04-16 Thread Ajay Garg
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

[users@httpd] authnz_ldap LDAP bind + Error 500

2012-04-16 Thread Grope Fruit
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