Re: [Patch] Add sanity checking to htpassd (Was Re: [Patch] DeTabbify htpasswd.c)

2002-05-17 Thread Thom May
* William A. Rowe, Jr. ([EMAIL PROTECTED]) wrote : +1 here, I'm only confused by why you needed the extra strcpy(tmp, line); which doesn't seem to be necessary. Gone now. I think that was a relic from when I was trying to do this a different way. Oh, and the spaces are now sorted, thanks to

mod_auth.c alteration : optional strict valid-user

2002-05-17 Thread Scott MacKay
Please excuse the verbosity... Request: mod_auth augmentation Apache Version: 1.3.22 (Changes can be made to other revs too) Files affected: src/modules/standard/mod_auth.c Structures Affected: auth_config_struct Routines Affected: groups_for_user(), check_user_access(), create_auth_dir_config()

Re: cvs commit: httpd-2.0/docs/conf httpd-std.conf.in

2002-05-17 Thread Joshua Slive
On 17 May 2002 [EMAIL PROTECTED] wrote: brianp 02/05/16 18:43:52 Modified:docs/conf httpd-std.conf.in Log: Added EnableMMAP (commented out) to the standard config Is this a directive that pretty much everyone using apache needs to know about? My guess is no, and if that is

[PATCH] TPF doc update of install-tpf.html

2002-05-17 Thread David McCreedy
Update to the installation instructions for TPF to clarify how to exclude expat-lite from the Apache compilation. Submitted at a customer's request. David McCreedy [EMAIL PROTECTED] Index: httpd-docs-1.3/htdocs/manual/install-tpf.html

Re: [PATCH] Implement -k option for httpd

2002-05-17 Thread Jeff Trawick
Justin Erenkrantz [EMAIL PROTECTED] writes: Here's a starting point for someone else to pick up how to get httpd to honor -k [start|stop|graceful|restart] options. For anybody playing with this, here is an update to the patch to main.c so that 1) it applies after my changes this a.m. to zap

Re: cvs commit: httpd-2.0/docs/conf httpd-std.conf.in

2002-05-17 Thread Brian Pane
Joshua Slive wrote: On 17 May 2002 [EMAIL PROTECTED] wrote: brianp 02/05/16 18:43:52 Modified:docs/conf httpd-std.conf.in Log: Added EnableMMAP (commented out) to the standard config Is this a directive that pretty much everyone using apache needs to know about?

Re: [PATCH] Implement -k option for httpd

2002-05-17 Thread Justin Erenkrantz
On Fri, May 17, 2002 at 01:06:23PM -0400, Jeff Trawick wrote: For anybody playing with this, here is an update to the patch to main.c so that I think you intended to post the update? -- justin

RE: [PATCH] Implement -k option for httpd

2002-05-17 Thread Allan Edwards
I'm not going to finish it because: a) I'm not really sure what to do on Win32. main.c(617) : error C2065: 'SIGHUP' : undeclared identifier main.c(620) : error C2065: 'AP_SIG_GRACEFUL' : undeclared identifier main.c(628) : warning C4013: 'kill' undefined; assuming extern returning int Error

Re: [PATCH] Implement -k option for httpd

2002-05-17 Thread Jeff Trawick
Allan Edwards [EMAIL PROTECTED] writes: I'm not going to finish it because: a) I'm not really sure what to do on Win32. main.c(617) : error C2065: 'SIGHUP' : undeclared identifier main.c(620) : error C2065: 'AP_SIG_GRACEFUL' : undeclared identifier main.c(628) : warning C4013: 'kill'

Odd URL (mis)behavior in 2.0

2002-05-17 Thread Dale Ghent
I think what I'm about to describe counts as a regression in 2.0 from 1.3.x. I have a user who uses and odd URL scheme on his website. He has a PHP script, /d.php that is referenced in following manner: /d.php/foo.html where the /foo.html bit is passwd tothe d.v php script and the PHP script

Re: Odd URL (mis)behavior in 2.0

2002-05-17 Thread Aaron Bannert
On Fri, May 17, 2002 at 04:06:54PM -0400, Dale Ghent wrote: I think what I'm about to describe counts as a regression in 2.0 from 1.3.x. I have a user who uses and odd URL scheme on his website. He has a PHP script, /d.php that is referenced in following manner: /d.php/foo.html where the

Re: Odd URL (mis)behavior in 2.0

2002-05-17 Thread Cliff Woolley
On Fri, 17 May 2002, Dale Ghent wrote: I have a user who uses and odd URL scheme on his website. He has a PHP script, /d.php that is referenced in following manner: /d.php/foo.html where the /foo.html bit is passwd tothe d.v php script and the PHP script generates dynamic content based on

Re: Odd URL (mis)behavior in 2.0

2002-05-17 Thread Dale Ghent
On Fri, 17 May 2002, Cliff Woolley wrote: | 1) You need to set AcceptPathInfo On if you want to allow this behavior | 2) Don't set the magic mime type application/x-httpd-php anymore, just |do the AddOutputFilter PHP and AddInputFilter PHP directives. mmmkay! regarding #2, the README in

Re: Odd URL (mis)behavior in 2.0

2002-05-17 Thread Cliff Woolley
On Fri, 17 May 2002, Dale Ghent wrote: regarding #2, the README in the apache2filter directory of the PHP source tree used to say (in pre-4.2.0 revs) to use Add*Filter PHP directives. But now, since 4.2.0 was released, it commands to use the traditional AddType method to activate PHP

RE: [PATCH] Implement -k option for httpd

2002-05-17 Thread William A. Rowe, Jr.
At 01:33 PM 5/17/2002, Allan Edwards wrote: I'm not going to finish it because: a) I'm not really sure what to do on Win32. main.c(617) : error C2065: 'SIGHUP' : undeclared identifier main.c(620) : error C2065: 'AP_SIG_GRACEFUL' : undeclared identifier main.c(628) : warning C4013: 'kill'

[PATCH] little configure.in quoting problem....

2002-05-17 Thread Pier Fumagalli
It _should_ go with quotes as well, but in M4, we'd better use [] square brackes, am I right? Pier -- [Perl] combines all the worst aspects of C and Lisp: a billion of different sublanguages in one monolithic executable. It combines the power of C with the readability of PostScript.

Re: Odd URL (mis)behavior in 2.0

2002-05-17 Thread Rasmus Lerdorf
Right now PATH_INFO is not automatically passed to PHP scripts in the Apache 2.0 module for PHP. I have a patch on my plate that enables it by default, but for now you can add AcceptPathInfo On to the directory or location sections where you want it to work. That should go in. Why would you

RE: [PATCH] Implement -k option for httpd

2002-05-17 Thread Allan Edwards
Doesn't the new function need to be done before we hit ap_mpm_run()? ap_run_rewrite_args gets called before ap_mpm_run in main(). If main() doesn't know what's going on then how would it work? I was talking about putting the bit that didn't compile on windows in the unix mpm, mainly the

Re: Odd URL (mis)behavior in 2.0

2002-05-17 Thread William A. Rowe, Jr.
At 05:50 PM 5/17/2002, Rasmus Lerdorf wrote: Right now PATH_INFO is not automatically passed to PHP scripts in the Apache 2.0 module for PHP. I have a patch on my plate that enables it by default, but for now you can add AcceptPathInfo On to the directory or location sections where you

Re: cvs commit: httpd-2.0/server core.c

2002-05-17 Thread Cliff Woolley
On 17 May 2002 [EMAIL PROTECTED] wrote: wrowe 02/05/17 12:34:53 Modified:server core.c Log: We need to grab ServerRoot, LogLevel, and ErrorLog right off the bat as we are reading the config. This closes a bug where ServerRoot /foo + LoadModule