Re: mod_fcgid: Problem serving binary content with Apache 2.2.13 - PHP 5.2.9

2009-09-21 Thread Marcus Merz
Hi Jeff, "Jeff Trawick" schrieb im Newsbeitrag news:cc67648e0909211455i5cb6c7c3ub4fdcc25cb9cc...@mail.gmail.com... On Mon, Sep 21, 2009 at 2:24 PM, Marcus Merz wrote: >In my php.ini i have > >; cgi.force_redirect is necessary to provide security running PHP as a CGI >under >; most web servers

mod_fcgid

2009-09-21 Thread Ricardo Cantu
I'm a long time user of mod_fcgi and would like to start using mod_fcgid. I've been running mod_fcgi with a custom patch of mine. I like to see if it could be included in mod_fcgid or maybe you can give me an other way to accomplish what I need without the patch. What I have is one C program th

Re: mod_fcgid: Problem serving binary content with Apache 2.2.13 - PHP 5.2.9

2009-09-21 Thread Jeff Trawick
On Mon, Sep 21, 2009 at 2:24 PM, Marcus Merz wrote: > > "Jeff Trawick" schrieb im Newsbeitrag > news:cc67648e0909210827h6247d05fu65c31252b6f32...@mail.gmail.com... > > >What is your configuration to run modify.php as a CGI? Do you add a > >shebang line, or use something else? > > > >Here's my c

Re: [mod_fcgid] Cleaning up configuration directive names

2009-09-21 Thread Rainer Jung
On 21.09.2009 17:47, William A. Rowe, Jr. wrote: > Rainer Jung wrote: >> >> Any other name changes needed? I guess SharememPath -> SharedMemoryPath >> would also be good. > > Nope; refer to other directives. shmem is the abbreviation used by digest, > but the usual convention is not identify as w

Re: svn commit: r817338 - /httpd/mod_fcgid/trunk/modules/fcgid/mod_fcgid.c

2009-09-21 Thread Jeff Trawick
On Mon, Sep 21, 2009 at 3:06 PM, Rainer Jung wrote: > On 21.09.2009 20:14, Jeff Trawick wrote: > > On Mon, Sep 21, 2009 at 1:37 PM, > > wrote: > > > > Author: rjung > > Date: Mon Sep 21 17:37:42 2009 > > New Revision: 817338 > > > > URL: http://svn.apache.

Re: svn commit: r817338 - /httpd/mod_fcgid/trunk/modules/fcgid/mod_fcgid.c

2009-09-21 Thread Rainer Jung
On 21.09.2009 20:14, Jeff Trawick wrote: > On Mon, Sep 21, 2009 at 1:37 PM, > wrote: > > Author: rjung > Date: Mon Sep 21 17:37:42 2009 > New Revision: 817338 > > URL: http://svn.apache.org/viewvc?rev=817338&view=rev >

Re: svn commit: r817350 - /httpd/mod_fcgid/trunk/docs/manual/mod/mod_fcgid.xml

2009-09-21 Thread Rainer Jung
On 21.09.2009 20:11, Jeff Trawick wrote: > On Mon, Sep 21, 2009 at 1:59 PM, > wrote: > > Author: rjung > Date: Mon Sep 21 17:59:23 2009 > New Revision: 817350 > > URL: http://svn.apache.org/viewvc?rev=817350&view=rev >

Re: mod_fcgid: Problem serving binary content with Apache 2.2.13 - PHP 5.2.9

2009-09-21 Thread Marcus Merz
As an additional note, i found another watermark script which fails with the same error (it will need the same .htaccess as in my first post - save the script as modify.php as well or adjust the name in .htaccess accordingly) as PHP will try to parse the jpg file instead of displaying the image.

Re: mod_fcgid: Problem serving binary content with Apache 2.2.13 - PHP 5.2.9

2009-09-21 Thread Marcus Merz
"Jeff Trawick" schrieb im Newsbeitrag news:cc67648e0909210827h6247d05fu65c31252b6f32...@mail.gmail.com... >What is your configuration to run modify.php as a CGI? Do you add a >shebang line, or use something else? > >Here's my configuration: > >LoadModule fcgid_module modules/mod_fcgid.so > >

Re: [mod_fcgid] Cleaning up configuration directive names

2009-09-21 Thread Rainer Jung
On 21.09.2009 18:51, Chris Darroch wrote: > Rainer Jung wrote: > >> The names of the configuration directives of mod_fcgid are somehow >> inconsistent. At least it's abit hard to remmber, that some directives >> use a prefix FCGI, others use FastCgi (and most do not have a prefix for >> a namespac

Re: svn commit: r817338 - /httpd/mod_fcgid/trunk/modules/fcgid/mod_fcgid.c

2009-09-21 Thread Jeff Trawick
On Mon, Sep 21, 2009 at 1:37 PM, wrote: > Author: rjung > Date: Mon Sep 21 17:37:42 2009 > New Revision: 817338 > > URL: http://svn.apache.org/viewvc?rev=817338&view=rev > Log: > Renaming mod_fcgid directives part 1: > > - Use common prefix "FCGID" > - Switch from underscores to CamelCase > > Her

Re: svn commit: r817350 - /httpd/mod_fcgid/trunk/docs/manual/mod/mod_fcgid.xml

2009-09-21 Thread Jeff Trawick
On Mon, Sep 21, 2009 at 1:59 PM, wrote: > Author: rjung > Date: Mon Sep 21 17:59:23 2009 > New Revision: 817350 > > URL: http://svn.apache.org/viewvc?rev=817350&view=rev > Log: > > ... > - Adding the other two compatibility notes from README to the > upgrade section > > ... > + Some dir

Re: [mod_fcgid] Cleaning up configuration directive names

2009-09-21 Thread Chris Darroch
Rainer Jung wrote: The names of the configuration directives of mod_fcgid are somehow inconsistent. At least it's abit hard to remmber, that some directives use a prefix FCGI, others use FastCgi (and most do not have a prefix for a namespace). I'm not sure, how important we take configuration c

Re: Virtual Hosts & FCGI paths, was Re: [VOTE] release httpd mod_fcgid-2.3.1?

2009-09-21 Thread Rainer Jung
On 21.09.2009 13:41, Jeff Trawick wrote: > On Mon, Sep 21, 2009 at 4:01 AM, Rainer Jung > wrote: > > On 21.09.2009 09:11, Paul Querna wrote: > > While, this is obviously a terrible thing for a general purpose > > module, I would like to propose that we

Re: [mod_fcgid] Cleaning up configuration directive names

2009-09-21 Thread William A. Rowe, Jr.
Rainer Jung wrote: > > Any other name changes needed? I guess SharememPath -> SharedMemoryPath > would also be good. Nope; refer to other directives. shmem is the abbreviation used by digest, but the usual convention is not identify as what it is, but what it does. E.g. It's the SSLSessionCache

RE: DAV Provider Patch

2009-09-21 Thread Plüm, Rüdiger, VF-Group
> -Original Message- > From: Dan Poirier > Sent: Montag, 21. September 2009 17:28 > To: dev@httpd.apache.org > Subject: Re: DAV Provider Patch > > "Brian J. France" writes: > > > On Sep 21, 2009, at 10:15 AM, Graham Leggett wrote: > > > >> Brian J. France wrote: > >> > >>> I believe

Re: DAV Provider Patch

2009-09-21 Thread Dan Poirier
"Brian J. France" writes: > On Sep 21, 2009, at 10:15 AM, Graham Leggett wrote: > >> Brian J. France wrote: >> >>> I believe this is the first patch that will break binary >>> compatibility >>> because it adds a function pointer to the middle of the struct. I >>> believe binary compatibility cou

Re: mod_fcgid: Problem serving binary content with Apache 2.2.13 - PHP 5.2.9

2009-09-21 Thread Jeff Trawick
On Sun, Sep 20, 2009 at 12:30 PM, Marcus Merz wrote: > Hi Jeff, > > "Jeff Trawick" schrieb im Newsbeitrag > news:... > > On Sat, Sep 19, 2009 at 3:48 AM, Marcus Merz wrote: > > > > Recap: Try cgi.fix_pathinfo=0; maybe somebody else will chime in on the > > PHP_Fix_Pathinfo_Enable processing. >

Re: DAV Provider Patch

2009-09-21 Thread Brian J. France
On Sep 21, 2009, at 10:15 AM, Graham Leggett wrote: Brian J. France wrote: I believe this is the first patch that will break binary compatibility because it adds a function pointer to the middle of the struct. I believe binary compatibility could be retained if we add the function pointers

Re: DAV Provider Patch

2009-09-21 Thread Graham Leggett
Brian J. France wrote: > I believe this is the first patch that will break binary compatibility > because it adds a function pointer to the middle of the struct. I > believe binary compatibility could be retained if we add the function > pointers to the end of the struct instead of in the middle.

RE: [mod_fcgid] Cleaning up configuration directive names

2009-09-21 Thread Plüm, Rüdiger, VF-Group
> -Original Message- > From: Rainer Jung > Sent: Montag, 21. September 2009 15:49 > To: dev@httpd.apache.org > Subject: Re: [mod_fcgid] Cleaning up configuration directive names > > On 21.09.2009 13:03, Jeff Trawick wrote: > > On Mon, Sep 21, 2009 at 4:18 AM, Ruediger Pluem >

Re: [mod_fcgid] Cleaning up configuration directive names

2009-09-21 Thread Rainer Jung
On 21.09.2009 13:03, Jeff Trawick wrote: > On Mon, Sep 21, 2009 at 4:18 AM, Ruediger Pluem > wrote: > > > > On 09/21/2009 10:07 AM, Rainer Jung wrote: > > The names of the configuration directives of mod_fcgid are somehow > > inconsistent. At least it's abi

DAV Provider Patch

2009-09-21 Thread Brian J. France
Next up is the dav providers patch. Currently there is no way for dav modules to get access to the filename or the the request_rec. A dav module would need to check the filename to see if needs to enable acls or other options. A dav module would also need the request_rec for checking opt

Re: [mod_fcgid] Cleaning up configuration directive names

2009-09-21 Thread Niklas Edmundsson
On Mon, 21 Sep 2009, Ruediger Pluem wrote: On 09/21/2009 10:07 AM, Rainer Jung wrote: The names of the configuration directives of mod_fcgid are somehow inconsistent. At least it's abit hard to remmber, that some directives use a prefix FCGI, others use FastCgi (and most do not have a prefix fo

Re: Virtual Hosts & FCGI paths, was Re: [VOTE] release httpd mod_fcgid-2.3.1?

2009-09-21 Thread Rainer Jung
On 21.09.2009 09:11, Paul Querna wrote: > (Sidenote: This virtualhost code is *only* present in the unix process > manager, which means there is a separate bug/issue in the win32 > process manager code) I compared the two spawn functions and made them more consistent in r817237 (both now using the

Re: [mod_fcgid] Cleaning up configuration directive names

2009-09-21 Thread Jeff Trawick
On Mon, Sep 21, 2009 at 8:18 AM, Rich Bowen wrote: > > On Sep 21, 2009, at 04:07 , Rainer Jung wrote: > > PHP_Fix_Pathinfo_Enable >> > > While we're on the topic, what the heck is up with the underscores in this > one? Since when do we do underscores in directive names? Please don't do > this. T

RE: svn commit: r817064 - in /httpd/httpd/branches/2.2.x: STATUS modules/aaa/mod_authnz_ldap.c

2009-09-21 Thread Plüm, Rüdiger, VF-Group
Yes, this answers my question. Thanks for the pointer. Regards Rüdiger From: Jeff Trawick [mailto:traw...@gmail.com] Sent: Montag, 21. September 2009 13:06 To: dev@httpd.apache.org Subject: Re: svn commit: r817064 - in /httpd/

Re: [mod_fcgid] Cleaning up configuration directive names

2009-09-21 Thread Rich Bowen
On Sep 21, 2009, at 04:07 , Rainer Jung wrote: PHP_Fix_Pathinfo_Enable While we're on the topic, what the heck is up with the underscores in this one? Since when do we do underscores in directive names? Please don't do this. Thanks. -- Rich Bowen rbo...@rcbowen.com

RE: svn commit: r817064 - in /httpd/httpd/branches/2.2.x: STATUS modules/aaa/mod_authnz_ldap.c

2009-09-21 Thread Plüm, Rüdiger, VF-Group
> -Original Message- > From: Graham Leggett > Sent: Montag, 21. September 2009 12:54 > To: dev@httpd.apache.org > Subject: Re: svn commit: r817064 - in > /httpd/httpd/branches/2.2.x: STATUS modules/aaa/mod_authnz_ldap.c > > Ruediger Pluem wrote: > > >> @@ -559,12 +582,6 @@ > >> #en

Re: Virtual Hosts & FCGI paths, was Re: [VOTE] release httpd mod_fcgid-2.3.1?

2009-09-21 Thread Jeff Trawick
On Mon, Sep 21, 2009 at 4:01 AM, Rainer Jung wrote: > On 21.09.2009 09:11, Paul Querna wrote: > > While, this is obviously a terrible thing for a general purpose > > module, I would like to propose that we add a 'FCGIIgnoreVirtualHost' > > configuration option, which would set the vhost field to a

Re: svn commit: r817064 - in /httpd/httpd/branches/2.2.x: STATUS modules/aaa/mod_authnz_ldap.c

2009-09-21 Thread Jeff Trawick
On Mon, Sep 21, 2009 at 6:54 AM, Graham Leggett wrote: > Ruediger Pluem wrote: > > >> +/* pre-scan for ldap-* requirements so we can get out of the way > early */ > >> +for(x=0; x < reqs_arr->nelts; x++) { > > > > Why do we know that reqs_arr != NULL always? > > Wasn't that the FIXME comm

Re: [mod_fcgid] Cleaning up configuration directive names

2009-09-21 Thread Jeff Trawick
On Mon, Sep 21, 2009 at 4:18 AM, Ruediger Pluem wrote: > > > On 09/21/2009 10:07 AM, Rainer Jung wrote: > > The names of the configuration directives of mod_fcgid are somehow > > inconsistent. At least it's abit hard to remmber, that some directives > > use a prefix FCGI, others use FastCgi (and

Re: svn commit: r817064 - in /httpd/httpd/branches/2.2.x: STATUS modules/aaa/mod_authnz_ldap.c

2009-09-21 Thread Graham Leggett
Ruediger Pluem wrote: >> +/* pre-scan for ldap-* requirements so we can get out of the way early >> */ >> +for(x=0; x < reqs_arr->nelts; x++) { > > Why do we know that reqs_arr != NULL always? Wasn't that the FIXME comment that was included in the previous version of this patch? >> +

Re: [mod_fcgid] Cleaning up configuration directive names

2009-09-21 Thread Ruediger Pluem
On 09/21/2009 10:07 AM, Rainer Jung wrote: > The names of the configuration directives of mod_fcgid are somehow > inconsistent. At least it's abit hard to remmber, that some directives > use a prefix FCGI, others use FastCgi (and most do not have a prefix for > a namespace). > > I'm not sure, ho

[mod_fcgid] Cleaning up configuration directive names

2009-09-21 Thread Rainer Jung
The names of the configuration directives of mod_fcgid are somehow inconsistent. At least it's abit hard to remmber, that some directives use a prefix FCGI, others use FastCgi (and most do not have a prefix for a namespace). I'm not sure, how important we take configuration compatibility with the

Re: Virtual Hosts & FCGI paths, was Re: [VOTE] release httpd mod_fcgid-2.3.1?

2009-09-21 Thread Rainer Jung
On 21.09.2009 09:11, Paul Querna wrote: > While, this is obviously a terrible thing for a general purpose > module, I would like to propose that we add a 'FCGIIgnoreVirtualHost' > configuration option, which would set the vhost field to a constant > value, so FCGI processes would be shared between

Virtual Hosts & FCGI paths, was Re: [VOTE] release httpd mod_fcgid-2.3.1?

2009-09-21 Thread Paul Querna
Hi, I spoke a little too soon, there is one problem. mod_fcgid correctly uses the VirtualHost as one of the unique inputs for each backend daemon. (Sidenote: This virtualhost code is *only* present in the unix process manager, which means there is a separate bug/issue in the win32 process manage