From c40d8ec267e0e366f645f3e064059ebc68016b37 Mon Sep 17 00:00:00 2001 From: Marc Slemko Date: Sun, 8 Jun 1997 01:33:29 +0000 Subject: [PATCH] A few corrections and additions. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@78266 13f79535-47bb-0310-9956-ffa450edef68 --- docs/manual/misc/FAQ.html | 128 +++++++++++++++++++++++++++++++++++--- 1 file changed, 118 insertions(+), 10 deletions(-) diff --git a/docs/manual/misc/FAQ.html b/docs/manual/misc/FAQ.html index 94d257d661..f132f27600 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 $ ($Date: 1997/06/04 11:42:55 $) + $Revision: 1.64 $ ($Date: 1997/06/08 01:33:29 $)

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

@@ -1275,7 +1285,7 @@
  • Why won't Apache compile with my system's cc? - +

    If the server won't compile on your system, it is probably due to one of the following causes: @@ -1370,7 +1380,7 @@

  • Why do Java applets and applications not work - with documents on my Apache server? + with documents on my Apache server?

    The Java Development Kit (JDK) libraries versions 1.0.2 and 1.1 do not @@ -1385,12 +1395,110 @@ adding the following lines to their configuration files:

    -
    BrowserMatch Java1.0 force-response-1.0 +
    BrowserMatch Java1.0 force-response-1.0

    -
  • +
  • + Why do I get an error about an undefined reference to + "__inet_ntoa" or other __inet_* symbols? + +

    + If you have installed BIND-8 + then this is normally due to a conflict between your include files + and your libraries. BIND-8 installs its include files and libraries + /usr/local/include/ and /usr/local/lib/, while + the resolver that comes with your system is probably installed in + /usr/include/ and /usr/lib/. If + your system uses the header files in /usr/local/include/ + before those in /usr/include/ but you do not use the new + resolver library, then the two versions will conflict. +

    +

    + To resolve this, you can either make sure you use the include files + and libraries that came with your system or make sure to use the + new include files and libraries. Adding -lbind to the + EXTRA_LFLAGS line in your Configuration + file, then re-running Configure should resolve the + problem. +

    +
    +
  • +
  • + Why does accessing directories only work when I include + the trailing "/" (eg. http://foo.domain.com/~user/) + but not when I omit it + (eg. http://foo.domain.com/~user)? + +

    + When you access a directory without a trailing "/", Apache needs + to send what is called a redirect to the client to tell it to + add the trailing slash. If it did not do so, relative URLs would + not work properly. When it sends the redirect, it needs to know + the name of the server so that it can include it in the redirect. + There are two ways for Apache to find this out; either it can guess, + or you can tell it. If your DNS is configured correctly, it can + normally guess without any problems. If it is not, however, then + you need to tell it. +

    +

    + Add a ServerName directive + to the config file to tell it what the domain name of the server is. +

    +
    +
  • +
  • + How do I setup Apache to require a username and + password to access certain documents? + +

    + There are several ways to do this; some of the more popular + ones are to use the mod_auth, + mod_auth_db or mod_auth_dbm modules. +

    +

    + For an explaination on how to implement these restrictions, see + ApacheWeek's + Using User Authentication or + + DBM User Authentication tutorials. +

    +
    +
  • +
  • + How do I setup Apache to allow access to certain + documents only if a site is either a local site or + the user supplies a password and username? + +

    + Use the Satsify directive, + in particular the Satsify Any directive to require + that only one of the access restrictions be met. For example, + adding the following configuration to a .htaccess + or server configuration file would restrict access to people who + either are accessing the site from a host under domain.com or + who can supply a valid username and password: +

    +
    +     deny from all
    +     allow from .domain.com
    +     AuthType Basic
    +     AuthUserFile /usr/local/etc/httpd/conf/htpasswd.users
    +     AuthName special directory
    +     require valid-user
    +     satisfy any
    +
    +

    See the user authentication + question and the mod_access + module for details on how the above directives work. +

    +
    +
  • + + + -- 2.40.0