1
0
mirror of https://github.com/apache/httpd.git synced 2025-11-08 04:22:21 +03:00
Commit Graph

3287 Commits

Author SHA1 Message Date
Jim Jagielski
c20de5ff05 Fix hasty cut-paste in the doccos
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@467334 13f79535-47bb-0310-9956-ffa450edef68
2006-10-24 14:00:50 +00:00
Jim Jagielski
707d1dabb9 Once SSLMutex allowed for the setting of both the
locking method and the lockfile location, I never
liked how AcceptMutex was linked to LockFile. This
seemed unnecessary. Much better to have AcceptMutex
do both as well. Plus, now that we will likely see
other modules require a "standard" way of setting
mutexes, why not have Apache provide that as
an API of sorts.

Anyway, LockFile is now depreciated and AcceptMutex
is now SSLMutex-like. We also provide a short
function that "parses" out a mutex parameter
and strips out the mechanism and lockfile location.
AcceptMutex and SSLMutex is this capability.



git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@467326 13f79535-47bb-0310-9956-ffa450edef68
2006-10-24 13:17:29 +00:00
Graham Leggett
2d79512131 mod_authn_dbd: Export any additional columns queried in the SQL select
into the environment with the name AUTHENTICATE_<COLUMN>. This brings
mod_authn_dbd behaviour in line with mod_authnz_ldap.


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@466865 13f79535-47bb-0310-9956-ffa450edef68
2006-10-22 19:11:51 +00:00
Graham Leggett
488411491b mod_authnz_ldap: Add an AuthLDAPRemoteUserAttribute directive. If
set, REMOTE_USER will be set to this attribute, rather than the
username supplied by the user. Useful for example when you want users
to log in using an email address, but need to supply a userid instead
to the backend.


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@463427 13f79535-47bb-0310-9956-ffa450edef68
2006-10-12 20:52:37 +00:00
Jim Jagielski
21038d2649 So I'm sitting in Rich's talk and think to myself, it's kind
of stupid that DumpIO always logs at Debug, esp when
you consider that it's likely you'll be doing so
in conjunction with SSL... One Big Log is understating
it! :)

Add DumpIOLogLevel to allow one to change the level...


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@463291 13f79535-47bb-0310-9956-ffa450edef68
2006-10-12 15:53:33 +00:00
Chris Darroch
064ecf6593 update transformation
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@463129 13f79535-47bb-0310-9956-ffa450edef68
2006-10-12 04:13:12 +00:00
Chris Darroch
768125a6b3 fixed missing "edit" argument option in mod_headers.xml
described "edit" option to mod_headers in new features


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@462917 13f79535-47bb-0310-9956-ffa450edef68
2006-10-11 19:44:05 +00:00
Nick Kew
0e9e39732f Add SQL Query capability to RewriteMap
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@454683 13f79535-47bb-0310-9956-ffa450edef68
2006-10-10 10:33:06 +00:00
Ruediger Pluem
5a9c33fa7f * mod_proxy_balancer: Document BALANCER_ROUTE_CHANGED environment variable.
Submitted by: Brian Rectanus <brectanu gmail.com>
Reviewed by: rpluem


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@453630 13f79535-47bb-0310-9956-ffa450edef68
2006-10-06 15:03:08 +00:00
Nick Kew
4034b23cc0 Support regexp-based manipulation of HTTP headers
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@452330 13f79535-47bb-0310-9956-ffa450edef68
2006-10-03 07:41:27 +00:00
Rich Bowen
6dae4bbd54 Minor typo
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@450473 13f79535-47bb-0310-9956-ffa450edef68
2006-09-27 15:10:33 +00:00
Nick Kew
63da5dac63 Change wording as suggested by jslive.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@449522 13f79535-47bb-0310-9956-ffa450edef68
2006-09-24 23:17:31 +00:00
Nick Kew
c3cda096ae Add extra explanatory clause to VirtualHost docs
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@449514 13f79535-47bb-0310-9956-ffa450edef68
2006-09-24 22:29:59 +00:00
Rich Bowen
81fdeae61d Capitalization consistency
Submitted by Vincent Bray


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@449032 13f79535-47bb-0310-9956-ffa450edef68
2006-09-22 18:13:10 +00:00
André Malo
7add40d118 update transformation
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@437774 13f79535-47bb-0310-9956-ffa450edef68
2006-08-28 18:43:17 +00:00
André Malo
40712b8afe fix validation error
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@437773 13f79535-47bb-0310-9956-ffa450edef68
2006-08-28 18:37:09 +00:00
Joshua Slive
86319c427d Allow the typical non-DAV methods to be unrestricted
in our DAV examples (in particular, POST).  Also
change <Location> to <Directory> in the docs.  This
particular example was not a security problem because
<Location> was being used to *extend* access, rather than
to *restrict* access, but it is better to encourage
people to use <Directory> by default.

PR: 40030


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@433694 13f79535-47bb-0310-9956-ffa450edef68
2006-08-22 17:07:54 +00:00
Joshua Slive
53133772ac My last effort was a little too succinct and not quite precise
enough.  Try being more explicit.

This does leave the danger that people will clip the <Location>
example as the proper way to do things, when they should be
reading on to the <Directory> example.  The <Location> example
is only correct when used in conjunction with Alias. 


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@433021 13f79535-47bb-0310-9956-ffa450edef68
2006-08-20 19:46:24 +00:00
Joshua Slive
1f2b32f04e Make it clear that url-path is always case-sensitive.
Provide an example of using a regex to make it case-insensitive.
Make it clear that ScriptAlias is only used when you want
BOTH mapping and script-designation.

Partially in response to the disputed vulnerability:
http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2006-4110


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@432997 13f79535-47bb-0310-9956-ffa450edef68
2006-08-20 18:08:43 +00:00
André Malo
99b0930065 update transformation
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@432667 13f79535-47bb-0310-9956-ffa450edef68
2006-08-18 18:09:09 +00:00
Jim Jagielski
611d2fc34b Updates docs w/ transforms. Use Andre's patch to lib/DocUtil.pm
to work around some OS X issues which mangled paths


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@432570 13f79535-47bb-0310-9956-ffa450edef68
2006-08-18 13:09:12 +00:00
Jim Jagielski
a187478d9e Update docs and transforms
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@432360 13f79535-47bb-0310-9956-ffa450edef68
2006-08-17 19:41:07 +00:00
Jim Jagielski
40cde75faf Fix context error
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@432359 13f79535-47bb-0310-9956-ffa450edef68
2006-08-17 19:40:17 +00:00
Jim Jagielski
62cb62c571 Update docs for proxy:
1. Put params in abc order
  2. Add hot-standby example
  3. Add in new features that hadn't been documented yet (lbset, ...)


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@432352 13f79535-47bb-0310-9956-ffa450edef68
2006-08-17 19:21:33 +00:00
Chris Darroch
e69f467709 Introduce a check_config phase between pre_config and open_logs,
to allow modules to review interdependent configuration directive
values and adjust them while messages can still be logged to the
console.

The open_logs phase is already used somewhat for this purpose by
certain MPMs (winnt, prefork, worker, and event) but only by forcing
their functions ahead of the core ap_open_logs() function, and
since this phase runs after the ap_signal_server function during startup,
it can not be used to generate messages on the console when restarting.

Add the check_config phase to mod_info and mod_example.

Handle relevant MPM directives during this phase and format messages
for both the console and the error log, as appropriate.  Bounds and sanity
checks on the values of the MPM directives are handled in sequence in
this phase instead of in the various directive handling functions, since
those functions (e.g., set_max_clients()) may not be called at all if their
directives do not appear in the configuration files, and even if they
are called, there is no guarantee that this will occur in any particular
order.

Remove from the worker and event MPMs the code in the pre_config phase
that alters the configuration node tree by re-ordering ThreadsPerChild
ahead of MaxClients.  This code is effective but insufficient; for
example, if ServerLimit follows MaxClients, the test against server_limit
in set_max_clients() is invalid.  (In practice, this only results in
incorrect or absent warnings on the console, because server_limit is
set to its configured value when the main loop re-runs the configuration
process.)

Prevent ap_threads_per_child from exceeding thread_limit in the
winnt, worker, and event MPMs.  This situation could occur if
ThreadsPerChild was not specified in the configuration files and
ThreadLimit was set to a value smaller than DEFAULT_THREADS_PER_CHILD,
because set_threads_per_child() would never be called and therefore
its bounds check against thread_limit would not be performed.

Remove from the winnt, prefork, worker, and event MPMs the
changed_limit_at_restart flag.  Set the first_server_limit and
first_thread_limit values during the first execution of the check_config
function, and use them to detect changes to ServerLimit and ThreadLimit
across restarts and issue appropriately formatted warnings.  Remove the
comments about the error log being a "bit bucket"; this was true when
the code was originally committed in r92530 but that was due to a bug
fixed in r92769.

Be consistent about setting all MPM configuration directive values in the
pre_config phase.

Rephrase and reformat the console and log file messages relating to
MPM configuration directives to be consistent across all MPMs.  Use
briefer messages when logging to the error log than to the console.

Update miscellaneous stale comments and messages (e.g., reference to
daemons_min_free in worker and event MPMs, "prefork open_logs" in
winnt MPM, and StartServers in netware MPM).

The winnt, netware, beos, and mpmt_os2 MPMs should be tested by developers
with access to those platforms, especially the winnt MPM, which has
unique logic with respect to distinguishing between parent and child
processes during the configuration phases.

Update the English documentation for the worker MPM's ThreadsPerChild
directive, which no longer needs to precede other MPM directives in the
configuration files if it has a non-default value.  The German (.de) and
Japanese (.ja) translations should be updated by developers fluent in
those languages.



git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@431460 13f79535-47bb-0310-9956-ffa450edef68
2006-08-14 22:55:45 +00:00
Bradley Nicholes
e6d2a7d4df revert the definitive bit for the reject directive.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@428800 13f79535-47bb-0310-9956-ffa450edef68
2006-08-04 17:56:50 +00:00
Bradley Nicholes
601c29aedc fix typo
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@428163 13f79535-47bb-0310-9956-ffa450edef68
2006-08-02 21:50:08 +00:00
Bradley Nicholes
fecc476d87 fix a typo
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@427783 13f79535-47bb-0310-9956-ffa450edef68
2006-08-01 23:05:48 +00:00
Bradley Nicholes
6b831e7059 Converted the reject directive to be definitive and enabled directory_merge to merge all of the authorization rules and logic.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@427780 13f79535-47bb-0310-9956-ffa450edef68
2006-08-01 22:54:38 +00:00
Mladen Turk
79c25adcda Document new ping parameter.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@425999 13f79535-47bb-0310-9956-ffa450edef68
2006-07-27 08:09:02 +00:00
Jeff Trawick
3206eea9ff ScriptSock has been global-only for a couple of years
now; fix the docs


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@425124 13f79535-47bb-0310-9956-ffa450edef68
2006-07-24 17:23:37 +00:00
William A. Rowe Jr
5616f79841 Alas, it was not to be. Deprecate mod_aspdotnet, and certainly don't
introduce these docs into the next release or consider for backport.


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@423387 13f79535-47bb-0310-9956-ffa450edef68
2006-07-19 07:05:13 +00:00
Nick Kew
d801d08bb0 Typo fix
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@421725 13f79535-47bb-0310-9956-ffa450edef68
2006-07-13 22:59:46 +00:00
Nick Kew
346c6c3e76 Support environment variable interpolation in reverse proxy configuration
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@421686 13f79535-47bb-0310-9956-ffa450edef68
2006-07-13 19:00:26 +00:00
André Malo
ef27013c2f update revision references
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@421136 13f79535-47bb-0310-9956-ffa450edef68
2006-07-12 05:37:53 +00:00
Roy T. Fielding
5347b4715f update collective copyright notice in manual
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@421086 13f79535-47bb-0310-9956-ffa450edef68
2006-07-12 02:42:24 +00:00
Roy T. Fielding
891555dc16 update license header text
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@421072 13f79535-47bb-0310-9956-ffa450edef68
2006-07-12 01:54:21 +00:00
Roy T. Fielding
47e590252a update license header text
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@420993 13f79535-47bb-0310-9956-ffa450edef68
2006-07-11 21:18:15 +00:00
André Malo
6c75787445 update mod_ssl transformation
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@420992 13f79535-47bb-0310-9956-ffa450edef68
2006-07-11 21:12:08 +00:00
Roy T. Fielding
44fa6e0073 update license header text
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@420990 13f79535-47bb-0310-9956-ffa450edef68
2006-07-11 20:55:32 +00:00
Joe Orton
3ea7729f3f - clean up SSLProtocol description; "flavo[u]r" is meaningless in this context,
use "version" instead


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@419861 13f79535-47bb-0310-9956-ffa450edef68
2006-07-07 10:32:17 +00:00
André Malo
867439c7bc update transformation
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@419695 13f79535-47bb-0310-9956-ffa450edef68
2006-07-06 20:36:56 +00:00
André Malo
04e0d8f56d update German translation
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@419694 13f79535-47bb-0310-9956-ffa450edef68
2006-07-06 20:31:10 +00:00
André Malo
57314bfd7c add description for the T status
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@419692 13f79535-47bb-0310-9956-ffa450edef68
2006-07-06 20:29:11 +00:00
André Malo
0ae7a3db11 Don't mess with fixed fields like status.
move external url to status/@href


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@419691 13f79535-47bb-0310-9956-ffa450edef68
2006-07-06 20:28:43 +00:00
André Malo
459217fff2 fixup properties
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@419688 13f79535-47bb-0310-9956-ffa450edef68
2006-07-06 20:05:12 +00:00
William A. Rowe Jr
a6566261af Might be my imagination, but seems full set hasn't been
generated in quite a while.


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@419671 13f79535-47bb-0310-9956-ffa450edef68
2006-07-06 19:25:28 +00:00
William A. Rowe Jr
5e0953e3aa Generate for mod_aspdotnet
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@419668 13f79535-47bb-0310-9956-ffa450edef68
2006-07-06 19:24:08 +00:00
William A. Rowe Jr
92d86d6a00 New module, an extern, self referencing into the httpd server.
Note docs are in the future tense, quite fitting for docs trunk/


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@419666 13f79535-47bb-0310-9956-ffa450edef68
2006-07-06 19:23:02 +00:00
Joshua Slive
b37cb49a96 Make it clear what is meant by per-directory rewrites
and specify the rewrites in <Location> is unsupported.
(The same is probably true for <Files>, but I'd have to
think about that a little more.)

PR: 39843


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@418360 13f79535-47bb-0310-9956-ffa450edef68
2006-06-30 19:04:50 +00:00