1
0
mirror of https://github.com/apache/httpd.git synced 2025-11-06 16:49:32 +03:00
Commit Graph

3814 Commits

Author SHA1 Message Date
Dirk-Willem van Gulik
ae7b890e99 From Joshua's msg,
Here's a little patch to correct an omission that seems to cause
occasional confusion: Context: Directory actually means Context:
Directory, Location, Files except for specific exceptions.

Obtained from:
Submitted by:	Joshua Slive <slive@finance.commerce.ubc.ca>
Reviewed by:	dirkx


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@83574 13f79535-47bb-0310-9956-ffa450edef68
1999-08-05 10:33:36 +00:00
Dirk-Willem van Gulik
cf6470e83f Attempt to close pr 4808 Can you mention htpassword in the mod_auth documentation.
PR: 4808
Obtained from:
Submitted by:
Reviewed by:


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@83572 13f79535-47bb-0310-9956-ffa450edef68
1999-08-04 22:03:04 +00:00
Randy Terbush
956e6067f0 Doc changes.
Submitted by:	Alan J. Flavell <flavell@mail.cern.ch>
Reviewed by:	Randy Terbush


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@83526 13f79535-47bb-0310-9956-ffa450edef68
1999-07-29 18:17:43 +00:00
Martin Kraemer
d1f9d5dbcf This module has only been added to the distribution in 1.3.7-dev, so
update the compatibility version number.


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@83419 13f79535-47bb-0310-9956-ffa450edef68
1999-07-02 06:56:09 +00:00
Ralf S. Engelschall
71f32e92db Fix context description of RedirectMatch. It's also
useable in per-dir context - similar to Redirect.

Submitted by: Klaus Johannes Rusch <KlausRusch@atmedia.net>
PR: 4611


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@83409 13f79535-47bb-0310-9956-ffa450edef68
1999-06-29 14:32:15 +00:00
Ralf S. Engelschall
49d91480c3 Make ProxyBlock description more accurate.
Submitted by: John Smolin <smolin@alum.mit.edu>
PR: 4112


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@83405 13f79535-47bb-0310-9956-ffa450edef68
1999-06-29 13:54:29 +00:00
Ralf S. Engelschall
a3eabbb03a Fix description of "Example" directive. It just activates a demo flag and
doesn't really enable the example contents handler.


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@83401 13f79535-47bb-0310-9956-ffa450edef68
1999-06-29 12:06:36 +00:00
Ralf S. Engelschall
bbe58473cc fix messed up sentence
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@83399 13f79535-47bb-0310-9956-ffa450edef68
1999-06-29 10:22:55 +00:00
Ralf S. Engelschall
c2a38347f8 Fix hyperlink
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@83395 13f79535-47bb-0310-9956-ffa450edef68
1999-06-29 08:27:05 +00:00
Jim Jagielski
0b5e2611bb Backout the DocumentRootCheck stuff.
I wash my hands of this... :)

PR:
Obtained from:
Submitted by:
Reviewed by:


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@83383 13f79535-47bb-0310-9956-ffa450edef68
1999-06-24 16:38:34 +00:00
Ken Coar
56e0a7545e Fix some docco.
Submitted by:	Tony Finch <fanf@demon.net>
Reviewed by:	Ken Coar


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@83370 13f79535-47bb-0310-9956-ffa450edef68
1999-06-23 18:24:03 +00:00
Ken Coar
338e2040bd 'Header Unset' really unsets all values for the field, not
just the first.

Submitted by:	Robin Langford <rlangfor@US.IBM.Com>
Reviewed by:	Ken Coar


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@83364 13f79535-47bb-0310-9956-ffa450edef68
1999-06-22 21:17:35 +00:00
Jim Jagielski
58cdcba4b5 Minor nit. There are 3 options now :)
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@83359 13f79535-47bb-0310-9956-ffa450edef68
1999-06-22 01:11:09 +00:00
Jim Jagielski
a4929c7ee9 PR:
Submitted by:   Tony Finch <fanf@demon.net>
Reviewed by:    Dean, Randy, Jim, Lars, Martin
Obtained from:

Add the new mod_vhost_alias.c modules for better mass-hosting. This
has been used at Demon Internet with excellent results and basically
replaces the "old" method of using mod_rewrite. Big advantage is
that adding new vhosts can be done without restarting the server.


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@83357 13f79535-47bb-0310-9956-ffa450edef68
1999-06-22 00:51:25 +00:00
Jim Jagielski
075b1f245c Always perform the check for DocumentRoot
when doing the config test


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@83337 13f79535-47bb-0310-9956-ffa450edef68
1999-06-17 11:49:26 +00:00
Martin Kraemer
045d71f352 Typo in HREF.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@83330 13f79535-47bb-0310-9956-ffa450edef68
1999-06-14 18:41:23 +00:00
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