1
0
mirror of https://github.com/apache/httpd.git synced 2025-08-27 16:41:57 +03:00
Commit Graph

398 Commits

Author SHA1 Message Date
Jim Jagielski
1356837ec2 Typo
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@83327 13f79535-47bb-0310-9956-ffa450edef68
1999-06-13 20:06:42 +00:00
Jim Jagielski
67c353b628 PR:
Obtained from:
Submitted by:	Mathijs Maassen <mathijs@xs4all.nl>
Reviewed by:	Jim, Lars
Add the new DocumentRootCheck directive. This determines if we
check for each DocumentRoot during startup.


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@83325 13f79535-47bb-0310-9956-ffa450edef68
1999-06-13 19:59:37 +00:00
Ken Coar
1c109a844a A minor enhancement to SetEnvIf*: allow it to test envariables
as well as request attributes.


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@83292 13f79535-47bb-0310-9956-ffa450edef68
1999-06-04 18:40:00 +00:00
Ken Coar
4f8584ed30 Allow SetEnvIf* to set things according to the protocol of
the request.


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@83220 13f79535-47bb-0310-9956-ffa450edef68
1999-05-19 13:26:06 +00:00
dgaudet
376ad0e880 Always log months in english format for %t in mod_log_config.
PR:		4366, 679
Submitted by:	Petr Lampa <lampa@fee.vutbr.cz>


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@83211 13f79535-47bb-0310-9956-ffa450edef68
1999-05-16 23:39:42 +00:00
Ken Coar
7af4a107fc Someone finally stood up and made the ReadmeName and HeaderName
features use subrequests.  Not only that, but they can be
	parsed for SSIs too!

PR:		1574, 3026, 3529, 3569, 4256
Submitted by:	Raymond S Brand <rsbx@rsbx.net>
Reviewed by:	Ken Coar


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@83202 13f79535-47bb-0310-9956-ffa450edef68
1999-05-13 18:25:45 +00:00
Ken Coar
b68c489ddd Minor fix discovered whilst investigating a problem..
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@83157 13f79535-47bb-0310-9956-ffa450edef68
1999-05-02 16:48:18 +00:00
Ken Coar
d0bf4213d6 Point out that for multiple AddLanguage directives with the
same extension, the last one encountered dominates.  This is
	true of lots of directives, but this is the one on which we
	got a PR..

PR:	3570


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@83135 13f79535-47bb-0310-9956-ffa450edef68
1999-04-29 19:55:53 +00:00
Ken Coar
9a1f46f288 A minor but frequest request: allow Webmaster control over the
name of the tracking cookie.

PR:	2921, 4303


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@83131 13f79535-47bb-0310-9956-ffa450edef68
1999-04-29 15:44:32 +00:00
Ralf S. Engelschall
b1dee7ab8a Commit corresponding CHANGES and documentation changes for RewriteLock.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@83104 13f79535-47bb-0310-9956-ffa450edef68
1999-04-22 09:58:03 +00:00
Jim Jagielski
a4387425e7 Document the MaxRequestsPerChild values wrt
KeepAlives and how to tune it


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@83078 13f79535-47bb-0310-9956-ffa450edef68
1999-04-20 22:19:15 +00:00
Ken Coar
ed91a656ee Add a note about 'no whitespace need apply.'
PR:		4212


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@83050 13f79535-47bb-0310-9956-ffa450edef68
1999-04-14 11:19:21 +00:00
pcs
64ae3e66c4 RemoveHandler was missing from the directives list
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@82988 13f79535-47bb-0310-9956-ffa450edef68
1999-03-23 14:35:47 +00:00
Lars Eilebrecht
8ada290d80 Back out Ken's PassAllEnv code...
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@82977 13f79535-47bb-0310-9956-ffa450edef68
1999-03-22 23:38:20 +00:00
Lars Eilebrecht
990a430cad Some minor doc updates...
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@82961 13f79535-47bb-0310-9956-ffa450edef68
1999-03-21 02:03:04 +00:00
Ken Coar
d9ddf6febd Add PassAllEnv to make all of the server's environment variables
available to CGIs and SSIs within the directive's scope.  NOT
	recommended for general use, but eases the transition for IBM's
	current LDGW customers to Apache.


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@82956 13f79535-47bb-0310-9956-ffa450edef68
1999-03-20 21:51:37 +00:00
Lars Eilebrecht
8228a41e9d Typo.
PR: 4060
Submitted by: Axel Beckert <axel@dagstuhl.de>
Reviewed by: Lars


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@82915 13f79535-47bb-0310-9956-ffa450edef68
1999-03-15 22:14:39 +00:00
dgaudet
fc80ead684 Commit %V and \n changes to mod_log_config.
Submitted by:	Tony Finch <dot@dotat.at>


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@82860 13f79535-47bb-0310-9956-ffa450edef68
1999-03-04 19:28:37 +00:00
Bill Stoddard
783d3d8d63 mod_so is base, not experimental.
Submitted by: Shane Owenby


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@82852 13f79535-47bb-0310-9956-ffa450edef68
1999-02-26 17:07:03 +00:00
pcs
da661d2f90 Fix minor HTML errors
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@82842 13f79535-47bb-0310-9956-ffa450edef68
1999-02-22 16:41:06 +00:00
Ken Coar
e61e5ad3e0 Remove the ReferIgnore directive from mod_log_config (Dean's veto).
Get rid of the array for the 'env=' clause, since it only takes
	a single variable name; use a char * instead.  Check for conditional
	envars by seeing if the condition string is non-NULL rather than
	using a separate Boolean cell.


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@82826 13f79535-47bb-0310-9956-ffa450edef68
1999-02-20 00:13:29 +00:00
Ken Coar
67c4a600f1 Add conditional logging based upon environment variable existence.
Also add RefererIgnore functionality from mod_log_referer to
	mod_log_config; mod_log_referer and mod_log_agent are now
	deprecated.  The list of envariables to check is set up as
	an array even though the current implementation (TAKE23)
	only handles one; just in case we ever want to do something
	strange like, 'env=foo,bar,!bag'.

PR:		519, 548, 1351, 1811(?), 3449


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@82819 13f79535-47bb-0310-9956-ffa450edef68
1999-02-17 23:28:11 +00:00
Roy T. Fielding
f29db3dce8 Added a <LimitExcept method ...> sectioning directive that allows
the user to assign authentication control to any HTTP method that
is *not* given in the argument list; i.e., the logical negation
of the <Limit> directive.  This is particularly useful for controlling
access on methods unknown to the Apache core, but perhaps known by
some module or CGI script.

Submitted by:	 Roy Fielding and Tony Finch <dot@dotat.at>


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@82783 13f79535-47bb-0310-9956-ffa450edef68
1999-02-09 20:20:23 +00:00
Roy T. Fielding
ba1afaed15 Update docs according to new negotiation ordering. Note that we
still don't have any documentation of TCN/RVSA effects.


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@82762 13f79535-47bb-0310-9956-ffa450edef68
1999-02-06 14:00:33 +00:00
Bill Stoddard
2f623bf01a Update htdocs with new ScriptInterpreterSource directive.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@82759 13f79535-47bb-0310-9956-ffa450edef68
1999-02-06 11:00:57 +00:00
pcs
4b2a2341d0 Note change of default error log filename on Windows from error_log
to error.log.


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@82747 13f79535-47bb-0310-9956-ffa450edef68
1999-02-05 09:22:43 +00:00
Ken Coar
46c8efd27c Fix a typo.
Submitted by:	Robin Langford <Robin_Langford@US.IBM.Com>
Reviewed by:	Ken Coar


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@82648 13f79535-47bb-0310-9956-ffa450edef68
1999-01-12 20:02:00 +00:00
Ken Coar
2133186f4f The semi-occasional partial cleaning-up of the HTML..
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@82618 13f79535-47bb-0310-9956-ffa450edef68
1999-01-08 23:13:29 +00:00
Ken Coar
3a45b422cf Add the documentation for the RemoveHandler directive.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@82616 13f79535-47bb-0310-9956-ffa450edef68
1999-01-08 22:37:03 +00:00
Ken Coar
89f6b366b5 Allow fancyindexed directories to be presorted in some other way
than by name.

PR:		1699
Submitted by:	Ken Coar
Reviewed by:	Martin Kraemer


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@82594 13f79535-47bb-0310-9956-ffa450edef68
1999-01-04 14:35:53 +00:00
Ralf S. Engelschall
2e340f399e Small fix for mod_env.html: The module was documented as to be _not_
compiled into Apache per default, although it _IS_ compiled into
Apache per default.

Submitted by: Sim Harbert <sim@mindspring.com>
Reviewed by: Ralf S. Engelschall
PR: 3572


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@82576 13f79535-47bb-0310-9956-ffa450edef68
1999-01-02 13:24:41 +00:00
Ralf S. Engelschall
5377cc517a Two minor enhancements to mod_rewrite: First RewriteRule now also supports the
``nocase|NC'' flag (as RewriteCond already does for ages) to match case
insensitive (this especially avoids nasty patterns like `[tT][eE][sS][tT]').
Second two additional internal map functions `escape' and `unescape' were
added which can be used to escape/unescape to/from hex-encodings in URLs parts
(this is especially useful in combination with map lookups).

Submitted by: Magnus Bodin, Ian Kallen
Integrated and fixed by: Ralf S. Engelschall


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@82563 13f79535-47bb-0310-9956-ffa450edef68
1999-01-01 19:50:23 +00:00
Ralf S. Engelschall
c2419ae221 Fix a few minor inconsistencies related to directive scoping
============================================================

1. httpd -h

Under "httpd -h" one gets a nice English description in which scope a
directive can occur. But we talk here only about <Directory> and <Location>,
although <Files> is treated the same (also with `cmd->override ==
ACCESS_CONF|OR_ALL'). So I think it's correct to also list <Files>, too.

2. Used scope variants

Currently we have 203 directives and they use the following scopes (the
numbers in parenthesis gives the number of directives using a particular
scope):

   RSRC_CONF (106)
   RSRC_CONF|ACCESS_CONF (5)
   RSRC_CONF|ACCESS_CONF|OR_ALL (1)            <--
   RSRC_CONF|ACCESS_CONF|OR_AUTHCFG (2)        <--
   ACCESS_CONF (5)
   OR_AUTHCFG (20)
   OR_LIMIT (3)
   OR_OPTIONS (4)
   OR_FILEINFO (21)
   OR_INDEXES (23)
   OR_ALL (13)

This is well spreaded and sounds reasonable. Except for
the two classes:

   RSRC_CONF|ACCESS_CONF|OR_ALL (1)
   RSRC_CONF|ACCESS_CONF|OR_AUTHCFG (2)

The first one is just a syntax overkill. It means only OR_ALL, because OR_ALL
includes (implicitly) already RSRC_CONF and ACCESS_CONF. So, when we fix
this to OR_ALL we get:

   RSRC_CONF (106)
   RSRC_CONF|ACCESS_CONF (5)
   RSRC_CONF|ACCESS_CONF|OR_AUTHCFG (2)        <--
   ACCESS_CONF (5)
   OR_AUTHCFG (20)
   OR_LIMIT (3)
   OR_OPTIONS (4)
   OR_FILEINFO (21)
   OR_INDEXES (23)
   OR_ALL (14)

The remaining RSRC_CONF|ACCESS_CONF|OR_AUTHCFG is used by two directives:
UseCanonicalName and ContentDigest. Two not too old directives which were
added mostly at the same time. They're are implemented the same way.
But the scope looks incorrect. Why?

First, it's again syntax overkill, ok. We can reduce it to
RSRC_CONF|OR_AUTHCFG. But when we compare it to all other used scopes, it
looks very inconsistent. No other of the 203 directives want to be applicable
in such a non-orthoginal scope: on the first hand inside the AuthConfig scope
(which means .htaccess under "AllowOverride AuthConfig" plus _INSIDE_ of
<Directory>/<Location>/<Files> sections in httpd.conf only) and on the other
hand also in RSRC_CONF (which means _OUTSIDE_ of
<Directory>/<Location>/<Files> sections in httpd.conf only). Sure, finally
it's everywhere in httpd.conf plus .htaccess under AuthConfig scope.  But it's
not intuitive: Directives which want to be applicable in such a total scope
use OR_OPTIONS, OR_FILEINFO or OR_INDEXES. And when we think about
UseCanonicalName and ContentDigest we find out that they belongs more to
Options, XBitHack and CheckSpelling than to any AuthXXXX directives.

So, I propose to change the scope of those two directives to OR_OPTIONS.  It
makes no big difference, of course. It still is useable everwhere inside
httpd.conf, but inside .htaccess now under Options instead of AuthConfig.  And
it both belongs to the more correct group of directives and makes our list of
used scopes more consistent.

With the above patch be get this consistent scope-list:

   RSRC_CONF (106)
   RSRC_CONF|ACCESS_CONF (5)
   ACCESS_CONF (5)
   OR_AUTHCFG (20)
   OR_LIMIT (3)
   OR_OPTIONS (6)
   OR_FILEINFO (21)
   OR_INDEXES (23)
   OR_ALL (14)

When we take into account that _theoretically_ there are a lot more variants
of these or'ed values are possible, this list is _VERY_ clean. Actually it's
the most clean variant I can think of (except for the fact that the whole
mechanism is a horrible mess ;-)...


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@82558 13f79535-47bb-0310-9956-ffa450edef68
1999-01-01 17:03:12 +00:00
Lars Eilebrecht
d3bcc3e1e0 A little update (DefaultLanguage wasn't on the directives page).
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@82534 13f79535-47bb-0310-9956-ffa450edef68
1998-12-27 02:38:15 +00:00
pcs
1ef824be63 Fix HTML
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@82445 13f79535-47bb-0310-9956-ffa450edef68
1998-12-04 17:39:24 +00:00
pcs
7ef4d35033 Actually, without a DefaultLanguage documents are considered to have _no_
language attribute. Apache does not default to English.


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@82433 13f79535-47bb-0310-9956-ffa450edef68
1998-12-02 17:01:26 +00:00
Ken Coar
9b6422cedb Put in Paul's DefaultLanguage code. I don't recall seeing
any negative comments, and it's pretty valuable for multilingual
	sites.


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@82425 13f79535-47bb-0310-9956-ffa450edef68
1998-12-02 03:45:51 +00:00
pcs
893fd31987 A few minor HTML fixes
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@82417 13f79535-47bb-0310-9956-ffa450edef68
1998-11-23 15:21:18 +00:00
pcs
42d564b100 Note that Redirect* require FileInfo override.
PR: 3346


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@82411 13f79535-47bb-0310-9956-ffa450edef68
1998-11-20 17:07:38 +00:00
pcs
38955a3c99 Don't assume that filename extension is at the end of the filename
PR: 3151


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@82407 13f79535-47bb-0310-9956-ffa450edef68
1998-11-20 16:34:17 +00:00
pcs
63e7bd76a6 Be more careful when documenting the way that extensions are mapped to
meta data. Note the effect of multiple extensions in all the Add*
directive descriptions, and explain that these directives add or override
existing mappings. Remove assumptions that there is only one extension.
Add note about how setting both handlers and media types could result in
unexpected results. Remove some highly misleading information such as that
the type is the extension left "after content-encoding and language
extensions have been removed"

PR: 3151


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@82403 13f79535-47bb-0310-9956-ffa450edef68
1998-11-20 15:45:36 +00:00
Ralf S. Engelschall
d6defc369e Fix documentation of `Action' directive: It can activate a CGI script when
either a handler or a MIME content type is triggered by the request. We forgot
to mention the handler-based variant here.

Submitted by: Andrew Pimlott <pimlott@math.harvard.edu>
Reviewed by: Ralf S. Engelschall
PR: 3340


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@82398 13f79535-47bb-0310-9956-ffa450edef68
1998-11-18 09:15:27 +00:00
Ralf S. Engelschall
c416b304ec Remove an old "old" from the old days where we thought mod_alias will be old ;-)
Thanks to Marc for discovering this too offensive wording...


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@82370 13f79535-47bb-0310-9956-ffa450edef68
1998-11-09 16:44:08 +00:00
Ken Coar
62ee3cbe95 Make it more clear that AuthName takes a single argument, and fix
a broken example in the FAQ.

PR:		3360
Submitted by:	Jonathan Hartzog <jhartzog@w00f.com>


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@82360 13f79535-47bb-0310-9956-ffa450edef68
1998-11-07 00:10:40 +00:00
Ken Coar
fa1e4ed782 Note that the SuppressHTMLPreamble IndexOption only came in
with Apache 1.3.

PR:		3267


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@82294 13f79535-47bb-0310-9956-ffa450edef68
1998-10-22 17:43:20 +00:00
Ralf S. Engelschall
eb3d8c6331 Fix a few bugs in the mod_rewrite documentation by the
help of some hints from Adam M Donahue <amd0978@acf3.nyu.edu>.


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@82292 13f79535-47bb-0310-9956-ffa450edef68
1998-10-22 12:02:27 +00:00
Ken Coar
8f01495f7f Add a note about the size restriction on AddDescription text.
PR:		3218


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@82266 13f79535-47bb-0310-9956-ffa450edef68
1998-10-16 06:48:11 +00:00
Marc Slemko
285fc3cf9d Add missing ProxyVia directive.
PR:
Obtained from:
Submitted by:
Reviewed by:


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@82264 13f79535-47bb-0310-9956-ffa450edef68
1998-10-15 16:54:09 +00:00
Martin Kraemer
6f41c7ec35 Add the new mod_autoindex features to new_features_1_3, add hyperlinks to
the IndexOptions keyword arguments (in the new form HREF="#indexoption:keyword").


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@82230 13f79535-47bb-0310-9956-ffa450edef68
1998-10-06 19:54:01 +00:00
Ralf S. Engelschall
ffa03a35f4 Document `ErrorLog syslog:facility' variant of error logging.
Requested by: Youichirou Koga <y-koga@jp.FreeBSD.org>
Performed by: Ralf S. Engelschall
PR: 3096


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@82204 13f79535-47bb-0310-9956-ffa450edef68
1998-10-03 13:38:31 +00:00