André Malo [Wed, 27 Nov 2002 06:02:33 +0000 (06:02 +0000)]
nobody seems to have objections...
* XHTML 1._0_. delivering xhtml 1.1 as text/html is bogus.
(see <http://www.w3.org/TR/xhtml-media-types/#summary>)
* replaced the also bogus <dl> stuff by normal <p>s
and added some CSS instead.
(embedding CSS compatible to xml *and* html causes the very
ugly hack, you can see in top.html, because in HTML <style> contains
CDATA and in XHTML PCDATA, see also
<http://lists.w3.org/Archives/Public/www-html/2002Apr/0053.html>)
* fixed some encoding issues.
* removed the weird empty lines at the beginning of every document
* added CONTENT_LANGUAGE parameter for pt-br
Set the appropriate mime response headers for negotated type-map
Body: responses.
wrowe's review;
My earlier concern doesn't apply. Type maps have always required the
author to be explicit in all header fields to be negotiated; if the
headers aren't given in the type map file the resulting redirect
(for non-body maps) is broken anyways. As to my other concern, the
charset should only exist if the Content-Type was given.
Wilfredo Sanchez [Mon, 25 Nov 2002 04:17:11 +0000 (04:17 +0000)]
Don't use GNU tar.
Problem here is that GNU tar creates tar archives which are not POSIX-compliant and cannot be unpacked using a POSIX tar program.
Typical oopsie is a developer uses binbuild to pack up an httpd release on a system which does not include gtar in the standard distro, but it's there on the developer's computer. User downloads it and find that it won't unpack with standard tar, even though it claims to be a tar archive. Blah.
Win32 builds populate include from modules/foo/*.h and os/win32/os.h.
Eliminate the noise. However, I'm itching to simply move those 'standard'
module headers back down to httpd-2.0/includes/ ... any objections?
Keep track of the changes. My guess (although we will see in practice)
is that 'new stuff' will stay here in HEAD, while problems will probably
linger in APACHE_2_0. History will be relative to the tree one is viewing.
Graham Leggett [Fri, 22 Nov 2002 12:51:02 +0000 (12:51 +0000)]
Replace APU_HAS_LDAPSSL_CLIENT_INIT with APU_HAS_LDAP_NETSCAPE_SSL
as set by apr-util in util_ldap.c. This should allow mod_ldap
to work with the Netscape/Mozilla LDAP library.
PR:
Obtained from:
Submitted by:
Reviewed by:
Graham Leggett [Fri, 22 Nov 2002 12:35:44 +0000 (12:35 +0000)]
Reorder the definitions for mod_ldap and mod_auth_ldap within
config.m4 to make sure the parent mod_ldap is defined first.
This ensures that mod_ldap comes before mod_auth_ldap in the
httpd.conf file, which is necessary for mod_auth_ldap to load.
PR:
Obtained from:
Submitted by:
Reviewed by:
Jeff Trawick [Fri, 22 Nov 2002 12:23:10 +0000 (12:23 +0000)]
Fix critical bug in new --enable-v4-mapped configure option
implementation which broke IPv4 listening sockets on
systems with IPV6_V6ONLY socket option.
That option should only be done on IPv6 listening sockets.
Submitted by: hiroyuki hanai <hanai@imgsrc.co.jp>]
Reviewed by: Jeff Trawick
Branch tag APACHE_2_0_BRANCH now contains Apache 2.0 development.
Persist cvs HEAD as Apache 2.1.
After discussion at AC, a number of individuals including Sander, Will,
Justin and Rich will begin reverting the appropriate changes from the
APACHE_2_0_BRANCH, while continuing their documentation and development
of the Authorization reorganization on this branch.
Jeff Trawick [Thu, 21 Nov 2002 23:53:21 +0000 (23:53 +0000)]
mod_autoindex: AddDescription directives for directories
now work as in Apache 1.3, where no trailing '/' is
specified on the directory name. Previously, the trailing
'/' *had* to be specified, which was incompatible with
Apache 1.3.
Paul J. Reder [Thu, 21 Nov 2002 21:52:47 +0000 (21:52 +0000)]
Fix for PR 14556. The expiry calculations in mod_cache were
trying to perform "now + ((date - lastmod) * factor)" where
date == lastmod resulting in "now + 0". The code now follows
the else path (using the default expiration) if date is
equal to lastmod. [rx@armstrike.com (Sergey), Paul J. Reder]
Joshua Slive [Thu, 21 Nov 2002 17:42:12 +0000 (17:42 +0000)]
Correct the title of the <note> about the scope of AllowOverride,
and also remove the comment about the context being incorrect.
The "help" link for "Context" tells you to consult sections.xml
for exceptions, and this is documented there.
Rich Bowen [Wed, 20 Nov 2002 03:12:35 +0000 (03:12 +0000)]
Submitted by: Mads Toftum
Reviewed by: Rich Bowen
Another bunch of changes to remove some of the stuff that has been
obsoleted by the inclusion of mod_ssl in apache. There is still some of
the submitting bugs / mailing list stuff (see
http://httpd.apache.org/ssl/ssl_faq.html#contact) that needs to be
reworked - but someone needs to decide whether to point at bugzilla
and/or the bugdb at modssl.org.
Jeff Trawick [Wed, 20 Nov 2002 00:09:56 +0000 (00:09 +0000)]
Axe some warnings in rotatelogs which came when the program was
converted to use APR. The behaviors of apr_file_read() and
apr_file_write() weren't taken completely into account.
But note: In a couple of places the check "nRead < 0" was removed.
While that is meaningless with APR and hasn't done anything
useful in a long time, in Apache 1.3 days it was essentially
a check for read-failed-with-EINTR. Apparently a rotation
would occur if the read was interrupted by a signal. That
function has been lost with the APR-ization.
Rich Bowen [Sun, 17 Nov 2002 20:43:12 +0000 (20:43 +0000)]
PR: Debian Bug report #169431 -- Documentation of AllowOverride strongly
(and wrongly) implies it is valid within a <Location> directive.
This patch corrects that, as you really can't use AllowOverride in Files
or Location sections.
this allows documents to set the href of the top left left-arrow
without adding a breadcrumb link. This feature primarily intended for
directory index files.
Brian Pane [Sun, 17 Nov 2002 01:33:25 +0000 (01:33 +0000)]
When storing the response headers in mod_cache, omit Transfer-Encoding
and any other hop-by-hop headers that shouldn't be applied when the
response is later delivered from cache:
http://marc.theaimsgroup.com/?l=apache-httpd-dev&m=103727389213072
Diagnosed by: Estrade Matthieu <estrade-m@ifrance.com>
Greg Ames [Sat, 16 Nov 2002 02:27:33 +0000 (02:27 +0000)]
core_output_filter: back out changes to clean up resources before the end
of a keepalive connection until we can figure out how to do it safely for
mmap buckets
André Malo [Sat, 16 Nov 2002 00:47:52 +0000 (00:47 +0000)]
more formal changes:
- moved path_info section below the "enabling" section
- dropped "Using Server Side Includes for ErrorDocuments" section and added
a simple seealso instead. I don't see, that we need a separate section to
set a link.
- created an own subsection for every SSI element and put an overview table
on top of it, this resolves also the mozilla problem with nested <dl>s,
that was still present (sometimes)
- fixed some typos
- markup.
content changes:
- added a note about the behaviour of fsize/flastmod virtual
- removed apache 1.2 compatibility notes (this is a 2.x documentation)
- added a compat note in the module overview table
- added description for QUERY_STRING_UNESCAPED
- splitted flow control descriptions (=, != vs. <, <=, >, >=; the former
allow regexps, the latter don't)
- added a sentence and an example about regexp capturing
- mentioned the literal comparison (vs. numerical)
- includesNOEXEC allows only text/* ressources to be included.
mentioned that.
Communication between handler and daemon used newlines to delimit
environment variables, which threw everything off when an environment
variable contained a newline.
Communication between handler and daemon was extensively reworked.
Environment variables were handled as in the patch submitted by
Piotr Czejkowski.
PR: 14550
Submitted by: Piotr Czejkowski <apache@czarny.eu.org>, Jeff Trawick
Cliff Woolley [Thu, 14 Nov 2002 19:22:26 +0000 (19:22 +0000)]
Fix a memory leak in mod_deflate with dynamic content. Because the
brigade was being destroyed (ie, cleanup unregistered) rather than just
emptied out and then reused anyway, the last call down the filter stack
would leak buckets.
PR: 14321
Submitted by: Ken Franken <kfranken@decisionmark.com>
Reviewed by: Jeff Trawick, Cliff Woolley
André Malo [Thu, 14 Nov 2002 18:43:32 +0000 (18:43 +0000)]
- adding markup
- reformatting a bit
- <em> -> <var>
- add seealso to UseCanonicalName
- add explicit XHTML example
- " inside quoted text is not impossible, it can be written as "
Jeff Trawick [Thu, 14 Nov 2002 14:17:11 +0000 (14:17 +0000)]
Add --[enable|disable]-v4-mapped configure option to control
whether or not Apache expects to handle IPv4 connections
on IPv6 listening sockets. Either setting will work on
systems with the IPV6_V6ONLY socket option. --enable-v4-mapped
must be used on systems that always allow IPv4 connections on
IPv6 listening sockets.
Note: As the ssl config file is not automatically generated and
it is expected to require editing anyway to work, the only
change there was to suggest the required Listen statements
in a comment.
PR: PR 14037 (Bugzilla), PR 7492 (Gnats), various dups of these PRs