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

3314 Commits

Author SHA1 Message Date
Ralf S. Engelschall
d13ed6142b Add %a to mod_log_config for inserting the remote IP-address. This is the
adapted patch against 1.3 of Todd Eigenschink <eigenstr@mixi.net>'s original
patch for 1.2.5. For 1.2.5 we don't want it because its a feature.  I also
added corresponding entries to the CHANGES and mod_log_config.html file.

Submitted by: Todd Eigenschink <eigenstr@mixi.net>
Reviewed by: Ralf S. Engelschall


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@80340 13f79535-47bb-0310-9956-ffa450edef68
1998-02-28 08:12:48 +00:00
dgaudet
ab8f939aa0 what a tangled web we weave... PR: 1874
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@80322 13f79535-47bb-0310-9956-ffa450edef68
1998-02-26 07:01:12 +00:00
Ralf S. Engelschall
b51536b7df Ops, we have totally mis-documented the %{LA-U:xxx} and %{LA-F:xxx}
constructs, thus no one noticed that it can be used to lookup the REMOTE_USER
variable (one of the mod_rewrite FAQs) even in per-server context.  One just
has to use %{LA-U:REMOTE_USER} instead of %{REMOTE_USER} there.  Notice that
%{REMOTE_USER} is also useful, but only for per-dir context.


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@80320 13f79535-47bb-0310-9956-ffa450edef68
1998-02-25 15:42:58 +00:00
Ralf S. Engelschall
97f8f0a7be First part to fix the synchronization-locking for RewriteMap programs under
Unix derivates who doesn't accept the locking of pipes directly.

But we perhaps have another problem: According to FreeBSD's manpage and a hint
by the submitter of PR#1029 flock() has to be used on opened filedescriptors
which are _not_ duplicated via fork().  This currently is not the case...

Submitted by: Ralf S. Engelschall
Reviewed by: Ralf S. Engelschall, Jim Jagielski


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@80311 13f79535-47bb-0310-9956-ffa450edef68
1998-02-24 13:39:08 +00:00
Ralf S. Engelschall
63ae18dffb Add the new RewriteMap types rnd' and int' to mod_rewrite to allow Apache to
be used as a Reverse Proxy (where the backend servers are choosen via a `rnd'
map) and to allow mass virtual hosting without <VirtualHost> sections (where
you have to fix the case of server names when translating the Host-Header to a
directory structure).

Together with the comitted ProxyPassReverse directive we now have solved
two things the users have asked in the past:

1. The ability to use Apache as a full-featured Reverse Proxy
2. The ability to do mass virtual hosting without <VirtualHost> sections.

For both topics we should write stand-alone documents (perhaps inside
htdocs/manual/misc/) because they are not trivial to do, even when we now have
the functionality ;-)

Submitted by: Ralf S. Engelschall
Reviewed by: Dean Gaudet, Ralf S. Engelschall


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@80298 13f79535-47bb-0310-9956-ffa450edef68
1998-02-23 08:27:36 +00:00
Ralf S. Engelschall
eb0f7d6b75 Add the ProxyPassReverse directive which allows Apache to be
used as a full-featured Reverse Proxy in front of a backend
webserver cluster.

Submitted by: Ralf S. Engelschall
Reviewed by: Martin Kraemer, Ralf S. Engelschall


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@80296 13f79535-47bb-0310-9956-ffa450edef68
1998-02-23 08:04:09 +00:00
dgaudet
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
dgaudet
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
dgaudet
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
dgaudet
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
dgaudet
cebb900e99 doc the addencoding mess
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@80193 13f79535-47bb-0310-9956-ffa450edef68
1998-02-12 01:14:36 +00:00
brian
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
brian
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
Ken Coar
6740cae1bc More HTML fixes (improper nesting of tags).
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@80134 13f79535-47bb-0310-9956-ffa450edef68
1998-02-05 22:34:05 +00:00
Ken Coar
6241994012 Correcting some HTML boo-boos (not subject to style debates).
It has been said, and verily it is true, that weblint rocks.


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@80132 13f79535-47bb-0310-9956-ffa450edef68
1998-02-05 21:20:02 +00:00
Ken Coar
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
Martin Kraemer
2de2b1c72c Fixed error in HREF
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@80121 13f79535-47bb-0310-9956-ffa450edef68
1998-02-05 10:36:40 +00:00
Martin Kraemer
b80e49d732 Add a document describing a solution which uses XSSI and negotiation
to custom-tailor the apache ErrorDocuments to taste, adding the
advantage of returning internationalized versions of the error
messages depending on the client's language preferences.


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@80119 13f79535-47bb-0310-9956-ffa450edef68
1998-02-05 09:58:40 +00:00
dgaudet
688c1b51fe two of the probably many missing directives
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@80114 13f79535-47bb-0310-9956-ffa450edef68
1998-02-04 21:40:04 +00:00
pcs
46d10cb348 Document change from mod_dld to mod_so. Actual mod_so usage info to
still pretty minimal.


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@80100 13f79535-47bb-0310-9956-ffa450edef68
1998-02-03 11:40:24 +00:00
dgaudet
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
lookit
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
Ken Coar
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
lookit
558d60dcd0 Server-generated pages can be server-signed now (new directive)
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@80023 13f79535-47bb-0310-9956-ffa450edef68
1998-01-26 18:24:27 +00:00
Ken Coar
07050bb5be A truly mighty mod normalising HTML tags to uppercase, and
'i' and 'b' to 'EM' and 'STRONG' respectively.  Been threatening
	to do this for months.. no-one need try to maintain this when
	writing/modifiying the docs.


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@80021 13f79535-47bb-0310-9956-ffa450edef68
1998-01-26 16:54:35 +00:00
dgaudet
c26bf27fb9 - no need to use stat() since r->finfo is already what we need
- no need to play with atime/mtime crud, the web server doesn't preserve
    that info normally anyhow
- deal with r->finfo.st_mode == 0 || !r->filename (i.e. not a disk file)
- don't reference mime_module.type_checker, this should be controlled by
    the ordering within Configuration
- work properly with multiple vhosts
- doc update: even prior to this patch, the code was disabled if there
    was no MimeMagicFile directive.


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@79997 13f79535-47bb-0310-9956-ffa450edef68
1998-01-25 03:52:19 +00:00
Ken Coar
149dbf20ff mod_auth_msql isn't part of the distribution any more, so take
out all references to it that assume it is.  Plus some miscellaneous
	HTML cleanup.


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@79972 13f79535-47bb-0310-9956-ffa450edef68
1998-01-23 16:13:57 +00:00
Jim Jagielski
255333c5fb PR:
Obtained from:
Submitted by:	Jim Jagielski
Reviewed by:
Best of both worlds... Let the world know if we have mmap and/or
shmget as well as controlling which to use for scoreboard. This
should be a complete patch, so if any docs were skipped, feel free
to update 'em


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@79969 13f79535-47bb-0310-9956-ffa450edef68
1998-01-23 00:36:34 +00:00
dgaudet
7bbc072759 Support users with older versions of the server.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@79962 13f79535-47bb-0310-9956-ffa450edef68
1998-01-22 23:18:58 +00:00
Jim Jagielski
89631bcc67 Submitted by: Jim Jagielski
Do make the code a bit clearer, some minor #define changes (and
the resultant flow-thru in the docs).

   SAFE_UNSERIALIZED_ACCEPT  ->   SINGLE_LISTEN_UNSERIALIZED_ACCEPT
   HAVE_MMAP                 ->   USE_MMAP_SCOREBOARD
   HAVE_SHMGET               ->   USE_SHMGET_SCOREBOARD


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@79959 13f79535-47bb-0310-9956-ffa450edef68
1998-01-22 23:11:51 +00:00
Marc Slemko
dddf03b3cc Misc spelling fixes.
PR: 1600
Obtained from:
Submitted by:	 "Daniel S.Lewart" <d-lewart@uiuc.edu>
Reviewed by:


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@79798 13f79535-47bb-0310-9956-ffa450edef68
1997-12-29 20:41:55 +00:00
Marc Slemko
417a69836c Misc cleanups:
- cleanup HTML, <e> --> <em>
	- remove bogus security warning about LockFile
	- add warning about possible denial of service attack with
	  LockFile in world writable directory
	- remove security encouragement to use inetd; add warning that
	  inetd isn't well supported.

PR:
Obtained from:
Submitted by:
Reviewed by:


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@79758 13f79535-47bb-0310-9956-ffa450edef68
1997-12-22 21:25:10 +00:00
Martin Kraemer
265536db86 In several htdocs/manual pages, the TransferLog directive is still
attributed to the mod_log_common module (which is no longer
supported as of apache_1.2).

The patch replaces these references with references to
mod_log_config. Note that I still left the mod_log_common.html file
(and a back compatibility reference to it) in the docs distribution.


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@79715 13f79535-47bb-0310-9956-ffa450edef68
1997-12-16 22:28:39 +00:00
Martin Kraemer
317792cc49 The mod_proxy module proxy_ftp.c has an undocumented 'feature':
when the URL is suffixed by ';type=a', then an ASCII transfer is enforced.


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@79712 13f79535-47bb-0310-9956-ffa450edef68
1997-12-16 22:07:33 +00:00
Ken Coar
dfb1f0fb92 Correct some misstatements about the Auth*File directives;
they're ServerRoot-relative if not absolute.

PR:		1511


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@79709 13f79535-47bb-0310-9956-ffa450edef68
1997-12-16 20:57:38 +00:00
dgaudet
006dfb41f0 Correct two incorrect examples. Describe what each example does.
PR:		1544
Submitted by:	Dan Astoorian <djast@cs.toronto.edu>
Reviewed by:	Dean Gaudet


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@79694 13f79535-47bb-0310-9956-ffa450edef68
1997-12-14 01:15:43 +00:00
dgaudet
800b356265 Note that the CIDR syntaxes are for 1.3 and later.
PR:		1534


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@79692 13f79535-47bb-0310-9956-ffa450edef68
1997-12-14 01:07:37 +00:00
dgaudet
7fd64eff25 The port documentation was a little unclear on its overlap with the Listen
directive.

PR:		975


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@79690 13f79535-47bb-0310-9956-ffa450edef68
1997-12-14 01:04:56 +00:00
dgaudet
7ff54fd830 More tweaks related to serverroot/logs/etc.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@79688 13f79535-47bb-0310-9956-ffa450edef68
1997-12-14 00:57:46 +00:00
Ken Coar
7b64dc54a0 Correct missing keyword on ScriptAliasMatch example.
PR:		1512
Submitted by:	Ronnie Brunner <brunner@netcetera.ch>


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@79677 13f79535-47bb-0310-9956-ffa450edef68
1997-12-07 23:03:45 +00:00
pcs
0f1dd23b2d Doc contains an example of an .asis redirection which is a clear candidate
for 301 permanent redirect, not 302 temporary redirect.
PR: 1485
Submitted by: Carl von Loesch <lynx@net.pages.de>, Lars Eilebrecht


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@79662 13f79535-47bb-0310-9956-ffa450edef68
1997-12-01 14:41:14 +00:00
dgaudet
c69ca0c8ac Clean up check_cmd_context stuff. Fix core documentation for a few
directives.

Reviewed by:	Jim Jagielski, Ken Coar, Martin Kraemer


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@79606 13f79535-47bb-0310-9956-ffa450edef68
1997-11-15 00:16:48 +00:00
Ken Coar
e6bfa4838e Include directive isn't a container..
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@79601 13f79535-47bb-0310-9956-ffa450edef68
1997-11-14 04:02:44 +00:00
Martin Kraemer
30dff4106d Correct Typos;
Add new -V switch;
add paragraph about new ServerRoot=/usr/local/apache;


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@79582 13f79535-47bb-0310-9956-ffa450edef68
1997-11-12 16:29:46 +00:00
Martin Kraemer
eff734582b Citing Lars:
Hi,

the attachment includes a reworked Apache manual with the
new virtual host documentation.

As Dean suggested I created a new directory named 'vhosts' and moved the
updated vhosts-in-depth etc. documents into the new directory, renamed
them and updated all other documents which refered to the old docs
(at least I tried to find all documents...).

Submitted by: Lars Eilebrecht <sfx@unix-ag.org>
Reviewed by:	 Martin Kraemer


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@79568 13f79535-47bb-0310-9956-ffa450edef68
1997-11-11 23:47:21 +00:00
Martin Kraemer
d32e26e767 Minor Documentation Update: broken and mis-typed links, and a reference to
a resource which is available only at http://www.apache.org/, not in the
user's tree.
Reviewed by:Dean Gaudet, Jim Jagielski, Ken Coar


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@79566 13f79535-47bb-0310-9956-ffa450edef68
1997-11-11 23:11:11 +00:00
Marc Slemko
e37c357597 Clarify use of textual strings for expiry times.
PR: 1397
Obtained from:
Submitted by:
Reviewed by:


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@79562 13f79535-47bb-0310-9956-ffa450edef68
1997-11-11 22:47:40 +00:00
Roy T. Fielding
fda326764c Close them CODE elements
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@79557 13f79535-47bb-0310-9956-ffa450edef68
1997-11-11 21:58:15 +00:00
Ken Coar
68e8bd21ce Add documentation for alternate mod_expires time syntax.
PR:		1238


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@79555 13f79535-47bb-0310-9956-ffa450edef68
1997-11-11 21:35:08 +00:00
Ken Coar
f2a573e72a Add a "SuppressColumnSorting" option to the IndexOptions list,
which will keep the column heading from beling links for sorting
	the display.

PR:		1261
Reviewed by:	Jim Jagielski, Martin Kraemer, Dean Gaudet


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@79543 13f79535-47bb-0310-9956-ffa450edef68
1997-11-09 05:49:23 +00:00