]> granicus.if.org Git - apache/log
apache
23 years agoUpdated to the new locking API's
Bradley Nicholes [Tue, 23 Oct 2001 23:33:46 +0000 (23:33 +0000)]
Updated to the new locking API's

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@91655 13f79535-47bb-0310-9956-ffa450edef68

23 years agoFixed to import the aprlib module and export the httpd api's
Bradley Nicholes [Tue, 23 Oct 2001 23:32:07 +0000 (23:32 +0000)]
Fixed to import the aprlib module and export the httpd api's

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@91654 13f79535-47bb-0310-9956-ffa450edef68

23 years agoModified to correctly extract the export lists
Bradley Nicholes [Tue, 23 Oct 2001 23:29:50 +0000 (23:29 +0000)]
Modified to correctly extract the export lists

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@91653 13f79535-47bb-0310-9956-ffa450edef68

23 years agoIf the user explicitly requests --enable-so, --enable-so=yes,
Aaron Bannert [Tue, 23 Oct 2001 23:13:27 +0000 (23:13 +0000)]
If the user explicitly requests --enable-so, --enable-so=yes,
--enable-so=static, or --enable-so=shared but APR_HAS_DSO is
not defined on their system, then it is a fatal error.

Tested on Solaris, but I think it should work everywhere else.

Feel free to change the error message to something
better/more descriptive/etc.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@91652 13f79535-47bb-0310-9956-ffa450edef68

23 years agoJust some style peeves. Tabs and spaces and whatnot.
Aaron Bannert [Tue, 23 Oct 2001 21:02:03 +0000 (21:02 +0000)]
Just some style peeves. Tabs and spaces and whatnot.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@91651 13f79535-47bb-0310-9956-ffa450edef68

23 years agoset the c->aborted flag when we get EPIPE
Jeff Trawick [Tue, 23 Oct 2001 20:46:02 +0000 (20:46 +0000)]
set the c->aborted flag when we get EPIPE

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@91650 13f79535-47bb-0310-9956-ffa450edef68

23 years agodon't lose the return code from ap_fwrite() when called from buffer_output()
Jeff Trawick [Tue, 23 Oct 2001 20:43:57 +0000 (20:43 +0000)]
don't lose the return code from ap_fwrite() when called from buffer_output()

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@91649 13f79535-47bb-0310-9956-ffa450edef68

23 years agoFix the reporting for child processes that die. This removes
Ryan Bloom [Tue, 23 Oct 2001 17:30:07 +0000 (17:30 +0000)]
Fix the reporting for child processes that die.  This removes
all of the non-portable W* macros from Apache.

Submitted by: Jeff Trawick and Ryan Bloom

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@91648 13f79535-47bb-0310-9956-ffa450edef68

23 years agoadjust for the change to SuExec's default install directory
Greg Ames [Tue, 23 Oct 2001 17:26:57 +0000 (17:26 +0000)]
adjust for the change to SuExec's default install directory

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@91647 13f79535-47bb-0310-9956-ffa450edef68

23 years agoWin32: Track and display "Parent Server Generation:" in
Bill Stoddard [Tue, 23 Oct 2001 17:13:26 +0000 (17:13 +0000)]
Win32: Track and display "Parent Server Generation:" in
mod_status output. The generation will be bumped at
server graceful restart, when the child process exits
by hitting MaxRequestsPerChild or if the child
process exits abnormally. [Bill Stoddard]

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@91646 13f79535-47bb-0310-9956-ffa450edef68

23 years agoFix a segfault seen on daedalus earlier this evening. All that was happening
Cliff Woolley [Tue, 23 Oct 2001 09:41:54 +0000 (09:41 +0000)]
Fix a segfault seen on daedalus earlier this evening.  All that was happening
was that we forgot to check whether ctx->bb was empty, so when we pulled the
first bucket, it would be the sentinel, and we'd segfault trying to apr_bucket_read
the sentinel.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@91641 13f79535-47bb-0310-9956-ffa450edef68

23 years agoRefresh of the name-vhosting docs.
Joshua Slive [Mon, 22 Oct 2001 20:17:34 +0000 (20:17 +0000)]
Refresh of the name-vhosting docs.

Reviewed by: Allan Liska

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@91640 13f79535-47bb-0310-9956-ffa450edef68

23 years agoScripts for setting up the build environment and generating the import lists
Bradley Nicholes [Mon, 22 Oct 2001 18:29:45 +0000 (18:29 +0000)]
Scripts for setting up the build environment and generating the import lists

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@91638 13f79535-47bb-0310-9956-ffa450edef68

23 years agoWin32: Fix server-status 'requests currently being processed' and 'idle workers'
Bill Stoddard [Mon, 22 Oct 2001 17:57:26 +0000 (17:57 +0000)]
Win32: Fix server-status 'requests currently being processed' and 'idle workers'
displays.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@91637 13f79535-47bb-0310-9956-ffa450edef68

23 years agoCode Warrior project file for building the httpd server for NetWare
Bradley Nicholes [Mon, 22 Oct 2001 17:39:24 +0000 (17:39 +0000)]
Code Warrior project file for building the httpd server for NetWare

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@91636 13f79535-47bb-0310-9956-ffa450edef68

23 years agoWin32: Running out of threads should be a warning, not an error.
Bill Stoddard [Mon, 22 Oct 2001 16:08:37 +0000 (16:08 +0000)]
Win32: Running out of threads should be a warning, not an error.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@91634 13f79535-47bb-0310-9956-ffa450edef68

23 years agoNetWare doesn't have processes so no need to detach something that
Bradley Nicholes [Mon, 22 Oct 2001 15:20:22 +0000 (15:20 +0000)]
NetWare doesn't have processes so no need to detach something that
doesn't exist

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@91633 13f79535-47bb-0310-9956-ffa450edef68

23 years agoFix some bungling of the remote port in rfc1413.c so that
Jeff Trawick [Mon, 22 Oct 2001 13:04:12 +0000 (13:04 +0000)]
Fix some bungling of the remote port in rfc1413.c so that
IdentityCheck retrieves the proper user id instead of failing
and thus always returning "nobody."

Submitted by:    Dick Streefland <Dick.Streefland@xs4all.nl>
Reviewed by:     Jeff Trawick

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@91632 13f79535-47bb-0310-9956-ffa450edef68

23 years ago Remerge proxy configuration. Tally: of 9 votes;
William A. Rowe Jr [Mon, 22 Oct 2001 12:46:29 +0000 (12:46 +0000)]
  Remerge proxy configuration.  Tally: of 9 votes;

  Majority for segregating mod_ssl
  Minority for segregating mod_proxy

  Also remove a lingering bit of ldap config from httpd-std.conf

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@91631 13f79535-47bb-0310-9956-ffa450edef68

23 years ago Fix two typos in the last patch... compiles/tests clean... Greg, please
William A. Rowe Jr [Mon, 22 Oct 2001 04:36:46 +0000 (04:36 +0000)]
  Fix two typos in the last patch... compiles/tests clean... Greg, please
  run this against Apache.org until the first core and post the results.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@91625 13f79535-47bb-0310-9956-ffa450edef68

23 years ago Perhaps fix the segfault... my earlier patch didn't since we already
William A. Rowe Jr [Mon, 22 Oct 2001 04:25:27 +0000 (04:25 +0000)]
  Perhaps fix the segfault... my earlier patch didn't since we already
  memcpy'ed the base into the merged per-dir config.

  This certainly cleans up that function though, and I hope increases
  it's legibility.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@91624 13f79535-47bb-0310-9956-ffa450edef68

23 years ago Reading commit log messages can be very helpful for noting inconsistent
William A. Rowe Jr [Sun, 21 Oct 2001 17:56:36 +0000 (17:56 +0000)]
  Reading commit log messages can be very helpful for noting inconsistent
  comments... no code is hurt in this commit

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@91623 13f79535-47bb-0310-9956-ffa450edef68

23 years ago The test of filename[0] == '/' is very evil ;)
William A. Rowe Jr [Sun, 21 Oct 2001 17:48:21 +0000 (17:48 +0000)]
  The test of filename[0] == '/' is very evil ;)

  More patches required to;

    1. use apr_filepath_merge rather than apr_pstrcat for creating proper
       and canonical paths.

    2. untangle the proxy: fooness that no longer works in directory_walk.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@91622 13f79535-47bb-0310-9956-ffa450edef68

23 years agoStyle-guide compliance changes only, no functional differences.
Ken Coar [Sun, 21 Oct 2001 15:57:59 +0000 (15:57 +0000)]
Style-guide compliance changes only, no functional differences.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@91619 13f79535-47bb-0310-9956-ffa450edef68

23 years ago Grab this pointer, before it goes NULL
William A. Rowe Jr [Sun, 21 Oct 2001 06:37:25 +0000 (06:37 +0000)]
  Grab this pointer, before it goes NULL

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@91618 13f79535-47bb-0310-9956-ffa450edef68

23 years ago For Win32 cgi %1 arguments, use backslashes. For $1, use posix slashes.
William A. Rowe Jr [Sun, 21 Oct 2001 06:32:47 +0000 (06:32 +0000)]
  For Win32 cgi %1 arguments, use backslashes.  For $1, use posix slashes.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@91617 13f79535-47bb-0310-9956-ffa450edef68

23 years ago On second thought, we like our dot, alot.
William A. Rowe Jr [Sun, 21 Oct 2001 05:59:10 +0000 (05:59 +0000)]
  On second thought, we like our dot, alot.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@91616 13f79535-47bb-0310-9956-ffa450edef68

23 years ago Round out const'ness
William A. Rowe Jr [Sun, 21 Oct 2001 04:18:15 +0000 (04:18 +0000)]
  Round out const'ness

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@91615 13f79535-47bb-0310-9956-ffa450edef68

23 years ago First Patch! [Well, my own typo.]
William A. Rowe Jr [Sun, 21 Oct 2001 04:17:42 +0000 (04:17 +0000)]
  First Patch!  [Well, my own typo.]

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@91614 13f79535-47bb-0310-9956-ffa450edef68

23 years ago Reimplement Win32 registry-based and shebang-extended scripting.
William A. Rowe Jr [Sun, 21 Oct 2001 04:14:24 +0000 (04:14 +0000)]
  Reimplement Win32 registry-based and shebang-extended scripting.

  Accepts arguments of $* and %* for 'positioned' cgi envvars, provided they
  stand alone (aren't part of another arg.)

  Accepts %1 $1 syntax, quoted or not, but makes no attempt at palacating
  older programs with short paths, just yet.

  About as stable and robust as my first rewrite of dir_walk, so watch out!

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@91613 13f79535-47bb-0310-9956-ffa450edef68

23 years ago Thread saftey lock for mod_rewrite's cache... I'm sure others will have
William A. Rowe Jr [Sun, 21 Oct 2001 01:24:35 +0000 (01:24 +0000)]
  Thread saftey lock for mod_rewrite's cache... I'm sure others will have
  some 'better ideas' but this will work for now.

Submitted by: Brian Pane <bpane@pacbell.net>

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@91612 13f79535-47bb-0310-9956-ffa450edef68

23 years ago Simplified mod_env's directives to behave as most directives are
William A. Rowe Jr [Sun, 21 Oct 2001 01:17:11 +0000 (01:17 +0000)]
  Simplified mod_env's directives to behave as most directives are
  expected, in that UnsetEnv will not unset a SetEnv and PassEnv
  directive following that UnsetEnv within the same container.
  Also provides a runtime startup warning if a PassEnv configured
  environment value is undefined.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@91611 13f79535-47bb-0310-9956-ffa450edef68

23 years ago Fix a nasty GP fault... stop testing buckets after they are passed!!!
William A. Rowe Jr [Sat, 20 Oct 2001 20:43:37 +0000 (20:43 +0000)]
  Fix a nasty GP fault... stop testing buckets after they are passed!!!

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@91610 13f79535-47bb-0310-9956-ffa450edef68

23 years ago Restrict by content type and encoding before we go and try to drag in some
William A. Rowe Jr [Sat, 20 Oct 2001 18:54:54 +0000 (18:54 +0000)]
  Restrict by content type and encoding before we go and try to drag in some
  text to merge as headers and footers to autoindex pages.  This will escape
  index.gif from a bold attempt to use IndexHeader index ;)

  Also pass in the args to the subrequest, for anyone trying to decode what
  the user is looking at.  A great example of this coming up.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@91609 13f79535-47bb-0310-9956-ffa450edef68

23 years ago Canonicalize all absolute <Directory > sections, not simply those that
William A. Rowe Jr [Sat, 20 Oct 2001 18:29:09 +0000 (18:29 +0000)]
  Canonicalize all absolute <Directory > sections, not simply those that
  fail to end in a '/'.  Slash test is afterwords, once we've canonicalized
  any '\' and other aliases to '/'.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@91608 13f79535-47bb-0310-9956-ffa450edef68

23 years agoOh, don't you love buffer overflows?
Justin Erenkrantz [Sat, 20 Oct 2001 18:27:15 +0000 (18:27 +0000)]
Oh, don't you love buffer overflows?
We need to allocate storage space for the terminating NULL AND the extra /
we may tack on to the string at some point.

How in the hell the stars were aligned for this to corrupt newv via the
strcat at line 580 is unknown.

Resolves segfault seen on daedalus.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@91607 13f79535-47bb-0310-9956-ffa450edef68

23 years ago ap_run_child_init is not an optional function ;)
William A. Rowe Jr [Sat, 20 Oct 2001 17:16:51 +0000 (17:16 +0000)]
  ap_run_child_init is not an optional function ;)

  Consistify a variable name with the rest of httpd

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@91604 13f79535-47bb-0310-9956-ffa450edef68

23 years agoWin32: A bit more MaxRequestsPerChild cleanup. Now it should work on
Bill Stoddard [Sat, 20 Oct 2001 14:56:03 +0000 (14:56 +0000)]
Win32: A bit more MaxRequestsPerChild cleanup. Now it should work on
Win 9x as well.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@91603 13f79535-47bb-0310-9956-ffa450edef68

23 years agoMissed some error messages in the switch to the new lock system. Added
Aaron Bannert [Fri, 19 Oct 2001 23:45:39 +0000 (23:45 +0000)]
Missed some error messages in the switch to the new lock system. Added
the proc_mutex header for the sake of consistency.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@91582 13f79535-47bb-0310-9956-ffa450edef68

23 years agoUgh, at least this got me away from the AIX build system for awhile...
Aaron Bannert [Fri, 19 Oct 2001 23:38:01 +0000 (23:38 +0000)]
Ugh, at least this got me away from the AIX build system for awhile...

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@91581 13f79535-47bb-0310-9956-ffa450edef68

23 years agoThe worker MPM is now completely ported to APR's new lock API. It
Aaron Bannert [Fri, 19 Oct 2001 23:36:55 +0000 (23:36 +0000)]
The worker MPM is now completely ported to APR's new lock API. It
uses native APR types for thread mutexes, cross-process mutexes,
and condition variables. Who's next?

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@91580 13f79535-47bb-0310-9956-ffa450edef68

23 years agoUse the APR's new OS-specific proc mutex accessors -- they are used
Aaron Bannert [Fri, 19 Oct 2001 23:32:43 +0000 (23:32 +0000)]
Use the APR's new OS-specific proc mutex accessors -- they are used
here to set permissions on SysV Semaphores. MPMs will be modified to
call this new function as they are ported to the new APR lock API.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@91579 13f79535-47bb-0310-9956-ffa450edef68

23 years agoWin32: ap_max_requests_per_child should not be a local static in mpm_winnt.c.
Bill Stoddard [Fri, 19 Oct 2001 21:11:03 +0000 (21:11 +0000)]
Win32: ap_max_requests_per_child should not be a local static in mpm_winnt.c.
This was preventing the MaxRequestsPerChild config directive from working
properly.

Handle MaxRequestsPerChild a bit more sanely.  When MaxRequestsPerChild is hit,
the child signals an event that causes the main child thread to signal the parent
to restart.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@91578 13f79535-47bb-0310-9956-ffa450edef68

23 years ago More missing .h goodies
William A. Rowe Jr [Fri, 19 Oct 2001 21:08:43 +0000 (21:08 +0000)]
  More missing .h goodies

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@91577 13f79535-47bb-0310-9956-ffa450edef68

23 years agomaxrequestsperchild should default to 0 on windows.
Bill Stoddard [Fri, 19 Oct 2001 20:30:16 +0000 (20:30 +0000)]
maxrequestsperchild should default to 0 on windows.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@91576 13f79535-47bb-0310-9956-ffa450edef68

23 years agoHey, we tagged 2.0.26. =)
Justin Erenkrantz [Fri, 19 Oct 2001 06:11:52 +0000 (06:11 +0000)]
Hey, we tagged 2.0.26.  =)
We're now waiting for it to be discarded or we need to bump the tag on
server/core.c.  And, we need to fix the proc_wait thing to someone's
satisfaction.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@91573 13f79535-47bb-0310-9956-ffa450edef68

23 years agoKing of Love seems to be playing on my xmms right now...
Justin Erenkrantz [Fri, 19 Oct 2001 06:08:05 +0000 (06:08 +0000)]
King of Love seems to be playing on my xmms right now...

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@91572 13f79535-47bb-0310-9956-ffa450edef68

23 years agoRemove all references to the Port directive and replace it with
Justin Erenkrantz [Fri, 19 Oct 2001 06:05:39 +0000 (06:05 +0000)]
Remove all references to the Port directive and replace it with
appropriate links to the Listen directive.

If I had known that so many files had the Port directive in it, I would
have bundled this up as one big commit.  *sigh*  I just kept looking
and finding new files, fixing, and committing.  So, this should be the
rest of them for now.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@91571 13f79535-47bb-0310-9956-ffa450edef68

23 years agoJust browsing...
Justin Erenkrantz [Fri, 19 Oct 2001 06:00:52 +0000 (06:00 +0000)]
Just browsing...

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@91569 13f79535-47bb-0310-9956-ffa450edef68

23 years agoRemove the reference to Port directive and replace it with Listen.
Justin Erenkrantz [Fri, 19 Oct 2001 05:57:47 +0000 (05:57 +0000)]
Remove the reference to Port directive and replace it with Listen.

Who knows if the rest of this file is still valid?

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@91568 13f79535-47bb-0310-9956-ffa450edef68

23 years agoRemove Port references
Justin Erenkrantz [Fri, 19 Oct 2001 05:53:53 +0000 (05:53 +0000)]
Remove Port references

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@91567 13f79535-47bb-0310-9956-ffa450edef68

23 years agoRemove references to Port directive.
Justin Erenkrantz [Fri, 19 Oct 2001 05:52:07 +0000 (05:52 +0000)]
Remove references to Port directive.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@91566 13f79535-47bb-0310-9956-ffa450edef68

23 years agoRemove note about Port in the Listen manual citation
Justin Erenkrantz [Fri, 19 Oct 2001 05:49:49 +0000 (05:49 +0000)]
Remove note about Port in the Listen manual citation

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@91565 13f79535-47bb-0310-9956-ffa450edef68

23 years agoRemove references to Port
Justin Erenkrantz [Fri, 19 Oct 2001 05:47:07 +0000 (05:47 +0000)]
Remove references to Port
Clean up formatting that may have been caused by htmltidy?

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@91564 13f79535-47bb-0310-9956-ffa450edef68

23 years agoBring this page up-to-date
Justin Erenkrantz [Fri, 19 Oct 2001 05:35:43 +0000 (05:35 +0000)]
Bring this page up-to-date

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@91563 13f79535-47bb-0310-9956-ffa450edef68

23 years agoUpdate the vhost docs to not refer to Port anymore.
Justin Erenkrantz [Fri, 19 Oct 2001 05:24:33 +0000 (05:24 +0000)]
Update the vhost docs to not refer to Port anymore.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@91562 13f79535-47bb-0310-9956-ffa450edef68

23 years ago And where, praytell, should mod_proxy.c find ap_send_http_options
William A. Rowe Jr [Fri, 19 Oct 2001 05:01:13 +0000 (05:01 +0000)]
  And where, praytell, should mod_proxy.c find ap_send_http_options
  and ap_send_http_trace?

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@91561 13f79535-47bb-0310-9956-ffa450edef68

23 years ago Listen to my own advise. Fortunately, the new apr_pool_readonly code
William A. Rowe Jr [Fri, 19 Oct 2001 02:08:44 +0000 (02:08 +0000)]
  Listen to my own advise.  Fortunately, the new apr_pool_readonly code
  catches these in no time ;)

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@91558 13f79535-47bb-0310-9956-ffa450edef68

23 years ago Guys... please be _careful_ when you pcalloc -> palloc!!!
William A. Rowe Jr [Fri, 19 Oct 2001 02:05:48 +0000 (02:05 +0000)]
  Guys... please be _careful_ when you pcalloc -> palloc!!!

  Resolves GAmes' segfault observations

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@91556 13f79535-47bb-0310-9956-ffa450edef68

23 years agoTeach me to copy and paste.
Ryan Bloom [Thu, 18 Oct 2001 20:56:49 +0000 (20:56 +0000)]
Teach me to copy and paste.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@91552 13f79535-47bb-0310-9956-ffa450edef68

23 years agoMake sure we install the proxy header file.
Ryan Bloom [Thu, 18 Oct 2001 19:59:00 +0000 (19:59 +0000)]
Make sure we install the proxy header file.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@91550 13f79535-47bb-0310-9956-ffa450edef68

23 years agoThe proxy does not actually need this header.
Ryan Bloom [Thu, 18 Oct 2001 19:51:49 +0000 (19:51 +0000)]
The proxy does not actually need this header.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@91549 13f79535-47bb-0310-9956-ffa450edef68

23 years agoThese files were already defined in EXPORT_FILES, so reuse them.
Aaron Bannert [Thu, 18 Oct 2001 18:35:18 +0000 (18:35 +0000)]
These files were already defined in EXPORT_FILES, so reuse them.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@91548 13f79535-47bb-0310-9956-ffa450edef68

23 years ago Gotta love it
William A. Rowe Jr [Thu, 18 Oct 2001 15:41:48 +0000 (15:41 +0000)]
  Gotta love it

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@91547 13f79535-47bb-0310-9956-ffa450edef68

23 years agoCleanup. Win32 Apache only supports a single child process so get rid of all the
Bill Stoddard [Thu, 18 Oct 2001 15:39:41 +0000 (15:39 +0000)]
Cleanup. Win32 Apache only supports a single child process so get rid of all the
cruft that assumes otherwise.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@91546 13f79535-47bb-0310-9956-ffa450edef68

23 years ago As GStein points out... comment here would be helpful
William A. Rowe Jr [Thu, 18 Oct 2001 13:12:32 +0000 (13:12 +0000)]
  As GStein points out... comment here would be helpful

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@91544 13f79535-47bb-0310-9956-ffa450edef68

23 years agoOS specific header for NetWare
Bradley Nicholes [Wed, 17 Oct 2001 22:50:22 +0000 (22:50 +0000)]
OS specific header for NetWare

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@91541 13f79535-47bb-0310-9956-ffa450edef68

23 years agoTemporarily removed the cgi module from the built in modules list until we
Bradley Nicholes [Wed, 17 Oct 2001 22:49:39 +0000 (22:49 +0000)]
Temporarily removed the cgi module from the built in modules list until we
can figure out how to handle it.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@91540 13f79535-47bb-0310-9956-ffa450edef68

23 years agoBrought the conf file up to date with the latest source
Bradley Nicholes [Wed, 17 Oct 2001 22:48:14 +0000 (22:48 +0000)]
Brought the conf file up to date with the latest source

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@91539 13f79535-47bb-0310-9956-ffa450edef68

23 years agoGets VPATH builds working again. The problem was that apr.h is generated
Aaron Bannert [Wed, 17 Oct 2001 21:34:29 +0000 (21:34 +0000)]
Gets VPATH builds working again. The problem was that apr.h is generated
by autoconf and then placed in the builddir, not the srcdir (which we
didn't notice until we tried to do VPATH). When cpp couldn't find apr.h
we would decide not to build mod_so, which is kinda bad.

Now we include both paths when we test for APR_HAS_DSO and everyone is happy.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@91537 13f79535-47bb-0310-9956-ffa450edef68

23 years agoget rid of a reference to access.conf
Greg Ames [Wed, 17 Oct 2001 17:55:07 +0000 (17:55 +0000)]
get rid of a reference to access.conf

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@91532 13f79535-47bb-0310-9956-ffa450edef68

23 years agoFully convert worker's fdqueue to the new APR lock API:
Aaron Bannert [Wed, 17 Oct 2001 16:29:37 +0000 (16:29 +0000)]
Fully convert worker's fdqueue to the new APR lock API:
- Mutexes and Condition Variables from APR are now used instead of
  direct (non-portable) calls to pthread.

Still need to fully APRize these routines, particularly the return
values. In many cases a failed lock or cond var call will simply return
FD_QUEUE_FAILURE. This should obviously instead return the appropriate
APR error code.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@91531 13f79535-47bb-0310-9956-ffa450edef68

23 years agoI certainly see the advantage of having SSL split out into another file.
Joshua Slive [Wed, 17 Oct 2001 15:57:04 +0000 (15:57 +0000)]
I certainly see the advantage of having SSL split out into another file.
And indeed, that is the way that I would do it for my own server.  But
the default config file is really there for beginners, not for advanced
users.  Having multiple config files is bad for beginners because it
makes it difficult to answer questions like "where do I put this config
directive?"  It also makes it more difficult to move a specific configuration
from one server to another.  Finally, it is just overall more intimidating
to be faced with a bunch of files to edit, rather than one file that
controls everything.

Having said that, it does look like the overall feeling is that at least
SSL should be split out, and I won't object (strongly).

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@91530 13f79535-47bb-0310-9956-ffa450edef68

23 years agoWin32: Deprecate ap_start_shutdown/ap_start_restart in favor of ap_signal_parent...
Bill Stoddard [Wed, 17 Oct 2001 15:51:22 +0000 (15:51 +0000)]
Win32: Deprecate ap_start_shutdown/ap_start_restart in favor of ap_signal_parent(enum).
This simplifies the code a bit for some more MPM cleanup work forthcoming.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@91529 13f79535-47bb-0310-9956-ffa450edef68

23 years ago Whoops ... invalid <Directory /> blocks for the new 'manual' tree location
William A. Rowe Jr [Wed, 17 Oct 2001 15:37:19 +0000 (15:37 +0000)]
  Whoops ... invalid <Directory /> blocks for the new 'manual' tree location

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@91528 13f79535-47bb-0310-9956-ffa450edef68

23 years agoNot sure if the number of directives in a normal proxy setup would
Jim Jagielski [Wed, 17 Oct 2001 15:32:22 +0000 (15:32 +0000)]
Not sure if the number of directives in a normal proxy setup would
warrant needing a whole separate config file. I see such break outs
as pretty much dependent on the number of lines it adds to
httpd.conf... with SSL it makes sense. With proxy, well, I'm not
sure. To be honest, though, breaking out both won't trouble me
a bit, but this is my pref.
PR:
Obtained from:
Submitted by:
Reviewed by:

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@91527 13f79535-47bb-0310-9956-ffa450edef68

23 years agorecognize filename subrequests without requiring a null URI. This fixes
Greg Ames [Wed, 17 Oct 2001 15:12:13 +0000 (15:12 +0000)]
recognize filename subrequests without requiring a null URI.  This fixes
a problem with infinite recursion of dirent subrequests.

Submitted by:  Bill Rowe

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@91525 13f79535-47bb-0310-9956-ffa450edef68

23 years ago The argument that this is a reversion to the httpd/access/srm
Ken Coar [Wed, 17 Oct 2001 14:50:48 +0000 (14:50 +0000)]
The argument that this is a reversion to the httpd/access/srm
multifile scenario is bogus, IMHO; the problem with those
was that their purposes were not clear, nor were the orders
of invocation.  Putting massive (or tiny but uncommon) chunks
of easily self-contained special-function directives into
separate files simplifies the basic configuration and doesn't
revert to either of the trinity-file complaints, since these
would need to be explicitly invoked with an Include directive.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@91524 13f79535-47bb-0310-9956-ffa450edef68

23 years ago Some type correctness fixes for LARGEFILES platforms.
William A. Rowe Jr [Wed, 17 Oct 2001 13:42:22 +0000 (13:42 +0000)]
  Some type correctness fixes for LARGEFILES platforms.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@91521 13f79535-47bb-0310-9956-ffa450edef68

23 years agoFirst pass at converting worker MPM to APR's new lock API. This converts
Aaron Bannert [Wed, 17 Oct 2001 00:59:18 +0000 (00:59 +0000)]
First pass at converting worker MPM to APR's new lock API. This converts
the APR_INTRAPROCESS locks into lightweight, non-nested apr_thread_mutex_t
locks.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@91518 13f79535-47bb-0310-9956-ffa450edef68

23 years agoSSL config is large, complex & many users never need to see it at all.
Brian Havard [Wed, 17 Oct 2001 00:58:32 +0000 (00:58 +0000)]
SSL config is large, complex & many users never need to see it at all.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@91517 13f79535-47bb-0310-9956-ffa450edef68

23 years ago It is absolutely invalid practice to test 'prot' bits to determine if a
William A. Rowe Jr [Wed, 17 Oct 2001 00:03:22 +0000 (00:03 +0000)]
  It is absolutely invalid practice to test 'prot' bits to determine if a
  file is readable.  The only acceptable means of testing readability is to
  open it for reading, due to discrepancies between permissions, DACLs and
  SACLS.  Even Linux hackers are gonna need to learn that lesson if they
  plan to do any DOD or Gov work once DACL-enhanced Linux is adopted.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@91516 13f79535-47bb-0310-9956-ffa450edef68

23 years ago Already committed in similar form to Apache 1.3.22-dev, this patch allows
William A. Rowe Jr [Tue, 16 Oct 2001 23:49:25 +0000 (23:49 +0000)]
  Already committed in similar form to Apache 1.3.22-dev, this patch allows
  Win32/OS2/Netware paths to work with mod_vhost_alias.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@91515 13f79535-47bb-0310-9956-ffa450edef68

23 years agoFirst cut at the MPM for NetWare
Bradley Nicholes [Tue, 16 Oct 2001 23:27:04 +0000 (23:27 +0000)]
First cut at the MPM for NetWare

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@91514 13f79535-47bb-0310-9956-ffa450edef68

23 years agoOS specific file for NetWare
Bradley Nicholes [Tue, 16 Oct 2001 23:25:46 +0000 (23:25 +0000)]
OS specific file for NetWare

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@91513 13f79535-47bb-0310-9956-ffa450edef68

23 years agoRemove the ldap config file. This is now part of the ldap sub-project.
Ryan Bloom [Tue, 16 Oct 2001 22:29:20 +0000 (22:29 +0000)]
Remove the ldap config file.  This is now part of the ldap sub-project.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@91511 13f79535-47bb-0310-9956-ffa450edef68

23 years ago A bit of declaration would help get this loading on Win32
William A. Rowe Jr [Tue, 16 Oct 2001 22:01:14 +0000 (22:01 +0000)]
  A bit of declaration would help get this loading on Win32

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@91510 13f79535-47bb-0310-9956-ffa450edef68

23 years agoMissed this one when I removed the other ldap files.
Ryan Bloom [Tue, 16 Oct 2001 21:37:33 +0000 (21:37 +0000)]
Missed this one when I removed the other ldap files.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@91509 13f79535-47bb-0310-9956-ffa450edef68

23 years agoRemove all of the ldap modules. These have been moved to their own
Ryan Bloom [Tue, 16 Oct 2001 21:32:41 +0000 (21:32 +0000)]
Remove all of the ldap modules.  These have been moved to their own
repository, httpd-ldap, and they now form their own sub-project of the
httpd project.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@91508 13f79535-47bb-0310-9956-ffa450edef68

23 years agoInitial revision
Ryan Bloom [Tue, 16 Oct 2001 21:29:07 +0000 (21:29 +0000)]
Initial revision

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@91504 13f79535-47bb-0310-9956-ffa450edef68

23 years agoThe SSL config is huge, and has a lot of comments. The proxy config is
Ryan Bloom [Tue, 16 Oct 2001 20:15:10 +0000 (20:15 +0000)]
The SSL config is huge, and has a lot of comments.  The proxy config is
tiny, and very self-contained.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@91499 13f79535-47bb-0310-9956-ffa450edef68

23 years agoIMHO, ssl and proxy are advanced operations. Placing them into the default
Aaron Bannert [Tue, 16 Oct 2001 19:36:57 +0000 (19:36 +0000)]
IMHO, ssl and proxy are advanced operations. Placing them into the default
httpd.conf will just confuse people who just want a barebones webserver.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@91498 13f79535-47bb-0310-9956-ffa450edef68

23 years ago One more party
William A. Rowe Jr [Tue, 16 Oct 2001 19:04:59 +0000 (19:04 +0000)]
  One more party

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@91497 13f79535-47bb-0310-9956-ffa450edef68

23 years ago LoadFile(s) required by modules before they loaded weren't executed until
William A. Rowe Jr [Tue, 16 Oct 2001 19:04:02 +0000 (19:04 +0000)]
  LoadFile(s) required by modules before they loaded weren't executed until
  server initialization.  This patch assures all such loaded files occur as
  they are parsed.

Submitted by: John Sterling <sterling@covalent.net>

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@91496 13f79535-47bb-0310-9956-ffa450edef68

23 years ago The right place to choose this... hard to read some opinions
William A. Rowe Jr [Tue, 16 Oct 2001 18:47:04 +0000 (18:47 +0000)]
  The right place to choose this... hard to read some opinions

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@91495 13f79535-47bb-0310-9956-ffa450edef68

23 years agoExit when we can't listen on any of the configured ports. This
Jeff Trawick [Tue, 16 Oct 2001 18:45:16 +0000 (18:45 +0000)]
Exit when we can't listen on any of the configured ports.  This
is the same behavior as 1.3, and it avoids having the MPMs to
deal with bogus ap_listen_rec structures.

This also backs out some circumventions I and Greg Ames had added
to prefork; these are no longer necessary because of this change.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@91494 13f79535-47bb-0310-9956-ffa450edef68

23 years agoIn one target we weren't always creating the $libexecdir
Aaron Bannert [Tue, 16 Oct 2001 17:51:11 +0000 (17:51 +0000)]
In one target we weren't always creating the $libexecdir
($prefix/modules) directory, and in another we were assuming that the
directory existed. Now we always create it in the first target, and we
check that it exists in the second.

This fixes a bug where httpd.exp would be installed as a _file_ called
$prefix/modules.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@91492 13f79535-47bb-0310-9956-ffa450edef68

23 years ago Ok... for now ssl-std.conf and proxy-std.conf stand, so here's the patch
William A. Rowe Jr [Tue, 16 Oct 2001 15:49:38 +0000 (15:49 +0000)]
  Ok... for now ssl-std.conf and proxy-std.conf stand, so here's the patch
  for the win32 build.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@91491 13f79535-47bb-0310-9956-ffa450edef68

23 years ago Just feels wrong... but need to continue building
William A. Rowe Jr [Tue, 16 Oct 2001 15:36:13 +0000 (15:36 +0000)]
  Just feels wrong... but need to continue building

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@91490 13f79535-47bb-0310-9956-ffa450edef68

23 years ago Hmmm... mismatched namespaces :-?
William A. Rowe Jr [Tue, 16 Oct 2001 14:45:56 +0000 (14:45 +0000)]
  Hmmm... mismatched namespaces :-?

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@91489 13f79535-47bb-0310-9956-ffa450edef68