Rich Bowen [Mon, 10 Mar 2003 04:36:44 +0000 (04:36 +0000)]
Applying patch from 2.0 branch, however, there still appears to be some
invalid xml in here, although I have been completely unable to track it
down.
This patch adds discussion of removing unneeded modules, as well as
section titles to facilitate links directly to the various sections.
André Malo [Sat, 8 Mar 2003 17:08:34 +0000 (17:08 +0000)]
Check also err_headers_out for an already set Content-Encoding:
gzip header. This prevents gzip compressed content from a CGI
script from being compressed once more.
Jeff Trawick [Fri, 7 Mar 2003 12:23:00 +0000 (12:23 +0000)]
clean up the invocation of APR_CHECK_APR_DEFINE()...
it no longer references the second parameter, which was
incorrectly specified with out-of-tree APR anyway
(which resulted in prefork being selected on Unix since
we didn't ever think APR had thread support)
André Malo [Thu, 6 Mar 2003 23:53:52 +0000 (23:53 +0000)]
Minor MMN bump:
Forward port: Escape special characters (especially control
characters) in mod_log_config to make a clear distinction between
client-supplied strings (with special characters) and server-side
strings. This was already introduced in version 1.3.25.
Added the WindowsSocketsWorkaroud directive for Windows NT/2000/XP
to work around problems with certain VPN and Firewall products that
have buggy AcceptEx implementations
André Malo [Sun, 2 Mar 2003 18:06:16 +0000 (18:06 +0000)]
Unescape the supplied wildcard pattern. Otherwise the pattern will
not always match as desired. In order to be correct and safe, the
pattern will be re-escaped for output.
Erik Abele [Sun, 2 Mar 2003 01:17:31 +0000 (01:17 +0000)]
Cleaned up the misc directory and busted the following
files (as proposed some weeks ago):
misc/custom_errordocs.html
misc/descriptors.html
misc/fin_wait_2.html
misc/known_client_problems.html
misc/tutorials.html
images/custom_errordocs.gif
The correspondig links were also removed. What remains
are the Japanese docs:
André Malo [Sat, 1 Mar 2003 18:35:50 +0000 (18:35 +0000)]
Prevent endless loops of internal redirects in mod_rewrite by
aborting after exceeding a limit of internal redirects. The
limit defaults to 10 and can be changed using the RewriteOptions
directive with the new MaxRedirects=n argument.
(The latter required some restructuring of the RewriteOptions
evaluation code).
André Malo [Thu, 27 Feb 2003 02:50:04 +0000 (02:50 +0000)]
Fix mod_rewrite's abs_URI handling.
- uris were partially not correctly escaped (in particular:
ldap, news, mailto)
- not all uri schemes contain an authority component (//)
- add nntp:// scheme
- don't add a query string (and drop r->args) if it's not
http or mailto scheme
- be more efficient (think so)
Stas Bekman [Tue, 25 Feb 2003 23:25:19 +0000 (23:25 +0000)]
check the return value of ap_run_pre_connection(). So if the
pre_connection phase fails (without setting c->aborted)
ap_run_process_connection is not executed.
PR:
Obtained from:
Submitted by:
Reviewed by: trawick, jim
Confirmed by Milan Kosina that this code was still broken - I realized
we weren't updating stat correctly, and shouldn't have been trying to
pass the status, but the headers instead, from WriteClient(). This way
we can actually count the bytes consumed and begin treating the rest
as body contents.
Jeff Trawick [Tue, 25 Feb 2003 14:44:42 +0000 (14:44 +0000)]
fix some const-ness problems which break the compile with the native
compiler for AIX (and probably HP-UX and Tru64 as well, since they
tend to be picky too)
Bradley Nicholes [Mon, 24 Feb 2003 23:19:30 +0000 (23:19 +0000)]
Don't try to use the LDAP cache if it has been turned off. Make sure that we
have a "curl" before trying to use it. If caching has been turned off then the
curl variable will be NULL. This fixes a problem where LDAP caching would
fault when caching was disabled.
André Malo [Mon, 24 Feb 2003 21:55:07 +0000 (21:55 +0000)]
This is part three.
It fixes the misunderstandings between local URL paths and local
system paths. Note that mod_rewrite handles _both_.
Fixed also some comments to make the explanations more clear.
André Malo [Mon, 24 Feb 2003 21:44:15 +0000 (21:44 +0000)]
This is part two.
It fixes the prefix_stat function. (which does a stat call on the first
path segment). This function was still tailored for unix systems only.
It should work on other systems as well now.
André Malo [Mon, 24 Feb 2003 21:34:51 +0000 (21:34 +0000)]
Well, here comes a major fix. I've splitted the patch into 3 parts
for better understanding, what I'm doing there. This is part one.
mod_rewrite appears to be very broken in several cases, especially on
non-unix systems. However, let's start with fixing the path handling, since
it's _the_ major PITA, e.g. on win32.
This part removes _unused_ code. The condition is never true, because
"A local rewrite in per-directory context" was caught much earlier.
I'd guess this piece of code was c&p accidentally...
Someone (I need to refer back) asked that we do the same skip for the
utf-8 win32 prefix when testing for shebang lines. Here's just such
a test with some bad sizeof(buffer) v.s. bytes read assumptions fixed,
and the code made generally a little more legible. Please review and
comment to consider this patch for backporting to 2.0.
Jim Jagielski [Sun, 23 Feb 2003 17:12:43 +0000 (17:12 +0000)]
Right now SSLMutex is bogus. It just uses APR_LOCK_DEFAULT no
matter what. We now allow for the full range of APR mutex
locking mechanims to be used, while maintaining backwards
compatibility.
PR: 8122
Obtained from:
Submitted by:
Reviewed by: William Rowe
After consultations on the APR list, it was decided that /map files are
fairly redundant when you retain rich .pdb debugging symbol files. We
have rarely used them, and generally .dbg and .pdb files prove much more
useful for the cases we have.
While eliminating /map files, we are also shrinking the size of the .dbg
files by stripping 'private' symbol information. Really this means less
rich diagnostics from Dr. Watson on NT or Win9x when they query the .dbg
symbols in creating a DrWatson log file. But it's more than compensated
for on newer OS'es where Dr. Watson will query the .pdb symbols, on all
Win32 flavors when WinDbg is used with the .pdb symbols, and the fact that
the distribution of binary symbols will use less bandwidth when less
information is duplicated from the .pdb format into the .dbg files.
After consultations on the APR list, it was decided that /map files are
fairly redundant when you retain rich .pdb debugging symbol files. We
have rarely used them, and generally .dbg and .pdb files prove much more
useful for the cases we have.
While eliminating /map files, we are also shrinking the size of the .dbg
files by stripping 'private' symbol information. Really this means less
rich diagnostics from Dr. Watson on NT or Win9x when they query the .dbg
symbols in creating a DrWatson log file. But it's more than compensated
for on newer OS'es where Dr. Watson will query the .pdb symbols, on all
Win32 flavors when WinDbg is used with the .pdb symbols, and the fact that
the distribution of binary symbols will use less bandwidth when less
information is duplicated from the .pdb format into the .dbg files.
Bradley Nicholes [Tue, 18 Feb 2003 22:21:24 +0000 (22:21 +0000)]
Update the mod_auth_ldap and mod_ldap documentation to show the new
directives for establishing an SSL connection and the addition of the Novell
LDAP SDK.
foo.dbgmark turned out to be the same 8.3 name as foo.dbg itself, which
was badness. Twist this puppy to .dbr, the only name I could invent that
doesn't look like any database file extension I recall.