From 2d374296aa830734933d8048580ea23931df8bab Mon Sep 17 00:00:00 2001 From: "Ralf S. Engelschall" Date: Sun, 3 Aug 1997 08:47:57 +0000 Subject: Merged in recent changes from HEAD. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/APACHE_1_2_X@78872 13f79535-47bb-0310-9956-ffa450edef68 --- docs/manual/misc/FAQ.html | 71 ++++++++++++++++++++++++++--------------------- 1 file changed, 40 insertions(+), 31 deletions(-) diff --git a/docs/manual/misc/FAQ.html b/docs/manual/misc/FAQ.html index 9f23b29a61..330582ffdc 100644 --- a/docs/manual/misc/FAQ.html +++ b/docs/manual/misc/FAQ.html @@ -15,7 +15,7 @@

Apache Server Frequently Asked Questions

- $Revision: 1.63.2.13 $ ($Date: 1997/07/31 08:57:21 $) + $Revision: 1.63.2.14 $ ($Date: 1997/08/03 08:47:57 $)

The latest version of this FAQ is always available from the main @@ -218,12 +218,12 @@

  • When I run it under Linux I get "shmget: function not found", what should I do?
  • -
  • Why does my authentification give +
  • Why does my authentication give me a server error?
  • Do I have to keep the (mSQL) - authentification information on the same machine? + authentication information on the same machine?
  • -
  • Why is my mSQL authentification terribly slow? +
  • Why is my mSQL authentication terribly slow?
  • Where can I find mod_rewrite rulesets which already solve particular URL-related problems? @@ -685,7 +685,7 @@ This is generally only necessary when you are calling external programs from your script that send output to stdout, or if there will be a long delay between the time the headers are sent and the actual - content starts being emitted. To maximise performance, you should + content starts being emitted. To maximize performance, you should turn buffer-flushing back off (with $| = 0 or the equivalent) after the statements that send the headers, as displayed above. @@ -944,32 +944,41 @@ Can I increase FD_SETSIZE on FreeBSD?

    - On versions of FreeBSD older than 2.2 FD_SETSIZE, which - limits the number of open files on the system, is controlled by a - kernel option and is limited to 256. You can set this value using a - line such as the following in your kernel configuration file: + On versions of FreeBSD before 3.0, the FD_SETSIZE define + defaults to 256. This means that you will have trouble usefully using + more than 256 file descriptors in Apache. This can be increased, but + doing so can be tricky. + + If you are using a version prior to 2.2, you need to recompile your + kernel with a larger FD_SETSIZE. This can be done by adding a + line such as:

    options FD_SETSIZE nnn

    - This can restrict the number of - virtual hosts you can use, especially if they all use different log - files. Increasing this limit (and recompiling Apache) is not enough, - as it is on some platforms (such as Solaris), as you also will have - to recompile libc with the changed setting. + To your kernel config file. Starting at version 2.2, this is no + longer necessary.

    - With FreeBSD 2.2 and later, you can increase the setting of - FD_SETSIZE at Apache compilation time by adding - "-DFD_SETSIZE=nnn" to the - EXTRA_CFLAGS line in your Configuration - file. + If you are using a version of 2.1-stable from after 1997/03/10 or + 2.2 or 3.0-current from before 1997/06/28, there is a limit in + the resolver library that prevents it from using more file descriptors + than what FD_SETSIZE is set to when libc is compiled. To increase + this, you have to recompile libc with a higher FD_SETSIZE.

    - On FreeBSD 3.0 the default is 1024, so the problem is lessened still - more, and may not require any intervention at all. + In FreeBSD 3.0, the default FD_SETSIZE has been increased to + 1024 and the above limitation in the resolver library + has been removed. +

    +

    + After you deal with the appropriate changes above, you can increase + the setting of FD_SETSIZE at Apache compilation time + by adding "-DFD_SETSIZE=nnn" to the + EXTRA_CFLAGS line in your Configuration + file.


  • @@ -1028,7 +1037,7 @@
  • Web authentication passwords (at least for Basic authentication) generally fly across the wire, and through intermediate proxy - systems, in what amounts to plaintext. "O'er the net we + systems, in what amounts to plain text. "O'er the net we go/Caching all the way;/O what fun it is to surf/Giving my password away!"
  • @@ -1229,7 +1238,7 @@

    This is a normal message and nothing about which to be alarmed. It simply - means that the client cancelled the connection before it had been + means that the client canceled the connection before it had been completely set up - such as by the end-user pressing the "Stop" button. People's patience being what it is, sites with response-time problems or slow network links may experiences this more than @@ -1779,13 +1788,13 @@


  • - Why does my authentification give me a server error? + Why does my authentication give me a server error?

    Under normal circumstances, the Apache access control modules will pass unrecognized user IDs on to the next access control module in line. Only if the user ID is recognized and the password is validated - (or not) will it give the usual success or "authentification + (or not) will it give the usual success or "authentication failed" messages.

    @@ -1821,7 +1830,7 @@ mod_auth_mysql, mod_auth_anon or mod_auth_cookie modules on their own. These are by default not authoritative, and this will pass the - buck on to the (non-existent) next authentification module when the + buck on to the (non-existent) next authentication module when the user ID is not in their respective database. Just add the appropriate 'XXXAuthoritative yes' line to the configuration.

    @@ -1835,11 +1844,11 @@
  • - Do I have to keep the (mSQL) authentification information + Do I have to keep the (mSQL) authentication information on the same machine?

    - Some organizations feel very strongly about keeping the authentification + Some organizations feel very strongly about keeping the authentication information on a different machine than the webserver. With the mod_auth_msql, mod_auth_mysql, and other SQL modules connecting to (R)DBMses this is quite possible. Just configure @@ -1855,10 +1864,10 @@


  • - Why is my mSQL authentification terribly slow? + Why is my mSQL authentication terribly slow?

    - You have probably configured the Host by specificing a FQHN, + You have probably configured the Host by specifying a FQHN, and thus the libmsql will use a full blown tcp/ip socket to talk to the database, rather than a fast internal device. The libmsql, the mSQL FAQ, and the mod_auth_msql @@ -1912,7 +1921,7 @@ http://www.heise.de/ix/artikel/9612149/, - the english (translated) version can be found at + the English (translated) version can be found at http://www.heise.de/ix/artikel/E/9612149/. -- cgit v1.2.1