Re: mysqldb error

2006-04-12 Thread Graham Dumpleton
On 13/04/2006, at 5:26 AM, Firat KUCUK wrote: Hi, i wrote a simple connection script. It works as a command line script or cgi script. But does not work in mod_python. import MySQLdb conn = MySQLdb.connect( host = '127.0.0.1', user = 'pismikrop', passwd =

Re: mysqldb error

2006-04-12 Thread Deron Meranda
On 4/12/06, Firat KUCUK [EMAIL PROTECTED] wrote: conn = MySQLdb.connect( host = '127.0.0.1', user = 'pismikrop', passwd = 'pass', db = 'db') Unrelated to your question, but I see this a lot. You should not hardcode the database password in

Re: [mod_python] Anyone have an idea when mod_python will be available for Apache 2.2

2006-04-12 Thread Graham Dumpleton
Graham Dumpleton wrote .. What is interesting now is that when doing that, I note that on Mac OS X there are some worrying error messages which follow that: [Thu Apr 13 11:09:37 2006] [error] Internal error: pcfg_openfile() called with NULL filename [Thu Apr 13 11:09:37 2006] [error]

Re: [mod_python] Anyone have an idea when mod_python will be available for Apache 2.2

2006-04-12 Thread Graham Dumpleton
Nicolas Can you check out latest code from trunk in subversion and retest to see if problem has gone away. I have made the req_auth_type and req_requires tests both a bit more exact/resilient whereas before they left out things which otherwise might need to be present in a properly crafted

Re: mysqldb error

2006-04-12 Thread Deron Meranda
OperationalError: (2003, Can't connect to MySQL server on '10.0.0.6' (111)) Error 111 is a socket connection refused (ECONNREFUSED). So most likely this has nothing to do with your db username or password. But the ip address does look unusual. First, does the ip 10.0.0.6 mean anything? Is it

Re: hanging make test

2006-04-12 Thread Philip M. Gollucci
Michael Peters wrote: I'm trying to install libapreq2 (2.07) and when I run make test it just hangs there at the parsers test parsersok 1/542 Just like that for a longtime (I've let it go for 10+ minutes) at full CPU usage. Whats in logs/error_log ? --

On using Apache2::Request-upload correctly...

2006-04-12 Thread Boysenberry Payne
Hi All, I remember reading about how to handle when a client cancels an upload via proxy connections, I just don't remember what or where. I'm using: my $req = Apache2::Request-new( $r ); # via handler my $upload = $req-upload( uploadFile ) or return $self-error( No Upload File Found... ); my

Re: hanging make test

2006-04-12 Thread Michael Peters
Philip M. Gollucci wrote: Michael Peters wrote: I'm trying to install libapreq2 (2.07) and when I run make test it just hangs there at the parsers test parsersok 1/542 Just like that for a longtime (I've let it go for 10+ minutes) at full CPU usage. Whats in logs/error_log ?

Re: svn commit: r392948 - /httpd/httpd/branches/2.2.x/STATUS

2006-04-12 Thread Jeff Trawick
On 4/11/06, Jorge Schrauwen [EMAIL PROTECTED] wrote: Can emulaion crypt on platforms that don't support it? or will this be to slow? A crypt() implementation could be provided for these platforms whose system libraries don't already have it.

migration concerns changing default hash in htpasswd/htdbm to sha1 for 2.2.x?

2006-04-12 Thread Jeff Trawick
As long as the default doesn't change *to* crypt/plaintext, nobody is hurt, right? Or do we support the use of htpasswd/htdbm to build password files for other applications, which might not use apr-util to check the user/passwd record? (Those users would need to start overriding the defaults to

Re: [mod_python] Anyone have an idea when mod_python will be available for Apache 2.2

2006-04-12 Thread Nicolas Lehuen
Just as a note, I'm still struggling with Apache 2.2 to make the test suite run with the latest svn version (everything seems OK with Apache 2.0.55).I still have a problem while testing req.auth_type(). It looks like the authentication system was changed in Apache 2.2, and that the current test

Re: [PATCH] #39275 MaxClients on startup [Was: Bug in 2.0.56-dev]

2006-04-12 Thread Jeff Trawick
On 4/11/06, Chris Darroch [EMAIL PROTECTED] wrote: Hi -- Alexander Lazic wrote: After 'make install' i started apache, then some seconds later i got the message '...MaxClients reached...' but there was no entry in the access log, and nobody have make a request to this server. Jeff

Re: [PATCH] #39275 MaxClients on startup [Was: Bug in 2.0.56-dev]

2006-04-12 Thread Greg Ames
Jeff Trawick wrote: There are problems accounting for child processes which are trying to initialize that result in the parent thinking it needs to create more children. The less harmful flavor is when it thinks (incorrectly) it is already at MaxClients and issues the reached MaxClients

Re: On using Apache2::Request-upload correctly...

2006-04-12 Thread Boysenberry Payne
Does this mean I'm SOL: Note that no detection technique will work if the connection to the backend mod_perl server is coming from a frontend mod_proxy (as discussed in Chapter 12). This is because mod_proxy doesn't break the connection to the backend when the user has aborted the connection.

Re: svn commit: r392948 - /httpd/httpd/branches/2.2.x/STATUS

2006-04-12 Thread William A. Rowe, Jr.
Jeff Trawick wrote: On 4/11/06, Jorge Schrauwen [EMAIL PROTECTED] wrote: Can emulaion crypt on platforms that don't support it? or will this be to slow? A crypt() implementation could be provided for these platforms whose system libraries don't already have it. This ignores the fact that

mysqldb error

2006-04-12 Thread Firat KUCUK
Hi, i wrote a simple connection script. It works as a command line script or cgi script. But does not work in mod_python. import MySQLdb conn = MySQLdb.connect( host = '127.0.0.1', user = 'pismikrop', passwd = 'pass', db = 'db') print conn

Integrated Authentication

2006-04-12 Thread Sergio Stateri
Hi, Is there any way to do Apache HTTP Server recognize the users of Operation System and put it in a System Variable, like IIS with Integrated Authentication ? (IIS put Windows logged User in the REMOTE_USER cgi variable). thanks in advance for any help, Sergio Stateri Jr. [EMAIL

RE: Integrated Authentication

2006-04-12 Thread Trent Nelson
You're after NTLM support. There's a module floating around out there named 'mod_auth_sspi' that does this, although it can be a bit hard to track down (see http://www.gknw.at/development/apache/httpd-2.0/win32/modules/). Once loaded, set up a directive like this: IfModule mod_auth_sspi.c

Re: Integrated Authentication

2006-04-12 Thread Jess Holle
This seemed to work fine last I tried it (with mod_jk). Trent Nelson wrote: You're after NTLM support. There's a module floating around out there named 'mod_auth_sspi' that does this, although it can be a bit hard to track down (see

Re: Integrated Authentication

2006-04-12 Thread William A. Rowe, Jr.
Sergio Stateri wrote: Is there any way to do Apache HTTP Server recognize the users of Operation System and put it in a System Variable, like IIS with Integrated Authentication ? (IIS put Windows logged User in the REMOTE_USER cgi variable). For Windows this is correct, you can use IE

Re: Integrated Authentication

2006-04-12 Thread Carsten Wiedmann
William A. Rowe, Jr. schrieb: Sergio Stateri wrote: Is there any way to do Apache HTTP Server recognize the users of Operation System and put it in a System Variable, like IIS with Integrated Authentication ? (IIS put Windows logged User in the REMOTE_USER cgi variable). For

[STATUS] (httpd-2.0) Wed Apr 12 23:49:20 2006

2006-04-12 Thread Rodent of Unusual Size
APACHE 2.0 STATUS: -*-text-*- Last modified at [$Date: 2006-04-12 19:19:02 -0400 (Wed, 12 Apr 2006) $] The current version of this file can be found at: * http://svn.apache.org/repos/asf/httpd/httpd/branches/2.0.x/STATUS Documentation status is

[STATUS] (httpd-2.1) Wed Apr 12 23:50:46 2006

2006-04-12 Thread Rodent of Unusual Size
APACHE 2.3 STATUS: -*-text-*- Last modified at [$Date: 2006-02-02 16:28:52 -0500 (Thu, 02 Feb 2006) $] The current version of this file can be found at: * http://svn.apache.org/repos/asf/httpd/httpd/trunk/STATUS Documentation status is maintained