1
0
mirror of https://github.com/apache/httpd.git synced 2025-09-02 13:21:21 +03:00
Commit Graph

902 Commits

Author SHA1 Message Date
dgaudet
84f72e7c2c add some recent bugs
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@82692 13f79535-47bb-0310-9956-ffa450edef68
1999-01-22 18:04:11 +00:00
brian
4029b12a09 Tony Finch says:
>I just realised that this is wrong: the %v won't work on 1.3.4 because
>it always uses the canonical server name. It should be changed to
>%{SERVER_NAME}e.

So I've changed it accordingly.


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@82687 13f79535-47bb-0310-9956-ffa450edef68
1999-01-20 04:47:08 +00:00
brian
f462baa6e9 Oops, forgot to add it here.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@82657 13f79535-47bb-0310-9956-ffa450edef68
1999-01-15 00:59:12 +00:00
brian
c1c51cd783 This is the document on how to use mod_rewrite to eliminate the need for
virtualhost settings in the config file.  Many thanks to Tony Finch <dot@dotat.at>
for contributing this!


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@82655 13f79535-47bb-0310-9956-ffa450edef68
1999-01-15 00:57:10 +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
Roy T. Fielding
8f6ebc0f20 Fix typos, update for new makefiles.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@82632 13f79535-47bb-0310-9956-ffa450edef68
1999-01-10 05:47:07 +00:00
pcs
dc097f38fa Try to avoid some confusion from the changing of command line arguments,
by documenting the meanings of the arguments for each different version of
Apache. This is important since the current live site now documents the
"new" behaviour (for -L, -l, h) even though there is no released Apache
for which that documentation is valid. Even after releasing 1.3.4 users of
older versions will be accessing the documentation.


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@82625 13f79535-47bb-0310-9956-ffa450edef68
1999-01-09 16:53:56 +00:00
Ken Coar
0440d140b0 ???
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@82620 13f79535-47bb-0310-9956-ffa450edef68
1999-01-08 23:24:46 +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
Manoj Kasichainula
da37ba9d41 Submitted by: Joe Moenich <moenich@us.ibm.com>
Reviewed by:	Manoj Kasichainula <manojk@raleigh.ibm.com>
Various TPF tweaks, simplifying installation, etc.


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@82606 13f79535-47bb-0310-9956-ffa450edef68
1999-01-06 21:56:57 +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
a4f8c69eb5 ``Oh, by the way: the same procedure as last year?
The same procedure as _every_ year, James!''

So, a lot of touched files here, but it's just a tiny harmless patch.
As every year we bump up the year number in our copyright headers.

1. "199x-1998" => "199x-1999"
2. "1998"      => "1998-1999"


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@82561 13f79535-47bb-0310-9956-ffa450edef68
1999-01-01 19:04:34 +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
Lars Eilebrecht
27f9e91b84 Some updates/modifications (based on the patch from the PR).
PR: 3549
Submitted by: Joshua Slive <slive+apachebugs@finance.commerce.ubc.ca>


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@82506 13f79535-47bb-0310-9956-ffa450edef68
1998-12-18 23:49:44 +00:00
dgaudet
83ab755dbd file moved
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@82504 13f79535-47bb-0310-9956-ffa450edef68
1998-12-18 22:29:56 +00:00
Ralf S. Engelschall
3448301f6e Cleanup the command line options: `-?' was documented to show the usage list
but does it with an error because `?' is not a valid command. OTOH a lot of
users expect `-h' to print such a usage list and instead are annoyed for ages
by our huge unreadable list of directives.  So we now changed the command line
options this way:

 1. `-L' => `-R'
    Intent: we need `-L' to be free, and `-R' for the DSO run-time path is
    very similar to the popular linker option.

 2. `-h' => `-L'
    Intent: while -l gives the small list of modules, -L now gives the
    large list of directives implemented by these modules.  This is also
    consistent with -v (short version info) and -V (large version info).

 3. `-?' => `-h'
    Intent: it's now the expected option ;-)

The manual page was adjusted accordingly.

Submitted by: Ralf S. Engelschall
Reviewed by: Randy Terbush
PR: 2714


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@82497 13f79535-47bb-0310-9956-ffa450edef68
1998-12-17 15:09:33 +00:00
pcs
93339afe04 Fix dumb typo
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@82488 13f79535-47bb-0310-9956-ffa450edef68
1998-12-15 13:54:02 +00:00
dgaudet
d5eb4c87cd update the draft-ietf-http-connection-00 link... this new link works... but
I'm still not sure if this draft has issued as an RFC or if it's just fallen
dead
PR:
Obtained from:
Submitted by:
Reviewed by:


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@82480 13f79535-47bb-0310-9956-ffa450edef68
1998-12-13 20:42:16 +00:00
Ralf S. Engelschall
3d75841bc2 PORT: Add Dynamic Shared Object (DSO) support for BSDI (v4.0).
Submitted by: Tom Serkowski <tks@bsdi.com>
PR: 3453


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@82453 13f79535-47bb-0310-9956-ffa450edef68
1998-12-06 16:14:19 +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
f3ace6ab38 Fix negotiation so that we prefer an encoded variant over an unencoded
variant if the user-agent explicitly says it can accept that encoding.
Previously we always preferred the unencoded variant.

PR:		3447
Submitted by:	Paul Ausbeck <paula@alumni.cse.ucsc.edu>
Reviewed by:	Paul Sutton


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@82443 13f79535-47bb-0310-9956-ffa450edef68
1998-12-04 17:37:06 +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
ffa0b686b4 Make documentation clearer for Windows users: state when descriptions
apply only to Unix; add links to Windows and TPF instructions. Where
defaults are different in OS/2 or Windows, show them.  Add the -k command
line option (Windows only).


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@82409 13f79535-47bb-0310-9956-ffa450edef68
1998-11-20 16:39:03 +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
c5f5f84f58 Add link to description of how files with multiple extensions are
handled. At the same time update the descriptions of the directives
to make the descriptions in the authoritative file (mod/mod_mime.html).

PR: 3151


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@82405 13f79535-47bb-0310-9956-ffa450edef68
1998-11-20 15:56:34 +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
Ken Coar
dcd7ec4a46 Update the compatibility note about "exec cgi" a little.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@82395 13f79535-47bb-0310-9956-ffa450edef68
1998-11-16 12:21:52 +00:00
Lars Eilebrecht
b64f8bf0ef Finalize my suEXEC/APACI patch...
This is a temporary version. I'll update the paths later based
on what we decide regarding the APACI default paths.

(Any native english speaker is welcome to proofread the text. :-))


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@82386 13f79535-47bb-0310-9956-ffa450edef68
1998-11-12 20:10:52 +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
Lars Eilebrecht
97b173fb09 RLimit* vs. premature end of script headers
PR: 3136
Submitted by: Aaron Digulla


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@82357 13f79535-47bb-0310-9956-ffa450edef68
1998-11-06 17:28:05 +00:00
Manoj Kasichainula
4bec6f2993 Fix some bad links in TPF documentation
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@82346 13f79535-47bb-0310-9956-ffa450edef68
1998-11-04 19:31:50 +00:00
Manoj Kasichainula
1ad3695f81 Submitted by: Joe Moenich and others at IBM
Newly created files from the TPF port


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@82341 13f79535-47bb-0310-9956-ffa450edef68
1998-11-03 22:06:29 +00:00
Manoj Kasichainula
e8c2bb7047 PR: 2706
Changed references to "/status" to "/server-status". This isn't really
necessary, but a user was confused by the difference between the docs and
the configuration file, and consistency is a good thing.


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@82329 13f79535-47bb-0310-9956-ffa450edef68
1998-10-29 20:27:13 +00:00
Ken Coar
1f6adefac6 Change the FastCGI URL to which the FAQ points; use the
site's main page instead of a stale one.

Submitted by:	Marc Mengel <mengel@fnal.gov>
Reviewed by:	Ken Coar


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@82309 13f79535-47bb-0310-9956-ffa450edef68
1998-10-23 18:46:12 +00:00
Ken Coar
775a5f2cf8 Add a 'howto' item submitted in April of 1998 (ouch!).
Submitted by:	David Sedlock <das@step.de>
Reviewed by:	Ken Coar


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@82307 13f79535-47bb-0310-9956-ffa450edef68
1998-10-23 15:14:14 +00:00
Ralf S. Engelschall
f939bad5e2 Add hint to HP performance tuning document on authors request.
Submitted by: rick jones <raj@cup.hp.com>
PR: 3214


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@82302 13f79535-47bb-0310-9956-ffa450edef68
1998-10-23 07:43:09 +00:00
Ken Coar
f662739e04 Fix some broken HTML, and note that the "-k option" stuff is
new with 1.3.3.

PR:		3252


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@82296 13f79535-47bb-0310-9956-ffa450edef68
1998-10-22 20:48: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
Marc Slemko
31860d70c0 Add a "default-handler" handler that calls the default_hander()
function which is normally called for static content.  This allows
you to override a specific handler.  This is not a complete solution to
being able to "unconfigure" things as asked for in PR#2979, but it is
still useful.

PR:
Obtained from:
Submitted by:
Reviewed by:


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@82288 13f79535-47bb-0310-9956-ffa450edef68
1998-10-21 05:57:58 +00:00
Marc Slemko
7a2a5c5aee Since this entry was based on a small number of reports some time ago
and current versions of HP's compiler appear to be fine and I haven't
seen anyone report this in a long time, remove the reference to problems
with HP's compiler.

PR:
Obtained from:
Submitted by:	Nathaniel McIntosh <mcintosh@cup.hp.com>
Reviewed by:


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@82274 13f79535-47bb-0310-9956-ffa450edef68
1998-10-19 04:59:36 +00:00