Re: [us...@httpd] Regarding OpenLDAP Access From Apache

2009-09-21 Thread Asimananda Mohanty
Hi, I did run some openssl commands and here is what I saw. # openssl s_client -connect :636 verify error:num=20:unable to get local issuer certificate verify return:1 verify error:num=21:unable to verify the first certificate verify return:1 No client certificate CA names sent --- SSL handsha

Re: [us...@httpd] PHP5

2009-09-21 Thread Silvio Siefke
Serge Fonville schrieb: > > It were it. But as module Apache running not and write no log. I > don't know > > why apache dosen't start, when i write config for module. > > > What steps have you taken to run it as a module, because all I needed to > do was: > Add php to the path > Ad

Re: [us...@httpd] htaccess using AuthCookieDBI not protecting the directory index

2009-09-21 Thread André Warnier
Tosh Cooey wrote: Everything looks fine, except this "Converting POST -> GET" part. I don't know if it is, but I know that when the AUTH is working properly that doesn't occur. Ha. The POST -> GET conversion is a clever little trick of the author, used only in some cases. Reminder : A PO

Re: [us...@httpd] Mod_ssl configuration problem with module?

2009-09-21 Thread Nick Kew
Joe Nardone wrote: We have an existing module on 1.3 which we're porting (finally) to 2.2. This is primarily a set of content handlers. With content handlers, upgrading should be straightforward. I'm seeing strange SSL behavior (all of our clients connect to this through SSL). Specifically,

Re: [us...@httpd] PHP5

2009-09-21 Thread Nick Kew
Silvio Siefke wrote: Hello, i want to configure Apache2 under Windows Server 2003. The follow lines i have write: Action application/x-httpd-php "/php/php-cgi.exe" AddHandler application/x-httpd-php .php That AddHandler is for mod_php. To run PHP as CGI, you'd want the cgi-script Handler. C

[us...@httpd] Mod_ssl configuration problem with module?

2009-09-21 Thread Joe Nardone
We have an existing module on 1.3 which we're porting (finally) to 2.2. This is primarily a set of content handlers. I'm seeing strange SSL behavior (all of our clients connect to this through SSL). Specifically, under 1.3 when our module would write data (ap_rprintf) and then return OK, the hea

Re: [us...@httpd] PHP5

2009-09-21 Thread Serge Fonville
> It were it. But as module Apache running not and write no log. I don't know why apache dosen't start, when i write config for module. What steps have you taken to run it as a module, because all I needed to do was:Add php to the path Add a module line Add phpinidir to httpd.conf This is descr

Re: [us...@httpd] PHP5

2009-09-21 Thread Silvio Siefke
Serge Fonville schrieb: > > What is the reason you wan't to run php as cgi > > Yes i want when its run. > > Why do you want to run it as cgi? > What makes that running as a module isn't an option? It were it. But as module Apache running not and write no log. I don't know why apache dose

Re: [us...@httpd] PHP5

2009-09-21 Thread Serge Fonville
> > > What is the reason you wan't to run php as cgi > > Yes i want when its run. > Why do you want to run it as cgi? What makes that running as a module isn't an option? Regards, Serge Fonville > > > Now the follow entry in the log: > [Mon Sep 21 20:01:10 2009] [error] [client] client denied b

Re: [us...@httpd] PHP5

2009-09-21 Thread Silvio Siefke
Serge Fonville schrieb: > What is the reason you wan't to run php as cgi Yes i want when its run. Now the follow entry in the log: [Mon Sep 21 20:01:10 2009] [error] [client] client denied by server configuration: C:/PHP/php-cgi.exe php.conf ScriptAlias /php/ "C:/php/" AddHandler php-script .ph

Re: [us...@httpd] PHP5

2009-09-21 Thread Serge Fonville
Hi, i want to configure Apache2 under Windows Server 2003. > > The follow lines i have write: > Action application/x-httpd-php "/php/php-cgi.exe" > AddHandler application/x-httpd-php .php > > Apache Dir > c:\apache2 > PHP Dir > c:\php > > The follow error Messages come: > [Mon Sep 21 19:41:34 2009

[us...@httpd] PHP5

2009-09-21 Thread Silvio Siefke
Hello, i want to configure Apache2 under Windows Server 2003. The follow lines i have write: Action application/x-httpd-php "/php/php-cgi.exe" AddHandler application/x-httpd-php .php Apache Dir > c:\apache2 PHP Dir > c:\php The follow error Messages come: [Mon Sep 21 19:41:34 2009] [error] [cli

[us...@httpd] ScriptAliasMatch not working on unix

2009-09-21 Thread Cameron Smith
I was running an Apache Server version 2.2 on Windows. I was using ActiveState Perl as my perl installation. I had some other code which was going to make a request of my IP address (http://127.0.0.1/), and thus be requesting '/', I needed to redirect this request to a handler script. Thus I added

Re: [us...@httpd] htaccess using AuthCookieDBI not protecting the directory index

2009-09-21 Thread Tosh Cooey
From: André Warnier Date: Tue, 15 Sep 2009 01:50:05 +0200 To: users@httpd.apache.org Tosh Cooey wrote: ... Maybe I'll bug the author of the module now. I just had a quick look at AuthCookieDBI, which subclasses AuthCookie. In AuthCookie->authenticate(), there is indeed a check for sub-reques

[us...@httpd] A question about defining LB in workers.properties

2009-09-21 Thread thomas2004
Hi all, I am going to configure a LB in workers.properties. There are 3 workers. >From the example from internet I found I have two alternatives: Alternative1: worker.list=worker_fathers1 worker.template.connection_pool_timeout=600 worker.template.socket_timeout=120 worker.template

Re: [us...@httpd] Regarding OpenLDAP Access From Apache

2009-09-21 Thread Peter Schober
* Asimananda Mohanty [2009-09-21 14:37]: > Should I assume that the certificate presented to apache is not the correct > one? > But the same certificate works fine when I use it on my ldap server where > the ldap client is also installed. Get the ldap command line client to work on the same machi

Re: [us...@httpd] Regarding OpenLDAP Access From Apache

2009-09-21 Thread Asimananda Mohanty
Should I assume that the certificate presented to apache is not the correct one? But the same certificate works fine when I use it on my ldap server where the ldap client is also installed. Regards Asimananda On Mon, Sep 21, 2009 at 5:54 PM, Peter Schober wrote: > * Asimananda Mohanty [2009-09-

Re: [us...@httpd] Regarding OpenLDAP Access From Apache

2009-09-21 Thread Peter Schober
* Asimananda Mohanty [2009-09-21 14:11]: > I can see client hello, server hello, certificate from server, server hello > done, encrypted handshake messages on my packet sniffer. > Well, I can see some checksum error in the server hello, certificate, > encrypted handshake messages. > > For all the

Re: [us...@httpd] Regarding OpenLDAP Access From Apache

2009-09-21 Thread Asimananda Mohanty
I can see client hello, server hello, certificate from server, server hello done, encrypted handshake messages on my packet sniffer. Well, I can see some checksum error in the server hello, certificate, encrypted handshake messages. For all the above messages, port 636 on my ldap server has been u

Re: [us...@httpd] Regarding OpenLDAP Access From Apache

2009-09-21 Thread Peter Schober
* André Warnier [2009-09-21 13:51]: > If "ldaps" means "secure LDAP" (as in SSL), then all packets would > be encrypted, and your protocol analyser may just not be able to > detect them. Well, at least a TCP connect to (default) port 636 should be in the trace (not that I'm saying there is) or in

Re: [us...@httpd] Regarding OpenLDAP Access From Apache

2009-09-21 Thread André Warnier
Asimananda Mohanty wrote: Hi, In continuation to my below mails : I snooped the packets and found that in case of "ldap" url, apache is sending bind request towards my ldap server whereas in case of "ldaps" url, no such bind request towards ldap server is seen. Are you sure ? If "ldaps" means

Re: [us...@httpd] Regarding OpenLDAP Access From Apache

2009-09-21 Thread Asimananda Mohanty
Hi, In continuation to my below mails : I snooped the packets and found that in case of "ldap" url, apache is sending bind request towards my ldap server whereas in case of "ldaps" url, no such bind request towards ldap server is seen. Regards Asimananda On Mon, Sep 21, 2009 at 12:52 PM, Asimana

Re: [us...@httpd] Regarding OpenLDAP Access From Apache

2009-09-21 Thread Asimananda Mohanty
Hi Eric, I have changed the permission level of the certificate presented to apache but still I have got no success. Here are the logs from my apache. During Startup : [Mon Sep 21 13:31:22 2009] [notice] LDAP: Built with OpenLDAP LDAP SDK [Mon Sep 21 13:3