Re: [VOTE] does mod_python want to be a TLP

2007-05-09 Thread Graham Dumpleton
On 10/05/07, Gregory (Grisha) Trubetskoy [EMAIL PROTECTED] wrote: 1. Python is not a good name for this project because Apache Python will just be too confusing and probably infringes on a PSF trademark. So if you have any creative suggestions, send them in, don't be shy, even if you think they

Re: [EMAIL PROTECTED] mod_dbd and mysql

2007-05-09 Thread Frank Jones
[thread moved from users list] On 5/8/07, Nick Kew [EMAIL PROTECTED] wrote: On Tue, 8 May 2007 08:11:13 -0500 Frank Jones [EMAIL PROTECTED] wrote: However, I don't know what to do if apr_dbd_pvselect using the prepared statement returns 2013 (Lost connection). What MySQL version are you

Re: Regexp mess?

2007-05-09 Thread Roy T. Fielding
On May 8, 2007, at 7:20 PM, Tim Bray wrote: Why are the regex-related routine declarations splashed across httpd.h and ap_regex.h? And why are there two versions of regcomp, only one of which takes a pool for allocation? Too much history and a bit of indecisiveness. We originally used a

Documenting Modules

2007-05-09 Thread Joachim Zobel
Hi. How do I document modules the way apache does it? There seems to be an XML format that is used to generate the documentation. Where can I read about this? Thx, Joachim

Re: Documenting Modules

2007-05-09 Thread Joachim Zobel
Am Mittwoch, den 09.05.2007, 19:50 +0100 schrieb Nick Kew: On Wed, 09 May 2007 18:16:46 +0200 Joachim Zobel [EMAIL PROTECTED] wrote: There seems to be an XML format that is used to generate the documentation. Where can I read about this? Download apache (any version) and look in the

Re: Documenting Modules

2007-05-09 Thread Joachim Zobel
Am Mittwoch, den 09.05.2007, 14:36 -0400 schrieb Marc Dostie: Are you referring to doxygen? See http://www.doxygen.org/ No. I want to generate the html pages apache uses for module documentation (e.g. http://httpd.apache.org/docs/2.2/mod/mod_example.html) Sincerely, Joachim

Re: Documenting Modules

2007-05-09 Thread Joachim Zobel
Am Mittwoch, den 09.05.2007, 16:11 -0300 schrieb Davi Arnaut: http://httpd.apache.org/docs-project/docsformat.html Aaahh! Could not find that with google. Thanks, Joachim

Event MPM

2007-05-09 Thread Marc Dostie
Anyone know what the roadmap looks like for the Event MPM? I'm interested in playing with it but I need mod_ssl which is a known outage. Thanks. -Marc

determining if browser is on same machine as server

2007-05-09 Thread Sam Carleton
I am working on the access to my kiosk system, one condition I need to handle in a unique way is when a web browser is run on the same physical machine as Apache. It is obvious when using localhost or 127.0.0.1. But when the URL is the machine name, I seem to be getting an IP address. I do see

Re: determining if browser is on same machine as server

2007-05-09 Thread David Wortham
Sam, From what I know, which is not much, a server name could be any ID given to a computer. It could be an IP, it could be a domain or subdomain, or it could be any ID defined in a /etc/hosts or equivelent (which would only have to be defined on the visitor's computer). I believe this value

Re: determining if browser is on same machine as server

2007-05-09 Thread David Wortham
Sam, I knew I missed something. There is a C-string containing the local_ip of the server in the conn_rec struct. I believe the access from a request_rec would be r-connection-local_ip Dave On 5/9/07, David Wortham [EMAIL PROTECTED] wrote: Sam, From what I know, which is not much,

Re: svn commit: r536291 - in /httpd/httpd/branches/2.2.x: STATUS modules/proxy/proxy_util.c

2007-05-09 Thread Roy T. Fielding
On May 8, 2007, at 11:25 AM, [EMAIL PROTECTED] wrote: +#define USE_ALTERNATE_IS_CONNECTED 1 + +#if !defined(APR_MSG_PEEK) defined(MSG_PEEK) +#define APR_MSG_PEEK MSG_PEEK +#endif + +#if USE_ALTERNATE_IS_CONNECTED defined(APR_MSG_PEEK) Huh? Why are we polluting macro space with useless

Re: svn commit: r536291 - in /httpd/httpd/branches/2.2.x: STATUS modules/proxy/proxy_util.c

2007-05-09 Thread Jim Jagielski
On May 9, 2007, at 8:18 AM, Roy T. Fielding wrote: On May 8, 2007, at 11:25 AM, [EMAIL PROTECTED] wrote: +#define USE_ALTERNATE_IS_CONNECTED 1 + +#if !defined(APR_MSG_PEEK) defined(MSG_PEEK) +#define APR_MSG_PEEK MSG_PEEK +#endif + +#if USE_ALTERNATE_IS_CONNECTED defined(APR_MSG_PEEK)

Re: [EMAIL PROTECTED] mod_dbd and mysql

2007-05-09 Thread Nick Kew
On Wed, 9 May 2007 06:39:36 -0500 Frank Jones [EMAIL PROTECTED] wrote: The correct solution is for your module to call apr_dbd_invalidate to invalidate the stale connection, then grab another from the pool. But alas, only your module can decide how many times to retry in case of

Re: svn commit: r536291 - in /httpd/httpd/branches/2.2.x: STATUS modules/proxy/proxy_util.c

2007-05-09 Thread Roy T. Fielding
On May 9, 2007, at 5:32 AM, Jim Jagielski wrote: On May 9, 2007, at 8:18 AM, Roy T. Fielding wrote: On May 8, 2007, at 11:25 AM, [EMAIL PROTECTED] wrote: +#define USE_ALTERNATE_IS_CONNECTED 1 + +#if !defined(APR_MSG_PEEK) defined(MSG_PEEK) +#define APR_MSG_PEEK MSG_PEEK +#endif + +#if

Re: svn commit: r536291 - in /httpd/httpd/branches/2.2.x: STATUS modules/proxy/proxy_util.c

2007-05-09 Thread Jim Jagielski
On May 9, 2007, at 8:55 AM, Roy T. Fielding wrote: On May 9, 2007, at 5:32 AM, Jim Jagielski wrote: On May 9, 2007, at 8:18 AM, Roy T. Fielding wrote: On May 8, 2007, at 11:25 AM, [EMAIL PROTECTED] wrote: +#define USE_ALTERNATE_IS_CONNECTED 1 + +#if !defined(APR_MSG_PEEK) defined(MSG_PEEK)

Re: [EMAIL PROTECTED] mod_dbd and mysql

2007-05-09 Thread Frank Jones
On 5/9/07, Nick Kew [EMAIL PROTECTED] wrote: Aaargh! Sorry, I meant apr_reslist_invalidate. In penance, I'm going to try and find a bug report that discusses the issue. Aha, I think this is the one: http://issues.apache.org/bugzilla/show_bug.cgi?id=39329 It was left open for more reports to

Re: [VOTE] does mod_python want to be a TLP

2007-05-09 Thread Gregory (Grisha) Trubetskoy
Reviving this thread... After some discussion on the Httpd PMC on this matter, I think we all agree that we would like to request a general Python TLP of the board. There are, however, two issues that need further discussion: 1. Python is not a good name for this project because Apache

Question about httpd / APR version relationship

2007-05-09 Thread Guenter Knauf
Hi all, currently from what I see we use: Apache 2.0.x - has to use APR 0.9.x Apache 2.2.x - has to use APR 1.2.x Apache 2.3.x - has to use APR 1.3.x is this now a mandatory relationship, or is it valid to: build Apache 2.2.x with APR 1.3.x build Apache 2.3.x with APR 1.2.x I assume on Linux

[PATCH]: Wrong server pointer in dbd_post_config of mod_dbd.c

2007-05-09 Thread Bojan Smojver
This should fix getting stuff from dbd_prepared_defns. It is against 2.2.x branch. -- Bojan Index: modules/database/mod_dbd.c === --- modules/database/mod_dbd.c (revision 536728) +++ modules/database/mod_dbd.c (working copy) @@

[PATCH]: Call dbd_setup() for all virtual hosts or create mutex in mod_dbd.c

2007-05-09 Thread Bojan Smojver
The problem is that the current 2.2.x code calls dbd_setup() only for global server, therefore causing all other VHs to have things uninitialised. If DBDPersist is On and dbd_setup_lock() is attempted, mutex doesn't exist (it was never set up), so this fails. This patch should fix all that (or so

[STATUS] (httpd-2.0) Wed May 9 23:49:53 2007

2007-05-09 Thread Rodent of Unusual Size
APACHE 2.0 STATUS: -*-text-*- Last modified at [$Date: 2007-05-08 19:18:57 -0400 (Tue, 08 May 2007) $] 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.2) Wed May 9 23:51:03 2007

2007-05-09 Thread Rodent of Unusual Size
APACHE 2.2 STATUS: -*-text-*- Last modified at [$Date: 2007-05-09 15:52:47 -0400 (Wed, 09 May 2007) $] The current version of this file can be found at: * http://svn.apache.org/repos/asf/httpd/httpd/branches/2.2.x/STATUS Documentation status is

[STATUS] (httpd-trunk) Wed May 9 23:55:50 2007

2007-05-09 Thread Rodent of Unusual Size
APACHE 2.3 STATUS: -*-text-*- Last modified at [$Date: 2006-08-22 16:41:03 -0400 (Tue, 22 Aug 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