]> granicus.if.org Git - apache/log
apache
22 years ago If dconf->accept_path_info is tristate, why not r->used_path_info?
William A. Rowe Jr [Thu, 13 Dec 2001 16:11:41 +0000 (16:11 +0000)]
  If dconf->accept_path_info is tristate, why not r->used_path_info?
  This patch allows us to force path_info off in mod_cgi[d] etc, patch
  forthcoming.  It also allows includes, php, etc to change the undefined
  value in the early handler or late fixup phases to Accept'ed.

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

22 years ago Jeff's guess, right on. [Thought I committed it all... gotta grab a
William A. Rowe Jr [Thu, 13 Dec 2001 14:50:36 +0000 (14:50 +0000)]
  Jeff's guess, right on.  [Thought I committed it all... gotta grab a
  clean parallel tree, all my parallel trees are dirty again.]

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

22 years agohack up core_dir_config so that server/core.c compiles again
Jeff Trawick [Thu, 13 Dec 2001 13:15:56 +0000 (13:15 +0000)]
hack up core_dir_config so that server/core.c compiles again

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

22 years agoModified for clarity.
Aaron Bannert [Thu, 13 Dec 2001 08:32:48 +0000 (08:32 +0000)]
Modified for clarity.

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

22 years ago Now all should be well. AcceptPathInfo on will give us a document with
William A. Rowe Jr [Thu, 13 Dec 2001 05:49:27 +0000 (05:49 +0000)]
  Now all should be well.  AcceptPathInfo on will give us a document with
  path_info served from the core handler.  Any filters can then manipulate
  all the usual CGI envvars [as proven with this little excerpt with a
  <!--#printenv --> document...

<FilesMatch ".*\.shtml.*">
    Options +Includes
    SetOutputFilter INCLUDES
    AcceptPathInfo on
</FilesMatch>

  a potentially questionable config, but effective.

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

22 years agoRolled back w3c tidy diffs that corrupted japanese translations.
Rich Bowen [Thu, 13 Dec 2001 03:24:20 +0000 (03:24 +0000)]
Rolled back w3c tidy diffs that corrupted japanese translations.

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

22 years ago Give the request_rec some information about path_info allowance.
William A. Rowe Jr [Thu, 13 Dec 2001 02:40:34 +0000 (02:40 +0000)]
  Give the request_rec some information about path_info allowance.
  If some unnamed filter will consume the path_info, it may set up
  used_path_info to a non-zero value, and core.c will consume the
  request with path_info.

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

22 years ago Kill some redundancy (why test PUT when we disallow all but GET/POST?)
William A. Rowe Jr [Thu, 13 Dec 2001 02:35:31 +0000 (02:35 +0000)]
  Kill some redundancy (why test PUT when we disallow all but GET/POST?)
  and add some thoughts.

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

22 years ago . unwind MORE redundant code [wasn't I just here six months ago???]
William A. Rowe Jr [Thu, 13 Dec 2001 02:26:18 +0000 (02:26 +0000)]
  . unwind MORE redundant code [wasn't I just here six months ago???]

  . fix a redundant return [how no compilers caught a code-not-reachable
    is beyond me :]

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

22 years ago Periods aren't commas. Clear out some inappropriate casts while
William A. Rowe Jr [Thu, 13 Dec 2001 00:46:40 +0000 (00:46 +0000)]
  Periods aren't commas.  Clear out some inappropriate casts while
  we are at it.

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

22 years ago Whatever this was doing, it looks most unholy.
William A. Rowe Jr [Thu, 13 Dec 2001 00:43:13 +0000 (00:43 +0000)]
  Whatever this was doing, it looks most unholy.

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

22 years agoFix a bug in how we select the IP for the POD to connect to for dummy
Aaron Bannert [Wed, 12 Dec 2001 23:56:46 +0000 (23:56 +0000)]
Fix a bug in how we select the IP for the POD to connect to for dummy
connects (dislodging a doomed child from the accept mutex). No longer
do we assume that the child is listening to 127.0.0.1, but instead
we just pick the first hostname/port from the listen rec.

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

22 years agochange Apache/apr/apr-util to use run-time linking on AIX
Jeff Trawick [Wed, 12 Dec 2001 19:39:55 +0000 (19:39 +0000)]
change Apache/apr/apr-util to use run-time linking on AIX

currently, a kludge (-uXML_Parse) is needed to get a reference to expat
in the Apache executable programs; I think this is related to the fact
that expat libtool is getting generated a little differently than apr
libtool and is choosing to build a different flavor of shared library

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

22 years agoOh, FreeBSD, you don't like having multiple children, do you?
Justin Erenkrantz [Wed, 12 Dec 2001 10:09:58 +0000 (10:09 +0000)]
Oh, FreeBSD, you don't like having multiple children, do you?

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

22 years agoMerged NetWare into the standard conf file
Bradley Nicholes [Tue, 11 Dec 2001 19:37:59 +0000 (19:37 +0000)]
Merged NetWare into the standard conf file

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

22 years agoExcluding macros from the export list output
Bradley Nicholes [Tue, 11 Dec 2001 19:37:11 +0000 (19:37 +0000)]
Excluding macros from the export list output

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

22 years agoClean up GNU compiler issues on NetWare
Bradley Nicholes [Tue, 11 Dec 2001 19:36:05 +0000 (19:36 +0000)]
Clean up GNU compiler issues on NetWare
Submitted by: Pavel Novy

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

22 years agorevert back to using a "links" downloaded version of our FAQ with an
Greg Ames [Tue, 11 Dec 2001 19:28:38 +0000 (19:28 +0000)]
revert back to using a "links" downloaded version of our FAQ with an
up-to-date URL.  The FAQ included in httpd-2_0_28 isn't very pretty
because it wasn't parsed by mod_include as part of the roll script.
Add a comment explaining why this is necessary.

with this change, there's no reason to run expand.pl twice.

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

22 years agoFixed a few typos.
Chris Pepper [Tue, 11 Dec 2001 01:49:46 +0000 (01:49 +0000)]
Fixed a few typos.
Fixed some HTML tags (case, href/name/id)
Added a mention of multiple 'arguments' to allow/deny, and an example. This should probably be more explicit, but I'm not sure of the details (should we show with leading/trailing periods, and explain that IPs are assumed to be the left side, but hostnames are assumed to be the right side?).
PR:
Obtained from:
Submitted by:
Reviewed by:

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

22 years agoAnother fix for VPATH builds.
Aaron Bannert [Mon, 10 Dec 2001 23:53:23 +0000 (23:53 +0000)]
Another fix for VPATH builds.

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

22 years agoget worker MPM to respect the LockFile setting
Jeff Trawick [Mon, 10 Dec 2001 20:17:36 +0000 (20:17 +0000)]
get worker MPM to respect the LockFile setting

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

22 years agofix a problem with graceful restart. If you look at daedalus early in the
Greg Ames [Mon, 10 Dec 2001 20:10:05 +0000 (20:10 +0000)]
fix a problem with graceful restart.  If you look at daedalus early in the
morning, you will usually see lots ( >50 ) of old generation processes
happily serving requests with yesterday's config.  Late in the afternoon, they
are usually gone due to MaxRequestsPerChild and perform_idle_server_maintenance.

ap_mpm_pod_signal can time out during connect(), causing it to exit with an
error.  If it was called by ap_mpm_pod_killpg during graceful restart,
ap_mpm_pod_killpg will exit immediately.  This can cause us to not write
enough characters to the pod to kill off all the old generation children.

This fix decouples the loop which writes to the pod from the loop which
generates dummy connect()s.  The connect()s aren't as important as
writing to the pod when there is a steady stream of inbound connections.

also, close the socket and destroy the temporary pool if the connect()
fails.

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

22 years agoget rid of an ancient requirement that APACHE_XLATE be defined;
Jeff Trawick [Mon, 10 Dec 2001 19:07:32 +0000 (19:07 +0000)]
get rid of an ancient requirement that APACHE_XLATE be defined;
get rid of an ancient work-around for a problem with apr_heap_create

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

22 years agoStyle reformat. Tabs->spaces, etc, etc, etc.
Justin Erenkrantz [Sun, 9 Dec 2001 18:08:08 +0000 (18:08 +0000)]
Style reformat.  Tabs->spaces, etc, etc, etc.

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

22 years agoReduce magic levels.
Ben Laurie [Sun, 9 Dec 2001 17:48:52 +0000 (17:48 +0000)]
Reduce magic levels.

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

22 years agoAdd -I for the zlib include dir to the right flag variable
Jeff Trawick [Sun, 9 Dec 2001 03:32:02 +0000 (03:32 +0000)]
Add -I for the zlib include dir to the right flag variable

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

22 years agoUpdate wording of the error README file.
Lars Eilebrecht [Sat, 8 Dec 2001 18:09:35 +0000 (18:09 +0000)]
Update wording of the error README file.

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

22 years agoMove file to 'error' directory as the directory is no longer a
Lars Eilebrecht [Sat, 8 Dec 2001 17:50:50 +0000 (17:50 +0000)]
Move file to 'error' directory as the directory is no longer a
subdirectory of docroot.

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

22 years agoFix wrong german text about proxy(?).
Lars Eilebrecht [Sat, 8 Dec 2001 16:56:33 +0000 (16:56 +0000)]
Fix wrong german text about proxy(?).
Add more native texts for variants where we send REDIRECT_ERROR_NOTES.

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

22 years agoclean up some signed/unsigned discrepancies, hopefully with the absolute
Jeff Trawick [Sat, 8 Dec 2001 13:05:56 +0000 (13:05 +0000)]
clean up some signed/unsigned discrepancies, hopefully with the absolute
minimum of casting; it wouldn't compile with AIX xlc otherwise (experience
says that Tru64 and HP-UX native compilers would be extremely unhappy too,
though I didn't try yet)

get rid of unused function deflate_insert_filter (trivial to put back
so no reason to #if 0)

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

22 years agoSwitched from heap bucket to pool bucket for SSI echo directive
Brian Pane [Sat, 8 Dec 2001 03:14:50 +0000 (03:14 +0000)]
Switched from heap bucket to pool bucket for SSI echo directive

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

22 years ago[indentation fixes only]
Brian Pane [Sat, 8 Dec 2001 02:04:51 +0000 (02:04 +0000)]
[indentation fixes only]

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

22 years agoReduced the number of times that we scan through each string
Brian Pane [Sat, 8 Dec 2001 02:00:42 +0000 (02:00 +0000)]
Reduced the number of times that we scan through each string
looking for invalid characters in analyze_ct()

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

22 years agoFix segfault when restarting worker MPM. We can not examine the POD as
Justin Erenkrantz [Sat, 8 Dec 2001 01:38:05 +0000 (01:38 +0000)]
Fix segfault when restarting worker MPM.  We can not examine the POD as
a normal listener.

There was an additional bug than what Ian submitted to fix listen.c
(i.e. check sa for null): make_pipe_of_death does not zero out
lr->bind_addr (since it uses apr_palloc).  So, on Solaris, the first
time through, bind_addr was probably 0, but the second time, not (pools!).
(This caused Aaron's analysis that the patch worked the first time,
but not the second time.)

Submitted by: Ian Holsman
Reviewed by: Justin Erenkrantz, Aaron Bannert

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

22 years agoClean up style (tabs->spaces, etc, etc, etc.).
Justin Erenkrantz [Sat, 8 Dec 2001 01:22:00 +0000 (01:22 +0000)]
Clean up style (tabs->spaces, etc, etc, etc.).

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

22 years ago AFAICT - these symbols are unused.
William A. Rowe Jr [Fri, 7 Dec 2001 22:19:38 +0000 (22:19 +0000)]
  AFAICT - these symbols are unused.

  The right solution, once required, is to wrap the FRAMING requirement
  into the mmap logic so we can always ask for a n byte mmap, only to be
  given a n + (pg - (n % pg)) byte region without consumer hassles.

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

22 years agoHere's another one: IPv6.
Joshua Slive [Fri, 7 Dec 2001 19:54:00 +0000 (19:54 +0000)]
Here's another one: IPv6.
How does it work?  I don't see any docs.

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

22 years agoAgain, someone really needs to update the mod_proxy docs.
Joshua Slive [Fri, 7 Dec 2001 19:49:28 +0000 (19:49 +0000)]
Again, someone really needs to update the mod_proxy docs.

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

22 years agostatus update...
Joshua Slive [Fri, 7 Dec 2001 19:45:10 +0000 (19:45 +0000)]
status update...
we definitely need some input from dev@httpd on things like mod_proxy,
worker mpm, etc.

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

22 years agoProvide an accessor function for the global_score portion of the scoreboard.
Aaron Bannert [Fri, 7 Dec 2001 19:08:50 +0000 (19:08 +0000)]
Provide an accessor function for the global_score portion of the scoreboard.

Submitted by: Harrie Hazewinkel <harrie@covalent.net>
Reviewed by: Aaron Bannert

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

22 years agomake sure mod_foo.so is installed by apxs -i
Jeff Trawick [Fri, 7 Dec 2001 19:06:58 +0000 (19:06 +0000)]
make sure mod_foo.so is installed by apxs -i

also, it is the .so file that needs to be executable, not the .la file

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

22 years agoExport ap_get_parent_scoreboard and ap_get_servers_scoreboard to be
Aaron Bannert [Fri, 7 Dec 2001 19:06:29 +0000 (19:06 +0000)]
Export ap_get_parent_scoreboard and ap_get_servers_scoreboard to be
usable on Win32 and friends.

Submitted by: Harrie Hazewinkel <harrie@covalent.net>
Reviewed by: Aaron Bannert

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

22 years agoFix bug that could potentially prevent perchild from working with
Aaron Bannert [Fri, 7 Dec 2001 18:19:16 +0000 (18:19 +0000)]
Fix bug that could potentially prevent perchild from working with
more than one vhost/uid.

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

22 years agoOne thing I learned from the worker MPM was that the style changes
Aaron Bannert [Fri, 7 Dec 2001 18:14:43 +0000 (18:14 +0000)]
One thing I learned from the worker MPM was that the style changes
need to come first, lest they never be applied.

No funtional changes, merely tabs/alignment issues and a few added blocks
for clarity. (The good stuff comes later.)

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

22 years agoWow, it just got really windy outside, and warm!
Aaron Bannert [Fri, 7 Dec 2001 18:10:25 +0000 (18:10 +0000)]
Wow, it just got really windy outside, and warm!

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

22 years agoAny release that goes out that doesn't have this fixed is getting vetoed
Justin Erenkrantz [Fri, 7 Dec 2001 18:02:47 +0000 (18:02 +0000)]
Any release that goes out that doesn't have this fixed is getting vetoed
by me as anything other than alpha.

I'm sick of this - it's been a pain for a long time and just hit me
hard when one of the other admins on my 2.0 site tried to send SIGHUP
and the thing died - it confused the hell out of him.  =)

Let's start tracking this down.

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

22 years agoDo special install processing for Apache DSO modules on HP-UX, Tru64,
Jeff Trawick [Fri, 7 Dec 2001 17:48:36 +0000 (17:48 +0000)]
Do special install processing for Apache DSO modules on HP-UX, Tru64,
and AIX so that we get mod_foo.so installed instead of the stuff that
libtool installed.

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

22 years agochange binbuild.sh to use --enable-mods-shared=most. This adds 13 modules
Greg Ames [Fri, 7 Dec 2001 15:55:23 +0000 (15:55 +0000)]
change binbuild.sh to use --enable-mods-shared=most.  This adds 13 modules
to the build.

Thanks again to Aaron for fixing this configure option.

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

22 years agoAdded a string "class" to the Apache 3.0 wishlist
Brian Pane [Fri, 7 Dec 2001 15:53:19 +0000 (15:53 +0000)]
Added a string "class" to the Apache 3.0 wishlist

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

22 years agoAdd a note about terminating the server.
Ryan Bloom [Fri, 7 Dec 2001 15:41:00 +0000 (15:41 +0000)]
Add a note about terminating the server.
PR:
Obtained from:
Submitted by:
Reviewed by:

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

22 years agoPeople are asking for this..
Ken Coar [Fri, 7 Dec 2001 15:33:58 +0000 (15:33 +0000)]
People are asking for this..

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

22 years agofix a const-ness problem caused by calling the wrong strchr()
Jeff Trawick [Fri, 7 Dec 2001 12:29:04 +0000 (12:29 +0000)]
fix a const-ness problem caused by calling the wrong strchr()

--enable-maintainer-mode and a decent compiler is *so* important!

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

22 years agoRemoved one more strdup in the content-type processing
Brian Pane [Fri, 7 Dec 2001 08:48:17 +0000 (08:48 +0000)]
Removed one more strdup in the content-type processing

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

22 years agoOptimized away some string scans and copies in analyze_ct()
Brian Pane [Fri, 7 Dec 2001 08:19:44 +0000 (08:19 +0000)]
Optimized away some string scans and copies in analyze_ct()

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

22 years agoupdated some comments to accurately reflect the current code
Brian Pane [Fri, 7 Dec 2001 03:59:29 +0000 (03:59 +0000)]
updated some comments to accurately reflect the current code

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

22 years agooptimization: replaced an apr_pstrndup call with apr_pstrmemdup
Brian Pane [Fri, 7 Dec 2001 03:44:29 +0000 (03:44 +0000)]
optimization: replaced an apr_pstrndup call with apr_pstrmemdup

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

22 years agoWhen checking for "file" or "virtual" as an argument to
Brian Pane [Fri, 7 Dec 2001 03:09:54 +0000 (03:09 +0000)]
When checking for "file" or "virtual" as an argument to
"<!--#", check for "virtual" first.  That's the more likely
case (assuming that people follow the recommendation in
the mod_include documentation that "virtual" be used in
preference to "file"), so by checking for "virtual" first
we can short-circuit out of the conditional after one
strcmp instead of two.

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

22 years agoSmall performance fix: delay variable initialization in
Brian Pane [Thu, 6 Dec 2001 02:57:19 +0000 (02:57 +0000)]
Small performance fix: delay variable initialization in
ap_meets_conditions() until after the point where we
short-circuit out of the function on subrequests

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

22 years agodon't lose the const-ness of the string being searched
Jeff Trawick [Thu, 6 Dec 2001 02:54:47 +0000 (02:54 +0000)]
don't lose the const-ness of the string being searched

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

22 years agoReplaced ap_strcmp_match call that checked for a '/' in the
Brian Pane [Thu, 6 Dec 2001 01:20:16 +0000 (01:20 +0000)]
Replaced ap_strcmp_match call that checked for a '/' in the
handler name with the equivalent (but less heavyweight)
strchr call

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

22 years agoGet rid of some needless index.html's.
Joshua Slive [Wed, 5 Dec 2001 19:45:45 +0000 (19:45 +0000)]
Get rid of some needless index.html's.

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

22 years agoUpdate SSI docs to use AddOutputFilter in place of SetOutputFilter.
Joshua Slive [Wed, 5 Dec 2001 19:11:45 +0000 (19:11 +0000)]
Update SSI docs to use AddOutputFilter in place of SetOutputFilter.

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

22 years agoFix a typo.
Joshua Slive [Wed, 5 Dec 2001 19:07:00 +0000 (19:07 +0000)]
Fix a typo.

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

22 years agoRemove some comments from the errordocument and browsermatch sections.
Joshua Slive [Wed, 5 Dec 2001 19:01:25 +0000 (19:01 +0000)]
Remove some comments from the errordocument and browsermatch sections.
I like short config files.

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

22 years agoConfig file updates. Mostly just playing with comments, but a few functional
Joshua Slive [Wed, 5 Dec 2001 18:28:37 +0000 (18:28 +0000)]
Config file updates.  Mostly just playing with comments, but a few functional
changes:

1. Remove the directives in the document root <directory> section that
are there to handle the index.html.var and put them in their normal place
in the config file.  I see no reason to duplicate the directives and
explanations.

2. Change from the funky FilesMatch/SetOutputFilter to AddOutputFilter for
the SSI configuration.

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

22 years agoseparate logic specific to building Apache DSOs from logic needed
Jeff Trawick [Wed, 5 Dec 2001 17:32:52 +0000 (17:32 +0000)]
separate logic specific to building Apache DSOs from logic needed
when anybody's DSOs should be built (e.g., via apxs) so that on a
few platforms with special issues third-party modules can be loaded
as long as mod_so is built into httpd

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

22 years agomutli-dbm patch should remove on of the showstoppers soon
Ian Holsman [Wed, 5 Dec 2001 16:51:50 +0000 (16:51 +0000)]
mutli-dbm patch should remove on of the showstoppers soon

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

22 years agoAdd directory and .htaccess context in mod_env directives.
Joshua Slive [Wed, 5 Dec 2001 16:46:14 +0000 (16:46 +0000)]
Add directory and .htaccess context in mod_env directives.
PR: 8939
Submitted by: Vladimir Terziev <vlady@rila.bg>

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

22 years agoBad link.
Joshua Slive [Wed, 5 Dec 2001 16:14:46 +0000 (16:14 +0000)]
Bad link.
Submitted by: Ryan.King@databuilt.com

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

22 years agohmmm... gcc 2.95.2 on AIX says sizeof is long... fix up
Jeff Trawick [Wed, 5 Dec 2001 15:41:25 +0000 (15:41 +0000)]
hmmm... gcc 2.95.2 on AIX says sizeof is long...  fix up
a printf to always have a match between the format string
and argument

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

22 years agoif compilation is doomed due to lack of thread support, fail
Jeff Trawick [Wed, 5 Dec 2001 15:01:15 +0000 (15:01 +0000)]
if compilation is doomed due to lack of thread support, fail
the compile with a nicer message

(hopefully this is only temporary?)

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

22 years agoBill speaks.
Justin Erenkrantz [Wed, 5 Dec 2001 03:56:19 +0000 (03:56 +0000)]
Bill speaks.

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

22 years agomention an unfortunate issue with make_exports.awk
Jeff Trawick [Wed, 5 Dec 2001 03:22:32 +0000 (03:22 +0000)]
mention an unfortunate issue with make_exports.awk

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

22 years agoAllow apxs to be used to build DSOs on AIX without requiring the
Jeff Trawick [Wed, 5 Dec 2001 03:02:45 +0000 (03:02 +0000)]
Allow apxs to be used to build DSOs on AIX without requiring the
user to hard-code the list of import files.  (This should help
on OS/390 and BeOS as well.)

Trivial change: just stick the value of SH_LDFLAGS on the
libtool --mode=link line.

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

22 years agoFixed check for buffer overrun in ap_rgetline()
Brian Pane [Wed, 5 Dec 2001 01:34:00 +0000 (01:34 +0000)]
Fixed check for buffer overrun in ap_rgetline()

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

22 years agotweak httpd -V output to show the architecture (bits in a pointer)
Jeff Trawick [Tue, 4 Dec 2001 18:36:51 +0000 (18:36 +0000)]
tweak httpd -V output to show the architecture (bits in a pointer)
and whether or not APR_HAS_SENDFILE is defined

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

22 years agoget the declaration for strcasecmp()/strncasecmp() on AIX
Jeff Trawick [Tue, 4 Dec 2001 01:45:46 +0000 (01:45 +0000)]
get the declaration for strcasecmp()/strncasecmp() on AIX

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

22 years agoget prototype for strcasecmp() on AIX
Jeff Trawick [Tue, 4 Dec 2001 01:04:17 +0000 (01:04 +0000)]
get prototype for strcasecmp() on AIX

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

22 years ago Resolved segfault in mod_isapi when configuring with ISAPICacheFile.
William A. Rowe Jr [Mon, 3 Dec 2001 19:46:32 +0000 (19:46 +0000)]
  Resolved segfault in mod_isapi when configuring with ISAPICacheFile.

PR: 8563, 8919

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

22 years agoAdd a sitemap.
Joshua Slive [Mon, 3 Dec 2001 18:19:39 +0000 (18:19 +0000)]
Add a sitemap.

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

22 years agoget binbuild working when apr, apr-util, and expat are built shared in
Greg Ames [Mon, 3 Dec 2001 18:00:04 +0000 (18:00 +0000)]
get binbuild working when apr, apr-util, and expat are built shared in
directories that are not well known to the loader.

How it works:
* libtool figures out the name of this system's library path environment
  variable (i.e. LD_LIBRARY_PATH, LIBPATH, DYLD_LIBRARY_PATH) at apr
  configure time (existing code)
* save this variable name in SHLIBPATH_VAR in APRVARS
* substitute this name when apachectl is created
* uncomment the lines containing this variable during binbuild
* install_bindist.sh updates the path to lib/ when the binary is
  installed (existing code)

not done yet, but a good idea:
* create a file or directory containing all environment variable settings
  for apachectl.  Others env vars need to be tweaked, at least on AIX and
  OS/390, so keeping them separate should reduce headaches long term.

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

22 years agoChange a comment. This change was made to 2.0.29-dev. 2.0.28 had already
Bill Stoddard [Mon, 3 Dec 2001 15:57:02 +0000 (15:57 +0000)]
Change a comment. This change was made to 2.0.29-dev. 2.0.28 had already
gone out the door when this change was made.

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

22 years agoHandle the ? option.
Ben Laurie [Mon, 3 Dec 2001 14:28:39 +0000 (14:28 +0000)]
Handle the ? option.

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

22 years agoget rid of an unused variable
Jeff Trawick [Mon, 3 Dec 2001 12:12:31 +0000 (12:12 +0000)]
get rid of an unused variable

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

22 years agoFix prototype for post_config hook
Cliff Woolley [Mon, 3 Dec 2001 08:36:17 +0000 (08:36 +0000)]
Fix prototype for post_config hook

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

22 years agoFix a typo (?)
Cliff Woolley [Mon, 3 Dec 2001 08:34:55 +0000 (08:34 +0000)]
Fix a typo (?)
One compile error down, several to go.

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

22 years agoOptimization for ap_getparents: skip past all the leading
Brian Pane [Mon, 3 Dec 2001 00:49:28 +0000 (00:49 +0000)]
Optimization for ap_getparents: skip past all the leading
characters of the path that aren't '.' rather than copying
those bytes onto themselves

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

22 years ago[No code changes here, just adding the cvs comment that I messed up in
Brian Pane [Sun, 2 Dec 2001 23:15:54 +0000 (23:15 +0000)]
[No code changes here, just adding the cvs comment that I messed up in
the previous commit]
Added a version of ap_getline() that allocs a buffer from
the request's pool, rather than copying into a caller-supplied
buffer.  (This lets us eliminate one copy operation on the
request headers.)

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

22 years agoAdded a version of ap_getline() that allocs a buffer from
Brian Pane [Sun, 2 Dec 2001 23:13:32 +0000 (23:13 +0000)]
Added a version of ap_getline() that allocs a buffer from
the request's pool, rather than copying into a caller-supplied
buffer.  (This lets us eliminate one copy operation on the
request headers.)

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

22 years agoinclude/http_protocol.h
Brian Pane [Sun, 2 Dec 2001 23:11:12 +0000 (23:11 +0000)]
include/http_protocol.h

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

22 years agoOptimization: replace apr_pstrndup() with apr_pstrmemdup() in
Brian Pane [Sun, 2 Dec 2001 20:38:33 +0000 (20:38 +0000)]
Optimization: replace apr_pstrndup() with apr_pstrmemdup() in
ap_escape_html() to eliminate a redundant scan through the string.

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

22 years agoAdded code to ap_ssi_get_tag_and_value() to avoid converting
Brian Pane [Sun, 2 Dec 2001 19:16:01 +0000 (19:16 +0000)]
Added code to ap_ssi_get_tag_and_value() to avoid converting
SSI tags to lowercase when they're already lowercase (in my
experience, this special case happens often enough to be
worth optimizing)

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

22 years agoAdded faster logic for decodehtml to handle the special case
Brian Pane [Sun, 2 Dec 2001 18:44:06 +0000 (18:44 +0000)]
Added faster logic for decodehtml to handle the special case
where the string being decoded doesn't have any ampersands
in it (e.g., because it's the value for an 'include virtual=...')

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

22 years agoExclude the terminating null byte from the length of
Brian Pane [Sun, 2 Dec 2001 10:33:01 +0000 (10:33 +0000)]
Exclude the terminating null byte from the length of
strings passed to apr_hash_get/apr_hash_set (this matches
the convention used throughout the rest of the httpd,
and it saves a small amount of processing)

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

22 years agoOptimization: changed some apr_pstrndup calls to apr_pstrmemdup
Brian Pane [Sun, 2 Dec 2001 09:51:19 +0000 (09:51 +0000)]
Optimization: changed some apr_pstrndup calls to apr_pstrmemdup

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

22 years agoReduced the number of strlen operations in ap_getword()
Brian Pane [Sun, 2 Dec 2001 05:46:36 +0000 (05:46 +0000)]
Reduced the number of strlen operations in ap_getword()

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

22 years agoModified ap_make_full_path to minimize the number of strlen operations
Brian Pane [Sun, 2 Dec 2001 05:09:51 +0000 (05:09 +0000)]
Modified ap_make_full_path to minimize the number of strlen operations

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

22 years ago Correct case comparison typematch
William A. Rowe Jr [Sun, 2 Dec 2001 01:26:45 +0000 (01:26 +0000)]
  Correct case comparison typematch

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

22 years agoGet shared builds of libapr and libaprutil, as well as Apache DSOs,
Jeff Trawick [Sat, 1 Dec 2001 17:42:18 +0000 (17:42 +0000)]
Get shared builds of libapr and libaprutil, as well as Apache DSOs,
working on AIX.

Submitted by: a cast of many, reverse engineering libtool to
              figure out how to work around its oddities/limitations/
              bugs on AIX
              (Jeff Trawick coded these changes but it took a lot of
              help)

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

22 years agoFix the handling of SSI directives in which the ">" of the
Brian Pane [Sat, 1 Dec 2001 05:38:23 +0000 (05:38 +0000)]
Fix the handling of SSI directives in which the ">" of the
terminating "-->" is the last byte in a file (previously,
the output of the directive was lost in this case).

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