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

163 Commits

Author SHA1 Message Date
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
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
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
brian
bbc3f6d277 PR:
tsk tsk, randy.  Can't find this on covalent.net either.


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@80015 13f79535-47bb-0310-9956-ffa450edef68
1998-01-26 07:12:58 +00:00
brian
feec2b0631 PR:
David Robinson's CGI specification is no longer available at this URL.  perhaps
we should point at other CGI resources online?


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@80013 13f79535-47bb-0310-9956-ffa450edef68
1998-01-26 07:09:13 +00:00
brian
47c02cdde2 PR:
If SCO's going to break their links, I'm not going to go searching for where they
moved it to.

Cold and rainy and dark.
ml" -->

<H1 ALIGN="CENTER">Connections in the FIN_WAIT_2 state and Apache</H1>
<OL>
<LI><H2>What is the FIN_WAIT_2 state?</H2>
Starting with the Apache 1.2 betas, people are reporting many more
connections in the FIN_WAIT_2 state (as reported by
<code>netstat</code>) than they saw using older versions.  When the
server closes a TCP connection, it sends a packet with the FIN bit
sent to the client, which then responds with a packet with the ACK bit
set.  The client then sends a packet with the FIN bit set to the
server, which responds with an ACK and the connection is closed.  The
state that the connection is in during the period between when the
server gets the ACK from the client and the server gets the FIN from
the client is known as FIN_WAIT_2.  See the <A
HREF="ftp://ds.internic.net/rfc/rfc793.txt">TCP RFC</A> for the
technical details of the state transitions.<P>

The FIN_WAIT_2 state is somewhat unusual in that there is no timeout
defined in the standard for it.  This means that on many operating
systems, a connection in the FIN_WAIT_2 state will stay around until
the system is rebooted.  If the system does not have a timeout and
too many FIN_WAIT_2 connections build up, it can fill up the space
allocated for storing information about the connections and crash
the kernel.  The connections in FIN_WAIT_2 do not tie up an httpd
process.<P>

<LI><H2>But why does it happen?</H2>

There are numerous reasons for it happening, some of them may not
yet be fully clear.  What is known follows.<P>

<H3>Buggy clients and persistent connections</H3>

Several clients have a bug which pops up when dealing with
<A HREF="../keepalive.html">persistent connections</A> (aka keepalives).
When the connection is idle and the server closes the connection
(based on the <A HREF="../mod/core.html#keepalivetimeout">
KeepAliveTimeout</A>), the client is programmed so that the client does
not send back a FIN and ACK to the server.  This means that the
connection stays in the FIN_WAIT_2 state until one of the following
happens:<P>
<UL>
        <LI>The client opens a new connection to the same or a different
            site, which causes it to fully close the older connection on
            that socket.
        <LI>The user exits the client, which on some (most?) clients
            causes the OS to fully shutdown the connection.
        <LI>The FIN_WAIT_2 times out, on servers that have a timeout
            for this state.
</UL><P>
If you are lucky, this means that the buggy client will fully close the
connection and release the resources on your server.  However, there
are some cases where the socket is never fully closed, such as a dialup
client disconnecting from their provider before closing the client.
In addition, a client might sit idle for days without making another
connection, and thus may hold its end of the socket open for days
even though it has no further use for it.
<STRONG>This is a bug in the browser or in its operating system's
TCP implementation.</STRONG>  <P>

The clients on which this problem has been verified to exist:<P>
<UL>
        <LI>Mozilla/3.01 (X11; I; FreeBSD 2.1.5-RELEASE i386)
        <LI>Mozilla/2.02 (X11; I; FreeBSD 2.1.5-RELEASE i386)
        <LI>Mozilla/3.01Gold (X11; I; SunOS 5.5 sun4m)
        <LI>MSIE 3.01 on the Macintosh
        <LI>MSIE 3.01 on Windows 95
</UL><P>

This does not appear to be a problem on:
<UL>
        <LI>Mozilla/3.01 (Win95; I)
</UL>
<P>

It is expected that many other clients have the same problem. What a
client <STRONG>should do</STRONG> is periodically check its open
socket(s) to see if they have been closed by the server, and close their
side of the connection if the server has closed.  This check need /export/home/cvs/CVSROOT/cvsedit


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@80009 13f79535-47bb-0310-9956-ffa450edef68
1998-01-26 06:58:31 +00:00
brian
45a59fe182 PR:
Make all references complete.


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@80006 13f79535-47bb-0310-9956-ffa450edef68
1998-01-26 06:39:36 +00:00
brian
6398405fb1 PR:
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@80004 13f79535-47bb-0310-9956-ffa450edef68
1998-01-26 06:37:12 +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
dgaudet
cd83501546 yay netscape has fixed a bug
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@79957 13f79535-47bb-0310-9956-ffa450edef68
1998-01-22 21:09:42 +00:00
dgaudet
b763433e24 document no-content-length and gif89-expires
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@79954 13f79535-47bb-0310-9956-ffa450edef68
1998-01-22 20:37:48 +00:00
dgaudet
f03de05016 Tweak the 257th byte bug... happens at the 256th byte as well.
Reviewed by:	Jim Jagielski, Brian Behlendorf


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@79754 13f79535-47bb-0310-9956-ffa450edef68
1997-12-21 08:18:13 +00:00
Ralf S. Engelschall
020887cac6 Change to URL to the mod_rewrite practical solutions, because
the software area now really gets removed, but at least the
solutions survive in my paperwork area where they make up a
new document.


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@79707 13f79535-47bb-0310-9956-ffa450edef68
1997-12-16 16:52:19 +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
dgaudet
dfe3c56004 We talk about a "proper installation" occasionally... and assume folks know
how to set the perms on the serverroot.  But I don't think we document it
anywhere.  Nowhere that's easily found direct from the "how to install"
page.  Document it better, link to it.  Remove the install_1_1 docs.
Update a 1.2 reference to 1.3.


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@79686 13f79535-47bb-0310-9956-ffa450edef68
1997-12-14 00:49:19 +00:00
Ken Coar
d5ad4e14b5 Recommend removal of <Limit> containers rather than adding
methods to them.

Submitted by:	Marc Slemko


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@79667 13f79535-47bb-0310-9956-ffa450edef68
1997-12-02 04:45:55 +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
brian
5ab8a187c9 PR:
Added references to the known_client_problems page.


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@79538 13f79535-47bb-0310-9956-ffa450edef68
1997-11-08 23:27:59 +00:00
Marc Slemko
624b9dd4c1 1.3 now exists. That means this slips even further.
PR:
Obtained from:
Submitted by:
Reviewed by:


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@79520 13f79535-47bb-0310-9956-ffa450edef68
1997-11-06 14:52:47 +00:00
brian
42f53c0c93 PR:
Added notes about HP


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@79514 13f79535-47bb-0310-9956-ffa450edef68
1997-11-06 02:55:08 +00:00
Ken Coar
8ffd3701c8 Label the 1.3 documentation as being such in the header and footer.
Hopefully (!) this will ease some of the confusion about 1.3
	features described therein that people think apply to 1.2..

Reviewed by:	Dean Gaudet


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@79503 13f79535-47bb-0310-9956-ffa450edef68
1997-11-04 01:18:00 +00:00
Marc Slemko
76bd6be68b Expand on nph- script section; use words "server push" and mention
unbuffering in 1.3.

PR: 1316
Obtained from:
Submitted by:
Reviewed by:


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@79491 13f79535-47bb-0310-9956-ffa450edef68
1997-11-01 04:45:51 +00:00
Marc Slemko
0b80b86dc1 Document that we don't support the referer directive.
PR: 968
Obtained from:
Submitted by:
Reviewed by:


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@79489 13f79535-47bb-0310-9956-ffa450edef68
1997-11-01 04:22:53 +00:00
Sameer Parekh
c2edc0550e Set default pathnames -everywhere- to /usr/local/apache
PR:
Obtained from:
Submitted by:	Sameer Parekh
Reviewed by: Jim, Martin


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@79464 13f79535-47bb-0310-9956-ffa450edef68
1997-10-25 22:35:13 +00:00
dgaudet
0722046286 typo
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@79459 13f79535-47bb-0310-9956-ffa450edef68
1997-10-25 05:35:43 +00:00
dgaudet
b9d85826cd document MMAP_SEGMENT_SIZE
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@79451 13f79535-47bb-0310-9956-ffa450edef68
1997-10-24 09:39:17 +00:00
Ken Coar
8bcfb6eb2d {Sigh} Add the suddenly FAQ about why virtual hosts don't
work after 1.3b2 upgrades..

PR:	Too many to mention


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@79420 13f79535-47bb-0310-9956-ffa450edef68
1997-10-21 01:10:27 +00:00
pcs
73a6b3bd44 Add note about \space not working in Apache
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@79394 13f79535-47bb-0310-9956-ffa450edef68
1997-10-17 11:39:59 +00:00
brian
52fce9508b PR:
Link to known_client_problems, add '.' to the end of sentences.


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@79368 13f79535-47bb-0310-9956-ffa450edef68
1997-10-13 21:11:59 +00:00
dgaudet
04ab676d96 Incorporate my performance tuning document. Document a lot more stuff
that changed.


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@79314 13f79535-47bb-0310-9956-ffa450edef68
1997-09-30 23:24:30 +00:00
Ken Coar
9c42aeea08 Add a FAQ about Y2K compliance.
Submitted by:	Lars Eilebrecht <Lars.Eilebrecht@unix-ag.org>


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@79284 13f79535-47bb-0310-9956-ffa450edef68
1997-09-18 13:00:15 +00:00
brian
2ea381c40a PR:
Update link.


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@79277 13f79535-47bb-0310-9956-ffa450edef68
1997-09-17 16:32:21 +00:00
Marc Slemko
0adb26e9cb Update the fin_wait_2 page to reflect the current understanding
of the issues; remove the suggestion that Apache is buggy, since
no bugs have been found in that code.  It now appears most likely
that it is just the result of a bad interaction.  The real solution,
as always, is still a timeout for FIN_WAIT_2.

PR:
Obtained from:
Submitted by:
Reviewed by:


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@79161 13f79535-47bb-0310-9956-ffa450edef68
1997-09-07 03:10:58 +00:00
Ken Coar
4bac9173ac Update FAQ #35 (where's the dump?) to mention the new-for-1.3
CoreDumpDirectory directive.

Submitted by:	Lars Eilebrecht <Lars.Eilebrecht@unix-ag.org>


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@79071 13f79535-47bb-0310-9956-ffa450edef68
1997-08-25 16:13:15 +00:00
Marc Slemko
7f295dd215 Fix Squent typo.
PR:
Obtained from:
Submitted by:
Reviewed by:


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@78975 13f79535-47bb-0310-9956-ffa450edef68
1997-08-17 05:55:54 +00:00
Marc Slemko
b0d099ca6a Typo fixes and update FreeBSD FD_SETSIZE question. Yes, it is quite
complicated as to what works where.


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@78868 13f79535-47bb-0310-9956-ffa450edef68
1997-08-02 21:57:40 +00:00
dgaudet
fb2e24c9dc mod_access overhaul. Network/netmask and CIDR syntax. Critical path
speedups.  Forced double-reverse DNS.  Deprecate the "allow from
user-agents" syntax.  "HostnameLookups double" support.

PR:		762, 860
Reviewed by:	Paul Sutton, Marc Slemko (well he liked the double reverse part)


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@78820 13f79535-47bb-0310-9956-ffa450edef68
1997-07-30 18:41:47 +00:00
Ken Coar
ae66c789ed Added item about the CGI/1.1 spec online locations, and some more
text about the FreeBSD/FD_SETSIZE stuff.  (Marc has more to add
	on that particular topic. but I'd already written this - so he
	gets to correct/update my blither ;-)

PR:		931,938


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@78818 13f79535-47bb-0310-9956-ffa450edef68
1997-07-30 18:02:33 +00:00
Ralf S. Engelschall
5f15ef3ab6 - added answer about "missing" REMOTE_USER variable
- incorporated 8 answers from the old mod_rewrite FAQ
  (step 4 of the mod_rewrite gifting procedure)
- adjusted the Netcraft information about number of Apache servers
- fixed typos


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@78773 13f79535-47bb-0310-9956-ffa450edef68
1997-07-25 10:25:46 +00:00
Alexei Kosut
91716ea807 Fix HTML mistake
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@78748 13f79535-47bb-0310-9956-ffa450edef68
1997-07-22 22:39:31 +00:00
dgaudet
a885f51816 RealPlayer update.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@78737 13f79535-47bb-0310-9956-ffa450edef68
1997-07-22 08:51:02 +00:00
dgaudet
051e5fba19 Add note about Set-Cookies.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@78735 13f79535-47bb-0310-9956-ffa450edef68
1997-07-22 04:57:18 +00:00
dgaudet
ad71dd9ec1 First draft of all the problems we know about and have worked around...
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@78701 13f79535-47bb-0310-9956-ffa450edef68
1997-07-20 21:26:47 +00:00
dgaudet
1c34d79459 Update note about AIX descriptors.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@78667 13f79535-47bb-0310-9956-ffa450edef68
1997-07-19 09:30:45 +00:00
dgaudet
5a33d717c6 PR#862: Apache doesn't implement OnDeny.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@78609 13f79535-47bb-0310-9956-ffa450edef68
1997-07-14 03:24:27 +00:00
dgaudet
f7067b3c85 PR#861: note the lack of the "optional" keyword in VirtualHost
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@78607 13f79535-47bb-0310-9956-ffa450edef68
1997-07-14 03:20:21 +00:00
dgaudet
dd7fd9a797 Fix mod_dir references.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@78569 13f79535-47bb-0310-9956-ffa450edef68
1997-07-08 19:58:33 +00:00