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

[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 use

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

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 i use

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

2009-02-26 Thread Krist van Besien
On Thu, Feb 26, 2009 at 1:02 PM, Sam Wootton sam.woot...@gmail.com 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

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. VirtualHost * ServerName

[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

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

2009-02-26 Thread Sam Wootton
2009/2/26 Lester Caine 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 way to fix my problem? If so, i'll wait until i am home to test it

[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

[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

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

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 s...@lingoworld.de: 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                

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

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 s...@lingoworld.de: 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 ('

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

[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

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 s...@lingoworld.de: Think I found it:    AuthLDAPBindDN              ad...@three.two.one The

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] download php apache

2009-02-26 Thread Lester Caine
Sam Wootton wrote: 2009/2/26 Lester Caine les...@lsces.co.uk 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

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

2009-02-26 Thread Davide Bianchi
Ed Avis wrote: http://httpd.apache.org/docs/2.2/mod/mod_authnz_ldap.html 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

[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]

[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

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

2009-02-26 Thread Ed Avis
Davide Bianchi davide at walterisookeensufferukker.nl writes: http://httpd.apache.org/docs/2.2/mod/mod_authnz_ldap.html 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.

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

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

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

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:

[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

[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

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.

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] 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.

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

2009-02-26 Thread Peter Schober
* Davide Bianchi dav...@walterisookeensufferukker.nl [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

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

2009-02-26 Thread Ed Avis
Peter Schober peter.schober at 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.

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 peter.scho...@univie.ac.at wrote: * Davide Bianchi dav...@walterisookeensufferukker.nl [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

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

2009-02-26 Thread Peter Schober
* Eric Covener cove...@gmail.com [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

[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] 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

[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] 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. Server: