1
0
mirror of https://github.com/apache/httpd.git synced 2025-08-01 07:26:57 +03:00

243 Commits

Author SHA1 Message Date
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
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
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
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
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
ee4db23663 BS2000 only: Change nasty BS2000AuthFile to less dangerous BS2000Account
(no need to store a password anywhere)


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@82078 13f79535-47bb-0310-9956-ffa450edef68
1998-09-17 20:23:40 +00:00
681f8e5fec More documentation consistency cleanup for 1.3.2.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@82066 13f79535-47bb-0310-9956-ffa450edef68
1998-09-17 14:15:02 +00:00
caec9aac63 The semi-regular HTML cleanup of the documentation. There are
some HTML errors (incorrect anchor nesting, primarily) coming in
	another commit.


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@82064 13f79535-47bb-0310-9956-ffa450edef68
1998-09-17 12:33:12 +00:00
64b5f061b7 Fix some typos and inaccuracies and incorrectnesses.
PR:		3016
Submitted by:	Youichirou Koga <y-koga@jp.FreeBSD.org>


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@82061 13f79535-47bb-0310-9956-ffa450edef68
1998-09-17 12:06:41 +00:00
20cd1090f9 Add some more detailed information about ListenBacklog and MaxClients,
plus a few misc cleanups.

PR:
Obtained from:
Submitted by:
Reviewed by:


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@82008 13f79535-47bb-0310-9956-ffa450edef68
1998-09-07 08:31:45 +00:00
f1f562e65f LocationMatch, not Location, is only 1.3+.
PR:
Obtained from:
Submitted by:	Paul Phillips <paulp@go2net.com>
Reviewed by:


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@81963 13f79535-47bb-0310-9956-ffa450edef68
1998-08-27 06:49:24 +00:00
860f63ab0f Forgot that LimitRequestBody is allowed everywhere.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@81919 13f79535-47bb-0310-9956-ffa450edef68
1998-08-12 00:31:44 +00:00
405e967857 Documentation for the LimitRequest* directives.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@81917 13f79535-47bb-0310-9956-ffa450edef68
1998-08-12 00:29:14 +00:00
0c968cb5dd Move the ExtendedStatus option to mod_status
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@81907 13f79535-47bb-0310-9956-ffa450edef68
1998-08-11 15:37:50 +00:00
e44cc22be0 And now the docs for ExtendedStatus
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@81902 13f79535-47bb-0310-9956-ffa450edef68
1998-08-11 00:24:28 +00:00
70f15d6e86 Digest is mostly supported, for all the good it does.
PR: 2715
Obtained from:
Submitted by:	Youichirou Koga <y-koga@jp.FreeBSD.org>
Reviewed by:


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@81827 13f79535-47bb-0310-9956-ffa450edef68
1998-07-28 05:57:13 +00:00
2f7bf9553e Fix incorrect "first available in" statement for ifdefine.
PR:
Obtained from:
Submitted by:
Reviewed by:


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@81661 13f79535-47bb-0310-9956-ffa450edef68
1998-07-06 17:42:11 +00:00
f748f3c606 Clarify some sectional concerns.
Submitted by:	Lars Eilebrecht <Lars.Eilebrecht@unix-ag.org>, Ken Coar


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@81644 13f79535-47bb-0310-9956-ffa450edef68
1998-07-03 20:12:34 +00:00
7d2f2fd17b PR:
Submitted by:	Ralf Engelschall
Reviewed by:	Brian Behlendorf

  *) Add <IfDefine>..</IfDefine> sections to the core module (with same spirit
     as <IfModule>..</IfModule> sections) which can be used to skip or process
     contained commands dependend of ``-D PARAMETER'' options on the command
     line.


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@81563 13f79535-47bb-0310-9956-ffa450edef68
1998-06-16 03:37:15 +00:00
d6707610db PR:
Submitted by:	bhyde@pobox.com
Reviewed by:	Brian

Tweak to add some x-references.


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@81555 13f79535-47bb-0310-9956-ffa450edef68
1998-06-16 02:11:31 +00:00
591e864fb9 PR:
D'oh!


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@81502 13f79535-47bb-0310-9956-ffa450edef68
1998-06-08 16:25:36 +00:00
d7a4e5bff9 PR:
HostnameLookups were *not* allowed in .htaccess files.  They should
be, but for now it doesn't.  This can't be as easy as changing
ACCESS_CONF|RSRC_CONF to OR_FILEINFO or something, is it?


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@81470 13f79535-47bb-0310-9956-ffa450edef68
1998-06-06 02:30:12 +00:00
65b7400981 PR: 2099
Don't commit suicide.


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@81336 13f79535-47bb-0310-9956-ffa450edef68
1998-05-21 04:07:17 +00:00
577696926f Correct the ServerTokens docs a little bit.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@81328 13f79535-47bb-0310-9956-ffa450edef68
1998-05-20 18:40:35 +00:00
38d73313a9 Some of my semi-regular HTML cleanup (tag ordering, B/I
replacement) and long-line (>80) shortening.  No thirty..


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@81320 13f79535-47bb-0310-9956-ffa450edef68
1998-05-20 14:13:00 +00:00
f8ad3417f4 PR: 1773
IdentityCheck not allowed in .htaccess files.


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@81312 13f79535-47bb-0310-9956-ffa450edef68
1998-05-20 05:03:31 +00:00
262932bc5f PR:
Fix broken link, add note about maxclients.


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@81296 13f79535-47bb-0310-9956-ffa450edef68
1998-05-18 22:01:08 +00:00
1087ddf63e PR:
Obtained from:
Submitted by:	Jim Jagielski
Reviewed by:
Replace the AddVersionPlatform directive with ServerTokens directive
which allow for either Minimal ("Apache/1.3.0"), OS ("Apache/1.3.0 (UNIX)")
or Full ("Apache/1.3.0 (UNIX) PHP/3.0") type Server headers.
SERVER_SUBVERSION is no longer supported.


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@81244 13f79535-47bb-0310-9956-ffa450edef68
1998-05-11 20:08:04 +00:00
2c31eba7d7 Final touches on removing the AddVersionComponent directive and
correcting my BD references to something called "Server-Version."
	D'oh!


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@81212 13f79535-47bb-0310-9956-ffa450edef68
1998-05-09 04:42:27 +00:00
82821998c5 Change the default setting of AddVersionPlatform to 'on'. Jim,
Brian Havard, and Marc think that's better - and if Marc, who is
	so security-conscious, thinks it's a good idea that tips me over
	to that side as well.


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@81193 13f79535-47bb-0310-9956-ffa450edef68
1998-05-08 12:09:46 +00:00
39ce411517 Add the core AddVersionComponent and AddVersionPlatform directives,
which make the SERVER_SUBVERSION functionality a runtime thing and
	allow adding OS identity to the Server-Version string respectively.

PR:		2056
Reviewed by:	Jim Jagielski, Martin Kraemer, Brian Behlendorf


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@81175 13f79535-47bb-0310-9956-ffa450edef68
1998-05-07 12:24:21 +00:00
6cfa45cd13 Ops, looks like Brian typed "x:x<CR>" in his Vi instead of just ":x<CR>" ;-)
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@81152 13f79535-47bb-0310-9956-ffa450edef68
1998-05-06 11:04:36 +00:00
f678c97595 PR: 2100
Submitted by:	Dale Couch <dcouch@training.orl.lmco.com>

slight clarification for NT users.


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@81145 13f79535-47bb-0310-9956-ffa450edef68
1998-05-06 04:10:53 +00:00
16152b6d57 BS2000 Security: BS2000 needs extra authentication
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@81116 13f79535-47bb-0310-9956-ffa450edef68
1998-05-04 16:46:38 +00:00
3478ab4ac2 A HTML fix and a documentation fix for ServerSignature directive.
Submitted by: Lars Eilebrecht
Reviewed by: Martin Kraemer, Ralf S. Engelschall


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@81064 13f79535-47bb-0310-9956-ffa450edef68
1998-04-29 06:32:11 +00:00
b37ad00f73 Document syslogd-based error logging
Submitted by: Lars Eilebrecht


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@81037 13f79535-47bb-0310-9956-ffa450edef68
1998-04-25 16:44:31 +00:00
7481dab0ef "Options +Includes" wasn't corrently merged if "+IncludesNoExec"
was defined in a parent directory.

Submitted by:	Lars Eilebrecht


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@80720 13f79535-47bb-0310-9956-ffa450edef68
1998-03-28 20:57:04 +00:00
729df5619a "Has no effect on MS Windows" is rather misleading.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@80629 13f79535-47bb-0310-9956-ffa450edef68
1998-03-21 22:31:53 +00:00
pcs
593e68fcbc Document the fact that StartServers, MaxSpareServers and MinSpareServers
have no effect on Unix. Also that ThreadsPerChild has no effect on
Unix.


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@80625 13f79535-47bb-0310-9956-ffa450edef68
1998-03-21 17:13:56 +00:00
b76529324a Change to the multiple-slash behaviour of LocationMatch for consistency
with AliasMatch and RewriteRule.  This was discussed in nh.9711, search
for subject "mod_rewrite/1440".  My proposed change had the support of
Roy, Ken and Dirk... I modified it slightly here so that it wouldn't
break every single existing config that has <Location /server-status>.

PR:		1440


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@80426 13f79535-47bb-0310-9956-ffa450edef68
1998-03-06 09:37:08 +00:00
15feab980c more obviousness
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@80251 13f79535-47bb-0310-9956-ffa450edef68
1998-02-20 06:52:03 +00:00
fb522592e3 PR: 1818
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@80240 13f79535-47bb-0310-9956-ffa450edef68
1998-02-18 20:39:57 +00:00
c4f22e7502 Fix various parsing bugs with <Dir/Loc/Files> sections. Improve the
error messages generated.  Introduced cmd->end_token to make it easier
to do nested sections with proper error reporting.  (Note that it can't
be used for <IfModule> or <Limit> unfortunately.)

PR#379: <Files> is not allowed within <Location> because it has no effect.

PR#1817: Change <Files> to work with basenames only.  This fixes both
the bug introduced by the wildcarding change (* doesn't match /) and
bugs such as <Files a*b> not working.

PR:             379, 1817


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@80233 13f79535-47bb-0310-9956-ffa450edef68
1998-02-18 10:01:01 +00:00
dd1cd024b0 document piped errorlog
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@80220 13f79535-47bb-0310-9956-ffa450edef68
1998-02-15 00:18:14 +00:00
c092f3a741 PR:
lost connection no longer a "warn" error, so needed a new one.


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@80145 13f79535-47bb-0310-9956-ffa450edef68
1998-02-07 03:04:51 +00:00
f18d0df18f PR:
Playing whack-a-mole; first stab at docs for LogLevel.  Could someone confirm?


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@80141 13f79535-47bb-0310-9956-ffa450edef68
1998-02-07 00:24:40 +00:00
80c32a1d5f Another pass at the normalisation of the HTML tags. Some
corrections coming up.


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@80130 13f79535-47bb-0310-9956-ffa450edef68
1998-02-05 20:05:18 +00:00
2c85f99897 Add the UseCanonicalName directive which controls how self-referential
redirects are generated.  This was at least approved in spirit by a
handful of folks two weeks ago.  The default should be no behaviour
change.

This changes the prototype of construct_url(), and adds two new
API functions: get_server_name() and get_server_port().  So the
MODULE_MAGIC_NUMBER has been bumped.

PR:             315, 459, 485, 1433
Submitted by:   Michael Douglass <mikedoug@texas.net>, Dean Gaudet


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@80076 13f79535-47bb-0310-9956-ffa450edef68
1998-02-01 22:05:29 +00:00
29e3ee1c2d Cleaned up (capitalized) some more HTML tags
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@80051 13f79535-47bb-0310-9956-ffa450edef68
1998-01-30 09:48:47 +00:00
8d03a2f944 As threatened. The directive attributes in the module documentation
are now links back to a description of what the attributes mean.


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@80041 13f79535-47bb-0310-9956-ffa450edef68
1998-01-28 19:11:58 +00:00