Re: [us...@httpd] authnz_ldap_module: [Bad search filter] error

2009-02-26 Thread Anton Yakimov
Hello Marc! Thanks for reply! Yes, I have ldapsearch, and have already tried it: # extended LDIF # # LDAPv3 # base with scope subtree # filter: sAMAccountName=UsernameToTry # requesting: ALL # ... UsernameToTry info here ... # search result search: 2 result: 0 Success # numResponses: 5 # numE

Re: [us...@httpd] Version of SSL Apache represents...

2009-02-26 Thread Tony Anecito
Yes. I mean SSLv2 or SSLv3 Thanks, -Tony --- On Thu, 2/26/09, jmc wrote: > From: jmc > Subject: Re: [us...@httpd] Version of SSL Apache represents... > To: users@httpd.apache.org > Date: Thursday, February 26, 2009, 8:23 PM > --- Tony Anecito [Thu, Feb 26, 2009 at 02:00:17PM -0800]: > --- >

Re: [us...@httpd] Version of SSL Apache represents...

2009-02-26 Thread jmc
--- Tony Anecito [Thu, Feb 26, 2009 at 02:00:17PM -0800]: --- > Hi All, > > > I got the following returned in the html and trying to figure out what > version of SSL this Apache config supports. The numbers look like module > numbers but not SSL version numbers but I could be wrong. > > Serve

[us...@httpd] Version of SSL Apache represents...

2009-02-26 Thread Tony Anecito
Hi All, I got the following returned in the html and trying to figure out what version of SSL this Apache config supports. The numbers look like module numbers but not SSL version numbers but I could be wrong. Server: Apache/2.0.63 (Unix) mod_ssl/2.0.63 OpenSSL/0.9.8g\r\n Thanks, -Tony

RE: [us...@httpd] Sorry for a stupid question

2009-02-26 Thread Anthony J. Biacco
No, REQUEST_URI represents the path of the request after the http hostname. You want {HTTP_HOST} and it formatted like this: RewriteCond %{HTTP_HOST} ^(mvideo|wap|mobile)\.mysite\.com$ [NC] RewriteRule (.*) http://m.mysite.com/$1 [R=301,L] -Tony --- Manager, IT Operations

[us...@httpd] Sorry for a stupid question

2009-02-26 Thread Charles Payne (Travel Channel)
Guys, Sorry been up for 72 hours on cold meds. Can I do following... RewriteRule %{REQUEST_URI} mvideo.mysite.comhttp://m.mysite.com [NC] RewriteRule %{REQUEST_URI} wap.mysite.comhttp://m.mysite.com [NC] RewriteRule %{REQUEST_URI} mobile.mysite.comhttp://m.mysite.com

Re: [us...@httpd] Confused about LDAP authentication with Active Directory

2009-02-26 Thread Peter Schober
* Eric Covener [2009-02-26 20:06]: > In LDAPv3, the bind is optional. OK, I see it in the RFC. But it seems it's not optional in httpd. Also you can't produce searches without binds with e.g. ldapsearch. And it won't make much of a difference to the OP, since an anonymous bind (i.e. not specifiyi

Re: [us...@httpd] Confused about LDAP authentication with Active Directory

2009-02-26 Thread Eric Covener
On Thu, Feb 26, 2009 at 1:42 PM, Peter Schober wrote: > * Davide Bianchi [2009-02-26 19:33]: >> Well, to be picky, an 100% compliant LDAP server doesn't require to >> bind to do a first-level query, so you should be able to get your DN >> without the need for a fixed username/password. > > Making

[us...@httpd] Re: Confused about LDAP authentication with Active Directory

2009-02-26 Thread Ed Avis
Peter Schober univie.ac.at> writes: >But it seems it's currently simply not possible to configure either >a. to use the provided username "as is", or >b. to fill in a DN-template (e.g. uid=%s,ou=users,dc=example,dc=org) >so this is all rather pointless, until someone contributes code. Thanks fo

Re: [us...@httpd] Confused about LDAP authentication with Active Directory

2009-02-26 Thread Peter Schober
* Davide Bianchi [2009-02-26 19:33]: > Well, to be picky, an 100% compliant LDAP server doesn't require to > bind to do a first-level query, so you should be able to get your DN > without the need for a fixed username/password. Making a "query" without a "bind" in one sentence makes no sense to m

Re: [us...@httpd] Confused about LDAP authentication with Active Directory

2009-02-26 Thread Davide Bianchi
Bennett, Tony wrote: > While this is true for 100% compliant LDAP servers, MS has "embraced and > extended" Well, to be picky, an 100% compliant LDAP server doesn't require to bind to do a first-level query, so you should be able to get your DN without the need for a fixed username/password. D

Re: [us...@httpd] What expire value I should set?

2009-02-26 Thread André Warnier
howard chen wrote: Hello, Consider currently I am using mod_expire to set a HTML file to 15 minutes expire. The file change quite frequently, sometime maybe changed within 15 minutes so I want my user to see the change as soon as possible... Well, in that case set it to expire right away, or

Re: [us...@httpd] Re: Confused about LDAP authentication with Active Directory

2009-02-26 Thread Eric Covener
> If so, it seems unnecessary in the case of Active Directory, since AD allows > you > to bind simply giving username and password (you don't have to give a full DN > when binding). It is unnecessary to perform the search if your users provide something that can bind to the LDAP server directly.

[us...@httpd] What expire value I should set?

2009-02-26 Thread howard chen
Hello, Consider currently I am using mod_expire to set a HTML file to 15 minutes expire. The file change quite frequently, sometime maybe changed within 15 minutes so I want my user to see the change as soon as possible... sometimes the file does not change even for 10 days! So what expire value

Re: [us...@httpd] authnz_ldap_module: [Bad search filter] error

2009-02-26 Thread Marc Patermann
Hi, Anton Yakimov schrieb: Hi everyone, I have a strange error with authnz_ldap_module. I have searched the web and tried a lot of combinations, but nothing helps. This list is my only hope (ok, not the only, I cab also try svnserve+sasl+ldap). Here is my subversion.conf: LoadModule dav_svn_

[us...@httpd] Max-Forwards has reached zero

2009-02-26 Thread Devon Harding
All of a sudden, my Apache server stopped proxying request. On the browser, I get the following error. What causes this? Max-Forwards has reached zero - proxy loop? * * -Devon

RE: [us...@httpd] Confused about LDAP authentication with Active Directory

2009-02-26 Thread Bennett, Tony
> -Original Message- > From: Davide Bianchi [mailto:dav...@walterisookeensufferukker.nl] > Sent: Thursday, February 26, 2009 6:51 AM > To: users@httpd.apache.org > Subject: Re: [us...@httpd] Confused about LDAP authentication with Active > Directory > > Ed Avis wrote: > >

RE: [us...@httpd] ajp mod_jk problem

2009-02-26 Thread Jorge Medina
Look at your mod_jk log file "C:/Program Files/Apache Software Foundation/Tomcat 6.0/conf/mod_jk.log" From: Halil Ağın [mailto:halil.a...@gmail.com] Sent: Wednesday, February 25, 2009 7:24 PM To: users@httpd.apache.org Subject: [us...@httpd] ajp mod_jk probl

RE: [us...@httpd] Range-Request

2009-02-26 Thread Anthony J. Biacco
"Header unset Accept-Ranges" to not send it or "Header set Accept-Ranges: none" to specifically set it to none Fyi, mod_headers module must be loaded. -Tony --- Manager, IT Operations Format Dynamics, Inc. 303-573-1800x27 abia...@formatdynamics.com http://www

RE: [us...@httpd] ajp mod_jk problem

2009-02-26 Thread Anthony J. Biacco
1. Don't use a hostname in your workers file, use an ip 2. Check your mod_jk.log to see if mod_jk is sending the requests to tomcat. 3. Check if you're using a VirtualHost in apache. A VirtualHost will NOT inherit the JkMount directives you've listed. They have to be inside th

[us...@httpd] Re: Confused about LDAP authentication with Active Directory

2009-02-26 Thread Ed Avis
Davide Bianchi walterisookeensufferukker.nl> writes: >> imply that >>Apache connects to the LDAP server using a fixed username and >>password, and then merely queries the existence of an object in the >>directory that matches the username

[us...@httpd] mod_proxy_balancer: additional lbmethods

2009-02-26 Thread florian schröder
Hi everyone! I'd like to know if anyone succeeded in declaring own loadbalancer methods. I'm not able to find the error since I adapted the major part from the original. My error is: ProxySet: unknown lbmethod lbmethod=byfoobar I changed the mod_proxy_balancer.c three times, as required: I ad

[us...@httpd] Bug 46724 and Bug 46490

2009-02-26 Thread Tanguy Mezzano
Hello, I face an issue when trying to start apache service. I see that this issue is reported in bugs 46724 and bug 46490 but no action has been investigated until now. I get this in error.log: *[Thu Feb 26 15:20:44 2009] [notice] Server built: Dec 10 2008 00:10:06 [Thu Feb 26 15:20:44 2009] [er

Re: [us...@httpd] Confused about LDAP authentication with Active Directory

2009-02-26 Thread Davide Bianchi
Ed Avis wrote: > imply that > Apache connects to the LDAP server using a fixed username and > password, and then merely queries the existence of an object in the > directory that matches the username. If so how does it check the > password

Re: [us...@httpd] download php apache

2009-02-26 Thread Lester Caine
Sam Wootton wrote: 2009/2/26 Lester Caine mailto:les...@lsces.co.uk>> Sam Wootton wrote: Hi, Many thanks for the help. I tried that, and i still got the same problem. However, it could be being cached i guess. Is what you suggested a sure fire w

RE: [us...@httpd] ajp mod_jk problem

2009-02-26 Thread Griffith, Michael *
It's been a while since I've used Tomcat, but it seems to me that that port 8009 is not configured to listen for AJP requests out of the box. Check your tomcat/conf/server.xml file for an AJP connector listening on port 8009. It may be in the file, but commented out. MG __

Re: [us...@httpd] authnz_ldap_module: [Bad search filter] error

2009-02-26 Thread Anton Yakimov
Oh, it's not the cause also. If AuthLDAPBindDN or AuthLDAPBindPassword is incorrect, such message should be logged: [LDAP: ldap_simple_bind_s() failed][Invalid credentials] 2009/2/26 Sascha Kersken : > Think I found it: > >>    AuthLDAPBindDN              "ad...@three.two.one" > > The value of Aut

[us...@httpd] Confused about LDAP authentication with Active Directory

2009-02-26 Thread Ed Avis
Hi, I have been reading the list archives and searching the web for how to configure Apache to authenticate users using Active Directory but I think I may be missing some obvious points. Hopefully someone can explain what I'm missing. Apache is running on the only Linux machine in a Windows netwo

Re: [us...@httpd] authnz_ldap_module: [Bad search filter] error

2009-02-26 Thread Sascha Kersken
Think I found it: AuthLDAPBindDN "ad...@three.two.one" The value of AuthLDAPBindDN must be a valid LDAP DN (something like cn=username,dc=mydomainname...), but you are using something that looks like an email address. Consequently, your log entry complains about user authen

Re: [us...@httpd] authnz_ldap_module: [Bad search filter] error

2009-02-26 Thread Anton Yakimov
Thanks again, Sascha. I must say, that this problem is really strange, only few pages in the web.. 2009/2/26 Sascha Kersken : >> But unfortunately it's not the cause.. > > No, and I've got to correct my previous answer: RFC 2253 states that > "Implementations MUST allow for space (' ' ASCII 32) c

Re: [us...@httpd] authnz_ldap_module: [Bad search filter] error

2009-02-26 Thread Sascha Kersken
But unfortunately it's not the cause.. No, and I've got to correct my previous answer: RFC 2253 states that "Implementations MUST allow for space (' ' ASCII 32) characters to be present between name-component and ',', between attributeTypeAndValue and '+', between attributeType and '=', and b

Re: [us...@httpd] authnz_ldap_module: [Bad search filter] error

2009-02-26 Thread Anton Yakimov
Thanks for reply, Sascha! But unfortunately it's not the cause.. 2009/2/26 Sascha Kersken : > Hi, > >> I have a strange error with authnz_ldap_module. >> I have searched the web and tried a lot of combinations, but nothing >> helps. >>    AuthLDAPUrl                 "ldap://server.three.two.one:3

Re: [us...@httpd] authnz_ldap_module: [Bad search filter] error

2009-02-26 Thread Sascha Kersken
Hi, I have a strange error with authnz_ldap_module. I have searched the web and tried a lot of combinations, but nothing helps. AuthLDAPUrl "ldap://server.three.two.one:389/dc=three, dc=two, dc=one?sAMAccountName?sub?(objectClass=*) NONE" There must not be blanks between t

[us...@httpd] authnz_ldap_module: [Bad search filter] error

2009-02-26 Thread Anton Yakimov
Hi everyone, I have a strange error with authnz_ldap_module. I have searched the web and tried a lot of combinations, but nothing helps. This list is my only hope (ok, not the only, I cab also try svnserve+sasl+ldap). Here is my subversion.conf: LoadModule dav_svn_module modules/mod_dav_svn

[us...@httpd] Range-Request

2009-02-26 Thread Jitesh Shah
Hi, I am grappling with a problem related to Range-Requests. Thing is, I want to disable range-requests on the server-side. I see that my apache instance belts out packets with "Accept-Ranges: bytes" header set. I tried to find config option in /etc/httpd/conf.d to disable range-requests, but cou

Re: [us...@httpd] download php apache

2009-02-26 Thread Sam Wootton
2009/2/26 Lester Caine > Sam Wootton wrote: > >> Hi, >> >> Many thanks for the help. >> >> I tried that, and i still got the same problem. >> >> However, it could be being cached i guess. >> >> Is what you suggested a sure fire way to fix my problem? If so, i'll wait >> until i am home to test it

[us...@httpd] mod_setenvinf OID() and x509v3 extension

2009-02-26 Thread Adam
Hello, We're trying to extract an extension field value from an x509v3 certificate into an environment variable. (Or get the value and pass it somehow to a Zope 3 application, which is currently running as a separate process, using RewriteRule ... [P,L] on win32) I just realized that something li

Re: [us...@httpd] download php apache

2009-02-26 Thread Lester Caine
Sam Wootton wrote: Hi, Many thanks for the help. I tried that, and i still got the same problem. However, it could be being cached i guess. Is what you suggested a sure fire way to fix my problem? If so, i'll wait until i am home to test it properly. ServerName example.com ServerA

Re: [us...@httpd] download php apache

2009-02-26 Thread Krist van Besien
On Thu, Feb 26, 2009 at 1:02 PM, Sam Wootton wrote: > Hi, > > Many thanks for the help. > > I tried that, and i still got the same problem. > > However, it could be being cached i guess. > > Is what you suggested a sure fire way to fix my problem? If so, i'll wait > until i am home to test it prop

Re: [us...@httpd] download php apache

2009-02-26 Thread Sam Wootton
Hi, Many thanks for the help. I tried that, and i still got the same problem. However, it could be being cached i guess. Is what you suggested a sure fire way to fix my problem? If so, i'll wait until i am home to test it properly. Regards, Sam 2009/2/26 Matus UHLAR - fantomas > On 26.02.09

Re: [us...@httpd] download php apache

2009-02-26 Thread Matus UHLAR - fantomas
On 26.02.09 11:50, Sam Wootton wrote: > When i visit "www.example.com" my site works fine. However, if i visit " > http://example.com"; it get a download dialog, asking me if i want to > download this php, instead. > > Obviously i don't want this - i just want the site to behave as it does when >

[us...@httpd] download php apache

2009-02-26 Thread Sam Wootton
Hi, I have a php script in my DocumentRoot. When i visit "www.example.com" my site works fine. However, if i visit " http://example.com"; it get a download dialog, asking me if i want to download this php, instead. Obviously i don't want this - i just want the site to behave as it does when i u

Re: [us...@httpd] Mixing rewrite with authn_dbd: Rewriting based on path value stored in mysql table

2009-02-26 Thread Roman Medina-Heigl Hernandez
Krist van Besien escribió: > That is just a guess however, can't try this out myself. Note to the > original poster: If you get this working could you post your solution > here? Of course, Krist. But before I could test it, I have to upgrade my Debian vm (etch->lenny), since mod-dbd seems to be ha