]> granicus.if.org Git - apache/commitdiff
Some answers to problems that often come up on the www.servers.unix
authorRoy T. Fielding <fielding@apache.org>
Sat, 3 Jul 1999 22:12:50 +0000 (22:12 +0000)
committerRoy T. Fielding <fielding@apache.org>
Sat, 3 Jul 1999 22:12:50 +0000 (22:12 +0000)
newsgroup.

Submitted by: Joshua Slive <slive@finance.commerce.ubc.ca>
Reviewed by: Roy Fielding

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@83428 13f79535-47bb-0310-9956-ffa450edef68

docs/manual/misc/FAQ-A.html
docs/manual/misc/FAQ-E.html
docs/manual/misc/FAQ-F.html
docs/manual/misc/FAQ-I.html

index e4c441fb9ab233f8c16a5c2082367d50c3c108a9..bf436858defcc832db0ceeeea6dcfdcc0031e00f 100644 (file)
@@ -31,7 +31,7 @@
   <!--#include virtual="header.html" -->
   <H1 ALIGN="CENTER">Apache Server Frequently Asked Questions</H1>
   <P>
-  $Revision: 1.1 $ ($Date: 1999/06/24 15:02:51 $)
+  $Revision: 1.2 $ ($Date: 1999/07/03 22:12:49 $)
   </P>
   <P>
   The latest version of this FAQ is always available from the main
       <STRONG>How thoroughly tested is Apache?</STRONG>
      </A>
   <P>
-  Apache is run on over 1.2 million Internet servers (as of July 1998). It has
+  Apache is run on over 3 million Internet servers (as of June 1999). It has
   been tested thoroughly by both developers and users. The Apache Group
   maintains rigorous standards before releasing new versions of their
   server, and our server runs without a hitch on over one half of all
index 0f1e8e2dc0af607f563438f66915be617a1e3f6b..a7f27657eebc052c6c7aecf8652b250a7e7162ef 100644 (file)
@@ -31,7 +31,7 @@
   <!--#include virtual="header.html" -->
   <H1 ALIGN="CENTER">Apache Server Frequently Asked Questions</H1>
   <P>
-  $Revision: 1.1 $ ($Date: 1999/06/24 15:02:52 $)
+  $Revision: 1.2 $ ($Date: 1999/07/03 22:12:49 $)
   </P>
   <P>
   The latest version of this FAQ is always available from the main
    <LI><A HREF="#htaccess-work">My <CODE>.htaccess</CODE> files are being
        ignored.</A>
    </LI>
+   <LI><A HREF="#forbidden">Why do I get a 
+        &quot;<SAMP>Forbidden</SAMP>&quot; message whenever I try to 
+        access a particular directory?</A>
   </OL>
  </LI>
 <!--#endif -->
    </P>
    <HR>
  </LI>
+ <LI><A NAME="forbidden">
+       <STRONG>Why do I get a &quot;<SAMP>Forbidden</SAMP>&quot; message 
+       whenever I try to access a particular directory?</A>
+   <P>
+   This message is generally caused because either
+   <UL>
+    <LI>The underlying file system permissions do not allow the
+    User/Group under which Apache is running to access the necessary
+    files; or
+    <LI>The Apache configuration has some access restrictions in 
+    place which forbid access to the files.
+   </UL>
+   You can determine which case applies to your situation by checking the
+   error log.
+   </P>
+   <P>
+   In the case where file system permission are at fault, remember
+   that not only must the directory and files in question be readable,
+   but also all parent directories must be at least searchable by the
+   web server in order for the content to be accessible.
+   </P>
+   <HR>
+  </LI>
 </OL>
 <!--#endif -->
 <!--#if expr="$STANDALONE" -->
index 007c6bf77af4fa0af6432747108c8181c4774d3a..a4442a481e9ee7cafb32e5b602171f00333db09b 100644 (file)
@@ -31,7 +31,7 @@
   <!--#include virtual="header.html" -->
   <H1 ALIGN="CENTER">Apache Server Frequently Asked Questions</H1>
   <P>
-  $Revision: 1.1 $ ($Date: 1999/06/24 15:02:52 $)
+  $Revision: 1.2 $ ($Date: 1999/07/03 22:12:50 $)
   </P>
   <P>
   The latest version of this FAQ is always available from the main
   server.  To see if this is the case, try running the script standalone
   from an interactive session, rather than as a script under the server.
   If you get error messages, this is almost certainly the cause of the
-  &quot;premature end of script headers&quot; message.
+  &quot;premature end of script headers&quot; message.  Even if the CGI 
+  runs fine from the command line, remember that the environment and
+  permissions may be different when running under the web server.  The
+  CGI can only access resources allowed for the <A 
+  HREF="../mod/core.html#user"><CODE>User</CODE></A> and 
+  <A HREF="../mod/core.html#group"><CODE>Group</CODE></A> specified in 
+  your Apache configuration.  In addition, the environment will not be 
+  the same as the one provided on the command line, but it can be 
+  adjusted using the directives provided by <A 
+  HREF="../mod/mod_env.html">mod_env</A>.
   </P>
   <P>
   The second most common cause of this (aside from people not
   get the message if the CGI script was killed due to a
   resource limit.
   </P>
+  <P>
+  In addition, a configuration problem in <A
+  HREF="../suexec.html">suEXEC</A>, mod_perl, or another third party
+  module can often interfere with the execution of your CGI and cause
+  the &quot;premature end of script headers&quot; message.
+  </P>
   <HR>
  </LI>
 
index 0f81df6f21e3cb4595e84ec7b84b8e5d83c133ea..80d51656bfc228e2fa6b0fed7c85a11ef749f373 100644 (file)
@@ -31,7 +31,7 @@
   <!--#include virtual="header.html" -->
   <H1 ALIGN="CENTER">Apache Server Frequently Asked Questions</H1>
   <P>
-  $Revision: 1.2 $ ($Date: 1999/06/24 15:06:27 $)
+  $Revision: 1.3 $ ($Date: 1999/07/03 22:12:50 $)
   </P>
   <P>
   The latest version of this FAQ is always available from the main
    </LI>
    <LI><A HREF="#SSL-i">Why doesn't Apache include SSL?</A>
    </LI>
+   <LI><A HREF="#footer">How can I attach a footer to my documents
+        without using SSI?</A>
+   </LI>
+   <LI><A HREF="#search">Does Apache include a search engine?</A>
+   </LI>
   </OL>
  </LI>
 <!--#endif -->
   </P>
   <HR>
  </LI>
+ <LI><A NAME="footer">
+      <STRONG>How can I attach a footer to my documents
+        without using SSI?</STRONG>
+     </A>
+  <P>
+  You can make arbitrary changes to static documents by configuring an
+  <A HREF="http://www.apache.org/docs/mod/mod_actions.html#action">
+  Action</A> which launches a CGI script.  The CGI is then
+  responsible for setting a content-type and delivering the requested
+  document (the location of which is passed in the
+  <SAMP>PATH_TRANSLATED</SAMP> environment variable), along with
+  whatever footer is needed.
+  </P>
+  <P>
+  Busy sites may not want to run a CGI script on every request, and
+  should consider using an Apache module to add the footer.  There are
+  several third party modules available through the <A
+  HREF="http://modules.apache.org/">Apache Module Registry</A> which
+  will add footers to documents.  These include mod_trailer, PHP
+  (<SAMP>php3_auto_append_file</SAMP>), and mod_perl
+  (<SAMP>Apache::Sandwich</SAMP>).
+  </P>
+  <HR>
+ </LI>
+ <LI><A NAME="search">
+      <STRONG>Does Apache include a search engine?</STRONG>
+     </A>
+  <P>Apache does not include a search engine, but there are many good
+  commercial and free search engines which can be used easily with
+  Apache.  Some of them are listed on the <A
+  HREF="http://www.searchtools.com/tools/tools.html">Web Site Search
+  Tools</A> page.  Open source search engines that are often used with
+  Apache include <A HREF="http://www.htdig.org/">ht://Dig</A> and <A
+  HREF="http://sunsite.berkeley.edu/SWISH-E/">SWISH-E</A>.
+  </P>
+  <HR>
+ </LI>
 </OL>
 <!--#endif -->
 <!--#if expr="$STANDALONE" -->