Re: [EMAIL PROTECTED] Invoking single app for everything in a hierarchy

2008-10-21 Thread Erik Westland
Justin et al, That is promising, but I can't alter any of the request parameters before the filter has a chance to record them. I haven't tried this solution yet, but I believe URL rewriting will change the request params to reflect the new target. This could work if my filter was run before

Re: [EMAIL PROTECTED] Serving content for hand held devices and phones?

2008-10-21 Thread Peter Horn
Hi, My first post here, so be gentle :) I'm doing exactly this - downloading java apps to mobile phones, which can then access content at the same URL using http. My technique is to pull apart the User-Agent header (see docs for BrowserMatch), then use some php to crunch the results. (The crunch

RE: [EMAIL PROTECTED] Serving content for hand held devices and phones?

2008-10-21 Thread Tamer Embaby
Knute, I believe this would depend on detecting the user agent and serving content accordingly. PDAs and phones declare themselves (mostly) in User-Agent HTTP header. Regards, Tamer -Original Message- From: Knute Johnson [mailto:[EMAIL PROTECTED] Sent: Tuesday, October 21, 2008 7:53 PM

Re: [EMAIL PROTECTED] startup problem: httpd-2.2.10 and undefined symbol: dav_push_error

2008-10-21 Thread [EMAIL PROTECTED]
[EMAIL PROTECTED] wrote: > -Download httpd-2.2.10 sources and built using the following command > > $ ./configure --prefix=/usr/local/bin/apache2 --enable-mods-shared="dav > dav_fs dav_lock rewrite ssl" --with-port=80 > $ make > $ make install > > -modified /usr/local/bin/apache2/conf/httpd.conf by

Re: [EMAIL PROTECTED] mod_authnz_ldap module and Microsoft AD LDAP Server

2008-10-21 Thread André Warnier
Thanks. That info might very well save me a couple of days of scratching my head some time soon. André Eric Covener wrote: On Tue, Oct 21, 2008 at 1:43 PM, André Warnier <[EMAIL PROTECTED]> wrote: Eric Covener wrote: On port 389, MSAD might send you on a lengthy wild goose-chase of LDAP re

Re: [EMAIL PROTECTED] startup problem: httpd-2.2.10 and undefined symbol: dav_push_error

2008-10-21 Thread [EMAIL PROTECTED]
[EMAIL PROTECTED] wrote: > -Download httpd-2.2.10 sources and built using the following command > > $ ./configure --prefix=/usr/local/bin/apache2 --enable-mods-shared="dav > dav_fs dav_lock rewrite ssl" --with-port=80 > $ make > $ make install > > -modified /usr/local/bin/apache2/conf/httpd.conf by

Re: [EMAIL PROTECTED] mod_authnz_ldap module and Microsoft AD LDAP Server

2008-10-21 Thread Eric Covener
On Tue, Oct 21, 2008 at 1:43 PM, André Warnier <[EMAIL PROTECTED]> wrote: > Eric Covener wrote: >> >> On port 389, MSAD might send you on a lengthy wild goose-chase of LDAP >> referrals. >> > Eric, can you elaborate a bit on that, or direct me/us to some additional > information ? > This is not dir

Re: [EMAIL PROTECTED] mod_authnz_ldap module and Microsoft AD LDAP Server

2008-10-21 Thread André Warnier
Eric Covener wrote: On Tue, Oct 21, 2008 at 1:58 PM, Rodney Ramos <[EMAIL PROTECTED]> wrote: Hi, Eric. Thank you for your answers. I´ve tried to do what you said, setting the directive AuthBasicProvider as below: AuthBasicProvider ldap file But the problem is the same. Apache doen´t check the

Re: [EMAIL PROTECTED] mod_authnz_ldap module and Microsoft AD LDAP Server

2008-10-21 Thread Eric Covener
On Tue, Oct 21, 2008 at 1:58 PM, Rodney Ramos <[EMAIL PROTECTED]> wrote: > Hi, Eric. Thank you for your answers. > > I´ve tried to do what you said, setting the directive AuthBasicProvider as > below: > > AuthBasicProvider ldap file > > But the problem is the same. Apache doen´t check the flat file

[EMAIL PROTECTED] Url decoding problem with the ProxyPassReverse

2008-10-21 Thread Petter Olofsson
Hi, I'm running Apache 1.3 and Resin 3.1.6 on Ubuntu. The problem is that slashed urls forwarded to the resin server are decoded twice, first in apache and then in resin. Requests are going to Apache and are forwarded to the Resin server with the ProxyPassReverse command. The rewrite is looking

Re: [EMAIL PROTECTED] Serving content for hand held devices and phones?

2008-10-21 Thread André Warnier
Knute Johnson wrote: What is the normal procedure to serve up different content for small hand held devices like phones and PDAs? ? Just kidding, I'm curious too. - The official User-To-User support forum of the Apache HTTP

Re: [EMAIL PROTECTED] Invoking single app for everything in a hierarchy

2008-10-21 Thread Justin Pasher
Erik Westland wrote: Hello, I would like to direct requests for everything (cgi, pl, html, etc) under the root directory to a single CGI. The catch is that I would like the parameters to remain unchanged; passed to the single handler. For example, for the following: - /index.html - /foo/fake.

Re: [EMAIL PROTECTED] mod_authnz_ldap module and Microsoft AD LDAP Server

2008-10-21 Thread Rodney Ramos
Hi, Eric. Thank you for your answers. I´ve tried to do what you said, setting the directive AuthBasicProvider as below: AuthBasicProvider ldap file But the problem is the same. Apache doen´t check the flat file, as you can see in the log below:

[EMAIL PROTECTED] Serving content for hand held devices and phones?

2008-10-21 Thread Knute Johnson
What is the normal procedure to serve up different content for small hand held devices like phones and PDAs? Thanks, -- knute... - The official User-To-User support forum of the Apache HTTP Server Project. See http://httpd.ap

Re: [EMAIL PROTECTED] mod_authnz_ldap module and Microsoft AD LDAP Server

2008-10-21 Thread André Warnier
Eric Covener wrote: On port 389, MSAD might send you on a lengthy wild goose-chase of LDAP referrals. Eric, can you elaborate a bit on that, or direct me/us to some additional information ? This is not directly related to the OP's issue, but I'm doing a lot of AAA related stuff these days, an

Re: [EMAIL PROTECTED] mod_authnz_ldap module and Microsoft AD LDAP Server

2008-10-21 Thread Eric Covener
On Tue, Oct 21, 2008 at 12:59 PM, Rodney Ramos <[EMAIL PROTECTED]> wrote: > I´m trying to use the mod_authnz_ldap module to authenticate the users in a > Microsoft AD LDAP Server, but I´m having a lot of problems. > > The only configuration that worked was: > > AuthName "" > AuthType Basic > Au

[EMAIL PROTECTED] mod_authnz_ldap module and Microsoft AD LDAP Server

2008-10-21 Thread Rodney Ramos
I´m trying to use the mod_authnz_ldap module to authenticate the users in a Microsoft AD LDAP Server, but I´m having a lot of problems. The only configuration that worked was: AuthName "" AuthType Basic AuthBasicProvider ldap AuthLDAPUrl "ldap://ldapserver:3268/dc=domain,dc=com?cn"; AuthLDAPB

[EMAIL PROTECTED] Paul Hunter is out of the office.

2008-10-21 Thread Paul Hunter
I will be out of the office starting 20/10/2008 and will not return until 03/11/2008. This is an automated message. I am out of the office. I will respond to your message when i return. Please contact Keith Dumble if urgent. Paul

Re: [EMAIL PROTECTED] Conditional Blocks based upon Remote IP Address

2008-10-21 Thread André Warnier
Torsten Foertsch wrote: On Tue 21 Oct 2008, Clint Priest wrote: When the php module is installed into apache there is a php_flag and php_value directive available which could be used to set the value from within Apache, the only trick is to only have them take effect for certain remote ips. The

Re: [EMAIL PROTECTED] Conditional Blocks based upon Remote IP Address

2008-10-21 Thread Torsten Foertsch
On Tue 21 Oct 2008, Clint Priest wrote: > When the php module is installed into apache there is a php_flag and > php_value directive available which could be used to set the value > from within Apache, the only trick is to only have them take effect > for certain remote ips.  They would be: > > php

Re: [EMAIL PROTECTED] Conditional Blocks based upon Remote IP Address

2008-10-21 Thread Clint Priest
When the php module is installed into apache there is a php_flag and php_value directive available which could be used to set the value from within Apache, the only trick is to only have them take effect for certain remote ips. They would be: php_flag display_errors On php_flag display_startu

Re: [EMAIL PROTECTED] Conditional Blocks based upon Remote IP Address

2008-10-21 Thread André Warnier
Clint Priest wrote: Well more specifically with php its a security risk to enable display_errors and display_startup_errors and so I'm looking for a way to enable those features (before php executes and thus within apache) for only certain remote ip addresses (the developer boxes). Do you kno

Re: [EMAIL PROTECTED] Conditional Blocks based upon Remote IP Address

2008-10-21 Thread Clint Priest
Well more specifically with php its a security risk to enable display_errors and display_startup_errors and so I'm looking for a way to enable those features (before php executes and thus within apache) for only certain remote ip addresses (the developer boxes). Do you know of a perl add-on th

Re: [EMAIL PROTECTED] Environment variables in rewrite rule

2008-10-21 Thread André Warnier
Roberto Allende wrote: Hello I need to write a rule like this: RewriteRule ^/RSS$ http://127.0.0.1:8080/VirtualHostBase/http/mydomain.com:80/RSS?set_lang=en/VirtualHostRoot/ [L,P,NC] The problem is the "RSS?set_lang=en" part because after the ? it doens't work. I tried with NE and it doesn't w

Re: [EMAIL PROTECTED] Conditional Blocks based upon Remote IP Address

2008-10-21 Thread André Warnier
Clint Priest wrote: Clint Priest wrote: Is there any way to have some directives apply only to certain remote ip addresses? I would like to enable a few things only for a certain set of IP addresses. Apart from the answers you already got, you should have a look at SetEnvIf. This will set a

Re: [EMAIL PROTECTED] Multiple rewrite rules

2008-10-21 Thread Sascha Kersken
Hi, I have a quick question regarding multiple mod_rewrite rules. Our security nazis have told us that we need to disable the HTTP TRACE method on our servers. The version we are using (2.0.52-41.ent, i.e. RedHat's rpm) doesn't have the TraceEnable option so we need to use the RewriteRule meth

[EMAIL PROTECTED] Multiple rewrite rules

2008-10-21 Thread Tony Stocker
Hello All, I have a quick question regarding multiple mod_rewrite rules. Our security nazis have told us that we need to disable the HTTP TRACE method on our servers. The version we are using (2.0.52-41.ent, i.e. RedHat's rpm) doesn't have the TraceEnable option so we need to use the RewriteRule

RE: [EMAIL PROTECTED] Apache Worker MPM: Optimizing

2008-10-21 Thread Tom Evans
On Tue, 2008-10-21 at 00:20 +0200, Leslie Herps || Novacle B.V. wrote: > Hello, > > and thank you for your reply! > > > Have you read the documentation on these settings?, it is fairly > > helpfull in getting a basic idea of what to tune. > > Yes, I have. It tells me what it is and does, but doe

Re: [EMAIL PROTECTED] LDAP hangs when trying to authenticate

2008-10-21 Thread Tod
Mike Benza wrote: I can't figure out how ldapsearch is connecting -- either via LDAP or LDAPS. I'm so confused. Here's what I ran: ldapsearch -x -W -D "cn=ewb,ou=service accounts,dc=rice,dc=edu" -b "ou=People,dc=rice,dc=edu" '(uid=XYZ)' -h ldap.rice.edu I don't kno

RE: [EMAIL PROTECTED] Apache Worker MPM: Optimizing

2008-10-21 Thread Gerhardus.Geldenhuis
Hi Lesly I don't know if you have ever watched how they balance a car wheel, but if not. They bolt it to an electrical motor and spin it around. There is sensors on this motor that detect where weight needs to be added to get the wheel balanced so it wont vibrate when driving above 100km/h. What I

[EMAIL PROTECTED] Re:[EMAIL PROTECTED] improve security and stability in compilation

2008-10-21 Thread GanGan
ou ou ! :) On Mon, 20 Oct 2008 16:40:55 +0200, GanGan <[EMAIL PROTECTED]> wrote: > > Hello all, > > That's how I compile my apache server > > ./configure --prefix=/opt/httpd2210 --enable-modules=most > --enable-mods-shared=all --enable-rewrite --enable-unique-id --enable-ssl > --with-ssl=/opt/