FAQ.html revision 091caae3b2ebdb760c98575d0d5e349cd686f913
c840b37de865195a8742e219b4374d961a21d4d9Frederic Crozat<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">
c840b37de865195a8742e219b4374d961a21d4d9Frederic Crozat <TITLE>Apache Server Frequently Asked Questions</TITLE>
c840b37de865195a8742e219b4374d961a21d4d9Frederic Crozat<!-- Background white, links blue (unvisited), navy (visited), red (active) -->
c840b37de865195a8742e219b4374d961a21d4d9Frederic Crozat BGCOLOR="#FFFFFF"
c840b37de865195a8742e219b4374d961a21d4d9Frederic Crozat TEXT="#000000"
c840b37de865195a8742e219b4374d961a21d4d9Frederic Crozat LINK="#0000FF"
c840b37de865195a8742e219b4374d961a21d4d9Frederic Crozat VLINK="#000080"
c840b37de865195a8742e219b4374d961a21d4d9Frederic Crozat ALINK="#FF0000"
c840b37de865195a8742e219b4374d961a21d4d9Frederic Crozat <!--#include virtual="header.html" -->
c840b37de865195a8742e219b4374d961a21d4d9Frederic Crozat <H1 ALIGN="CENTER">Apache Server Frequently Asked Questions</H1>
c840b37de865195a8742e219b4374d961a21d4d9Frederic Crozat $Revision: 1.116 $ ($Date: 1998/05/20 14:22:39 $)
c840b37de865195a8742e219b4374d961a21d4d9Frederic Crozat The latest version of this FAQ is always available from the main
14d9c0f09d1a55d124ef210a4b4e205c9fe7596cStéphane Graber Apache web site, at
c840b37de865195a8742e219b4374d961a21d4d9Frederic Crozat HREF="http://www.apache.org/docs/misc/FAQ.html"
c840b37de865195a8742e219b4374d961a21d4d9Frederic Crozat ><SAMP>http://www.apache.org/docs/misc/FAQ.html</SAMP></A>>.
c840b37de865195a8742e219b4374d961a21d4d9Frederic Crozat<!-- Notes about changes: -->
8ec981fc8b0105da5f071e40811e0c2472a6c3c9Stéphane Graber<!-- - If adding a relative link to another part of the -->
c63c04fcaf1c3a78c70500eae253d72fa9c8358aTAMUKI Shoichi<!-- documentation, *do* include the ".html" portion. There's a -->
c63c04fcaf1c3a78c70500eae253d72fa9c8358aTAMUKI Shoichi<!-- good chance that the user will be reading the documentation -->
c63c04fcaf1c3a78c70500eae253d72fa9c8358aTAMUKI Shoichi<!-- on his own system, which may not be configured for -->
8ec981fc8b0105da5f071e40811e0c2472a6c3c9Stéphane Graber<!-- multiviews. -->
8ec981fc8b0105da5f071e40811e0c2472a6c3c9Stéphane Graber<!-- - When adding items, make sure they're put in the right place -->
8ec981fc8b0105da5f071e40811e0c2472a6c3c9Stéphane Graber<!-- - verify that the numbering matches up. -->
8ec981fc8b0105da5f071e40811e0c2472a6c3c9Stéphane Graber<!-- - *Don't* use <PRE></PRE> blocks - they don't appear -->
8ec981fc8b0105da5f071e40811e0c2472a6c3c9Stéphane Graber<!-- correctly in a reliable way when this is converted to text -->
8ec981fc8b0105da5f071e40811e0c2472a6c3c9Stéphane Graber<!-- with Lynx. Use <DL><DD><CODE>xxx<BR>xx</CODE></DD></DL> -->
207bf0e475f1dc6e9a2dac2cee3a209b56427855Stéphane Graber<!-- blocks inside a <P></P> instead. This is necessary to get -->
207bf0e475f1dc6e9a2dac2cee3a209b56427855Stéphane Graber<!-- the horizontal and vertical indenting right. -->
207bf0e475f1dc6e9a2dac2cee3a209b56427855Stéphane Graber<!-- - Don't forget to include an HR tag after the last /P tag -->
36368228d286cd5c1492ae7aab92b4d78dbfb616Serge Hallyn<!-- but before the /LI in an item. -->
c840b37de865195a8742e219b4374d961a21d4d9Frederic Crozat If you are reading a text-only version of this FAQ, you may find numbers
c840b37de865195a8742e219b4374d961a21d4d9Frederic Crozat enclosed in brackets (such as "[12]"). These refer to the list of
c840b37de865195a8742e219b4374d961a21d4d9Frederic Crozat reference URLs to be found at the end of the document. These references
c840b37de865195a8742e219b4374d961a21d4d9Frederic Crozat do not appear, and are not needed, for the hypertext version.
c840b37de865195a8742e219b4374d961a21d4d9Frederic Crozat<!-- Stuff to Add: -->
a7273db9f87f59815d36c3eca4d4501304ae84b2Frederic Crozat<!-- - can't bind to port 80 -->
ba4c42597399c72fbb0b8f99e6ded79f738a6ac3Frederic Crozat<!-- - permission denied -->
c840b37de865195a8742e219b4374d961a21d4d9Frederic Crozat<!-- - address already in use -->
c840b37de865195a8742e219b4374d961a21d4d9Frederic Crozat<!-- - mod_auth & passwd lines "user:pw:.*" - ++1st colon onward is -->
c840b37de865195a8742e219b4374d961a21d4d9Frederic Crozat<!-- treated as pw, not just ++1st to --2nd. -->
c840b37de865195a8742e219b4374d961a21d4d9Frederic Crozat<!-- - SSL: -->
c840b37de865195a8742e219b4374d961a21d4d9Frederic Crozat<!-- - Can I use Apache-SSL for free in Canada? -->
c840b37de865195a8742e219b4374d961a21d4d9Frederic Crozat<!-- - Why can't I use Apache-SSL in the U.S.? -->
c840b37de865195a8742e219b4374d961a21d4d9Frederic Crozat<!-- - How can I found out how many visitors my site gets? -->
c840b37de865195a8742e219b4374d961a21d4d9Frederic Crozat<!-- - How do I add a counter? -->
c840b37de865195a8742e219b4374d961a21d4d9Frederic Crozat<!-- - How do I configure Apache as a proxy? -->
ba4c42597399c72fbb0b8f99e6ded79f738a6ac3Frederic Crozat<!-- - What browsers support HTTP/1.1? -->
ba4c42597399c72fbb0b8f99e6ded79f738a6ac3Frederic Crozat<!-- - What's the point of vhosts-by-name is there aren't any -->
c840b37de865195a8742e219b4374d961a21d4d9Frederic Crozat<!-- HTTP/1.1 browsers? -->
c840b37de865195a8742e219b4374d961a21d4d9Frederic Crozat<!-- - Is there an Apache for W95/WNT? -->
c840b37de865195a8742e219b4374d961a21d4d9Frederic Crozat<!-- - Why does Apache die when a vhost can't be DNS-resolved? -->
c840b37de865195a8742e219b4374d961a21d4d9Frederic Crozat<!-- - Why do I get "send lost connection" messages in my error -->
c840b37de865195a8742e219b4374d961a21d4d9Frederic Crozat<!-- - specifically consider .pdf files which seem to cause this -->
c840b37de865195a8742e219b4374d961a21d4d9Frederic Crozat<!-- a lot when accessed via the plugin ... and also mention -->
c840b37de865195a8742e219b4374d961a21d4d9Frederic Crozat<!-- how range-requests can cause bytes served < file size -->
c840b37de865195a8742e219b4374d961a21d4d9Frederic Crozat<!-- - Why do directory indexes appear as garbage? (A: -lucb) -->
c840b37de865195a8742e219b4374d961a21d4d9Frederic Crozat<!-- - How do I add a footer to all pages offered by my server? -->
c840b37de865195a8742e219b4374d961a21d4d9Frederic Crozat<!-- - Fix midi question; a bigger problem than midi vs. x-midi is -->
c840b37de865195a8742e219b4374d961a21d4d9Frederic Crozat<!-- the simple fact that older versions of Apache (and new ones -->
c840b37de865195a8742e219b4374d961a21d4d9Frederic Crozat<!-- that have been upgraded without upgrading the mime.types -->
c840b37de865195a8742e219b4374d961a21d4d9Frederic Crozat<!-- file) don't have the type listed at all. -->
c840b37de865195a8742e219b4374d961a21d4d9Frederic Crozat<!-- - Why is my .htaccess ignored? -->
c840b37de865195a8742e219b4374d961a21d4d9Frederic Crozat<!-- - RewriteRule /~fraggle/* /cgi-bin/fraggle.pl does not work -->
c840b37de865195a8742e219b4374d961a21d4d9Frederic Crozat<!-- - how do I disable authentication for a subdirectory? -->
44ee8a102e3d8052631fbb119f58a55ce678d039Frederic Crozat<!-- (A: you can't but "satisfy any; allow from all" can be close -->
c840b37de865195a8742e219b4374d961a21d4d9Frederic Crozat <LI><A HREF="#why">Why was Apache created?</A>
c840b37de865195a8742e219b4374d961a21d4d9Frederic Crozat <LI><A HREF="#relate">How does The Apache Group's work relate to
c840b37de865195a8742e219b4374d961a21d4d9Frederic Crozat other servers?</A>
c840b37de865195a8742e219b4374d961a21d4d9Frederic Crozat <LI><A HREF="#name">Why the name "Apache"?</A>
a7273db9f87f59815d36c3eca4d4501304ae84b2Frederic Crozat <LI><A HREF="#compare">OK, so how does Apache compare to other servers?</A>
a7273db9f87f59815d36c3eca4d4501304ae84b2Frederic Crozat <LI><A HREF="#tested">How thoroughly tested is Apache?</A>
36368228d286cd5c1492ae7aab92b4d78dbfb616Serge Hallyn <LI><A HREF="#future">What are the future plans for Apache?</A>
36368228d286cd5c1492ae7aab92b4d78dbfb616Serge Hallyn <LI><A HREF="#support">Whom do I contact for support?</A>
36368228d286cd5c1492ae7aab92b4d78dbfb616Serge Hallyn <LI><A HREF="#more">Is there any more information on Apache?</A>
36368228d286cd5c1492ae7aab92b4d78dbfb616Serge Hallyn <LI><A HREF="#where">Where can I get Apache?</A>
c840b37de865195a8742e219b4374d961a21d4d9Frederic Crozat <LI><A HREF="#what2do">"Why can't I ...? Why won't ...
c840b37de865195a8742e219b4374d961a21d4d9Frederic Crozat work?" What to do in case of problems</A>
c840b37de865195a8742e219b4374d961a21d4d9Frederic Crozat <LI><A HREF="#compatible">How compatible is Apache with my existing
c840b37de865195a8742e219b4374d961a21d4d9Frederic Crozat NCSA 1.3 setup?</A>
c840b37de865195a8742e219b4374d961a21d4d9Frederic Crozat <LI><A HREF="#CGIoutsideScriptAlias">How do I enable CGI execution
c840b37de865195a8742e219b4374d961a21d4d9Frederic Crozat in directories other than the ScriptAlias?</A>
c840b37de865195a8742e219b4374d961a21d4d9Frederic Crozat <LI><A HREF="#premature-script-headers">What does it mean when my
c840b37de865195a8742e219b4374d961a21d4d9Frederic Crozat CGIs fail with "<SAMP>Premature end of script
44ee8a102e3d8052631fbb119f58a55ce678d039Frederic Crozat <LI><A HREF="#ssi-part-i">How do I enable SSI (parsed HTML)?</A>
44ee8a102e3d8052631fbb119f58a55ce678d039Frederic Crozat <LI><A HREF="#ssi-part-ii">Why don't my parsed files get cached?</A>
44ee8a102e3d8052631fbb119f58a55ce678d039Frederic Crozat <LI><A HREF="#ssi-part-iii">How can I have my script output parsed?</A>
c840b37de865195a8742e219b4374d961a21d4d9Frederic Crozat <LI><A HREF="#proxy">Does or will Apache act as a Proxy server?</A>
c840b37de865195a8742e219b4374d961a21d4d9Frederic Crozat <LI><A HREF="#multiviews">What are "multiviews"?</A>
14d9c0f09d1a55d124ef210a4b4e205c9fe7596cStéphane Graber <LI><A HREF="#fdlim">Why can't I run more than <<EM>n</EM>>
c840b37de865195a8742e219b4374d961a21d4d9Frederic Crozat virtual hosts?</A>
c840b37de865195a8742e219b4374d961a21d4d9Frederic Crozat <LI><A HREF="#freebsd-setsize">Can I increase <SAMP>FD_SETSIZE</SAMP>
c840b37de865195a8742e219b4374d961a21d4d9Frederic Crozat on FreeBSD?</A>
f4936bf19c56a688eec182e1916c8b660e3a0058Jiri Slaby <LI><A HREF="#POSTnotallowed">Why do I keep getting "Method Not
f4936bf19c56a688eec182e1916c8b660e3a0058Jiri Slaby Allowed" for form POST requests?</A>
36368228d286cd5c1492ae7aab92b4d78dbfb616Serge Hallyn <LI><A HREF="#passwdauth">Can I use my <SAMP>/etc/passwd</SAMP> file
44ee8a102e3d8052631fbb119f58a55ce678d039Frederic Crozat for Web page authentication?</A>
cc33e055dd047af7b4cc8a226bb54b3b9c450152Jiri Slaby <LI><A HREF="#errordoc401">Why doesn't my <CODE>ErrorDocument
a7273db9f87f59815d36c3eca4d4501304ae84b2Frederic Crozat <LI><A HREF="#errordocssi">How can I use <CODE>ErrorDocument</CODE>
44ee8a102e3d8052631fbb119f58a55ce678d039Frederic Crozat and SSI to simplify customized error messages?</A>
44ee8a102e3d8052631fbb119f58a55ce678d039Frederic Crozat <LI><A HREF="#setgid">Why do I get "<SAMP>setgid: Invalid
44ee8a102e3d8052631fbb119f58a55ce678d039Frederic Crozat <LI><A HREF="#cookies1">Why does Apache send a cookie on every response?</A>
44ee8a102e3d8052631fbb119f58a55ce678d039Frederic Crozat <LI><A HREF="#cookies2">Why don't my cookies work, I even compiled in
a7273db9f87f59815d36c3eca4d4501304ae84b2Frederic Crozat <LI><A HREF="#jdk1-and-http1.1">Why do my Java app[let]s give me plain text
a7273db9f87f59815d36c3eca4d4501304ae84b2Frederic Crozat when I request an URL from an Apache server?</A>
36368228d286cd5c1492ae7aab92b4d78dbfb616Serge Hallyn <LI><A HREF="#putsupport">Why can't I publish to my Apache server
a7273db9f87f59815d36c3eca4d4501304ae84b2Frederic Crozat using PUT on Netscape Gold and other programs?</A>
a7273db9f87f59815d36c3eca4d4501304ae84b2Frederic Crozat <LI><A HREF="#fastcgi">Why isn't FastCGI included with Apache any
a7273db9f87f59815d36c3eca4d4501304ae84b2Frederic Crozat <LI><A HREF="#nodelay">Why am I getting "<SAMP>httpd: could not
a7273db9f87f59815d36c3eca4d4501304ae84b2Frederic Crozat set socket option TCP_NODELAY</SAMP>" in my error log?</A>
a7273db9f87f59815d36c3eca4d4501304ae84b2Frederic Crozat <LI><A HREF="#peerreset">Why am I getting "<SAMP>connection
a7273db9f87f59815d36c3eca4d4501304ae84b2Frederic Crozat reset by peer</SAMP>" in my error log?</A>
a7273db9f87f59815d36c3eca4d4501304ae84b2Frederic Crozat <LI><A HREF="#nph-scripts">How can I get my script's output without
a7273db9f87f59815d36c3eca4d4501304ae84b2Frederic Crozat Apache buffering it? Why doesn't my server push work?</A>
44ee8a102e3d8052631fbb119f58a55ce678d039Frederic Crozat <LI><A HREF="#linuxiovec">Why do I get complaints about redefinition
f4936bf19c56a688eec182e1916c8b660e3a0058Jiri Slaby of "<CODE>struct iovec</CODE>" when compiling under Linux?</A>
f4936bf19c56a688eec182e1916c8b660e3a0058Jiri Slaby <LI><A HREF="#wheres-the-dump">The errorlog says Apache dumped core,
44ee8a102e3d8052631fbb119f58a55ce678d039Frederic Crozat but where's the dump file?</A>
44ee8a102e3d8052631fbb119f58a55ce678d039Frederic Crozat <LI><A HREF="#dnsauth">Why isn't restricting access by host or domain name
44ee8a102e3d8052631fbb119f58a55ce678d039Frederic Crozat working correctly?</A>
c840b37de865195a8742e219b4374d961a21d4d9Frederic Crozat <LI><A HREF="#SSL-i">Why doesn't Apache include SSL?</A>
44ee8a102e3d8052631fbb119f58a55ce678d039Frederic Crozat <LI><A HREF="#HPUX-core">Why do I get core dumps under HPUX using
44ee8a102e3d8052631fbb119f58a55ce678d039Frederic Crozat HP's ANSI C compiler?</A>
d696d21c2a7d5d15b3a456edd8ba742a5970d40aFrederic Crozat <LI><A HREF="#midi">How do I get Apache to send a MIDI file so the
d696d21c2a7d5d15b3a456edd8ba742a5970d40aFrederic Crozat browser can play it?</A>
d696d21c2a7d5d15b3a456edd8ba742a5970d40aFrederic Crozat <LI><A HREF="#cantbuild">Why won't Apache compile with my
14d9c0f09d1a55d124ef210a4b4e205c9fe7596cStéphane Graber <LI><A HREF="#addlog">How do I add browsers and referrers to my logs?</A>
c840b37de865195a8742e219b4374d961a21d4d9Frederic Crozat <LI><A HREF="#bind8.1">Why do I get an error about an undefined
44ee8a102e3d8052631fbb119f58a55ce678d039Frederic Crozat reference to "<SAMP>__inet_ntoa</SAMP>" or other
c840b37de865195a8742e219b4374d961a21d4d9Frederic Crozat <LI><A HREF="#set-servername">Why does accessing directories only work
c840b37de865195a8742e219b4374d961a21d4d9Frederic Crozat when I include the trailing "/"
c840b37de865195a8742e219b4374d961a21d4d9Frederic Crozat (<EM>e.g.</EM>, <SAMP>http://foo.domain.com/~user/</SAMP>) but
c840b37de865195a8742e219b4374d961a21d4d9Frederic Crozat not when I omit it
c840b37de865195a8742e219b4374d961a21d4d9Frederic Crozat (<EM>e.g.</EM>, <SAMP>http://foo.domain.com/~user</SAMP>)?</A>
c840b37de865195a8742e219b4374d961a21d4d9Frederic Crozat <LI><A HREF="#user-authentication">How do I set up Apache to require
c840b37de865195a8742e219b4374d961a21d4d9Frederic Crozat a username and password to access certain documents?</A>
c840b37de865195a8742e219b4374d961a21d4d9Frederic Crozat <LI><A HREF="#remote-user-var">Why is the environment variable
6d8ac56b658a7aa35a46580c2df060c58ef02821Serge Hallyn <LI><A HREF="#remote-auth-only">How do I set up Apache to allow access
44d397891e691ab994a69766cc72e57265b62da1Serge Hallyn to certain documents only if a site is either a local site
c840b37de865195a8742e219b4374d961a21d4d9Frederic Crozat <EM>or</EM> the user supplies a password and username?</A>
c840b37de865195a8742e219b4374d961a21d4d9Frederic Crozat <LI><A HREF="#no-info-directives">Why doesn't mod_info list any
c840b37de865195a8742e219b4374d961a21d4d9Frederic Crozat directives?</A>
e29bf450cafa2ce2564aeb0b64d2014c17228407Dwight Engen <LI><A HREF="#linux-shmget">When I run it under Linux I get "shmget:
c840b37de865195a8742e219b4374d961a21d4d9Frederic Crozat function not found", what should I do?</A>
c840b37de865195a8742e219b4374d961a21d4d9Frederic Crozat <LI><A HREF="#authauthoritative">Why does my authentication give
17abf2784de1047fb2904ff130ee5efe4ea7b598Elan Ruusamäe me a server error?</A>
14d9c0f09d1a55d124ef210a4b4e205c9fe7596cStéphane Graber <LI><A HREF="#auth-on-same-machine">Do I have to keep the (mSQL)
14d9c0f09d1a55d124ef210a4b4e205c9fe7596cStéphane Graber authentication information on the same machine?</A>
14d9c0f09d1a55d124ef210a4b4e205c9fe7596cStéphane Graber <LI><A HREF="#msql-slow">Why is my mSQL authentication terribly slow?</A>
14d9c0f09d1a55d124ef210a4b4e205c9fe7596cStéphane Graber <LI><A HREF="#rewrite-more-config">Where can I find mod_rewrite rulesets
14d9c0f09d1a55d124ef210a4b4e205c9fe7596cStéphane Graber which already solve particular URL-related problems?</A>
14d9c0f09d1a55d124ef210a4b4e205c9fe7596cStéphane Graber <LI><A HREF="#rewrite-article">Where can I find any published information
14d9c0f09d1a55d124ef210a4b4e205c9fe7596cStéphane Graber about URL-manipulations and mod_rewrite?</A>
14d9c0f09d1a55d124ef210a4b4e205c9fe7596cStéphane Graber <LI><A HREF="#rewrite-complexity">Why is mod_rewrite so difficult to learn
14d9c0f09d1a55d124ef210a4b4e205c9fe7596cStéphane Graber and seems so complicated?</A>
14d9c0f09d1a55d124ef210a4b4e205c9fe7596cStéphane Graber <LI><A HREF="#rewrite-dontwork">What can I do if my RewriteRules don't work
14d9c0f09d1a55d124ef210a4b4e205c9fe7596cStéphane Graber as expected?</A>
14d9c0f09d1a55d124ef210a4b4e205c9fe7596cStéphane Graber <LI><A HREF="#rewrite-prefixdocroot">Why don't some of my URLs get
14d9c0f09d1a55d124ef210a4b4e205c9fe7596cStéphane Graber prefixed with DocumentRoot when using mod_rewrite?</A>
14d9c0f09d1a55d124ef210a4b4e205c9fe7596cStéphane Graber <LI><A HREF="#rewrite-nocase">How can I make all my URLs case-insensitive
14d9c0f09d1a55d124ef210a4b4e205c9fe7596cStéphane Graber with mod_rewrite?</A>
17abf2784de1047fb2904ff130ee5efe4ea7b598Elan Ruusamäe <LI><A HREF="#rewrite-virthost">Why are RewriteRules in my VirtualHost
c840b37de865195a8742e219b4374d961a21d4d9Frederic Crozat parts ignored?</A>
c840b37de865195a8742e219b4374d961a21d4d9Frederic Crozat <LI><A HREF="#rewrite-envwhitespace">How can I use strings with whitespaces
c840b37de865195a8742e219b4374d961a21d4d9Frederic Crozat in RewriteRule's ENV flag?</A>
c840b37de865195a8742e219b4374d961a21d4d9Frederic Crozat <LI><A HREF="#cgi-spec">Where can I find the "CGI
c840b37de865195a8742e219b4374d961a21d4d9Frederic Crozat specification"?</A>
c840b37de865195a8742e219b4374d961a21d4d9Frederic Crozat <LI><A HREF="#year2000">Is Apache Year 2000 compliant?</A>
a7273db9f87f59815d36c3eca4d4501304ae84b2Frederic Crozat <LI><A HREF="#namevhost">I upgraded to Apache 1.3b and now my
c01c25fcdd1e0cacad8075bcfcef4c8e8d4b8cb6Stéphane Graber virtual hosts don't work!</A>
c01c25fcdd1e0cacad8075bcfcef4c8e8d4b8cb6Stéphane Graber <LI><A HREF="#redhat">I'm using RedHat Linux and I have problems with httpd
c01c25fcdd1e0cacad8075bcfcef4c8e8d4b8cb6Stéphane Graber dying randomly or not restarting properly</A>
c01c25fcdd1e0cacad8075bcfcef4c8e8d4b8cb6Stéphane Graber <LI><A HREF="#stopping">I upgraded from an Apache version earlier
c01c25fcdd1e0cacad8075bcfcef4c8e8d4b8cb6Stéphane Graber than 1.2.0 and suddenly I have problems with Apache dying randomly
c01c25fcdd1e0cacad8075bcfcef4c8e8d4b8cb6Stéphane Graber or not restarting properly</A>
c01c25fcdd1e0cacad8075bcfcef4c8e8d4b8cb6Stéphane Graber <LI><A HREF="#redhat-htm">I'm using RedHat Linux and my .htm files are
c01c25fcdd1e0cacad8075bcfcef4c8e8d4b8cb6Stéphane Graber showing up as HTML source rather than being formatted!</A>
c01c25fcdd1e0cacad8075bcfcef4c8e8d4b8cb6Stéphane Graber <LI><A HREF="#glibc-crypt">I'm using RedHat Linux 5.0, or some other
c01c25fcdd1e0cacad8075bcfcef4c8e8d4b8cb6Stéphane Graber <SAMP>glibc</SAMP>-based Linux system, and I get errors with the
c01c25fcdd1e0cacad8075bcfcef4c8e8d4b8cb6Stéphane Graber <CODE>crypt</CODE> function when I attempt to build Apache 1.2.</A>
c01c25fcdd1e0cacad8075bcfcef4c8e8d4b8cb6Stéphane Graber <LI><A HREF="#nfslocking">Server hangs, or fails to start, and/or error log
c01c25fcdd1e0cacad8075bcfcef4c8e8d4b8cb6Stéphane Graber fills with "<SAMP>fcntl: F_SETLKW: No record locks
c01c25fcdd1e0cacad8075bcfcef4c8e8d4b8cb6Stéphane Graber available</SAMP>" or similar messages</A>
c01c25fcdd1e0cacad8075bcfcef4c8e8d4b8cb6Stéphane Graber <LI><A HREF="#zoom">What's the best hardware/operating system/... How do
a7273db9f87f59815d36c3eca4d4501304ae84b2Frederic Crozat I get the most out of my Apache Web server?</A>
a7273db9f87f59815d36c3eca4d4501304ae84b2Frederic Crozat <LI><A HREF="#regex">What are "regular expressions"?</A>
c840b37de865195a8742e219b4374d961a21d4d9Frederic Crozat Apache was originally based on code and ideas found in the most
c840b37de865195a8742e219b4374d961a21d4d9Frederic Crozat popular HTTP server of the time.. NCSA httpd 1.3 (early 1995). It has
c840b37de865195a8742e219b4374d961a21d4d9Frederic Crozat since evolved into a far superior system which can rival (and probably
c840b37de865195a8742e219b4374d961a21d4d9Frederic Crozat surpass) almost any other UNIX based HTTP server in terms of functionality,
c840b37de865195a8742e219b4374d961a21d4d9Frederic Crozat efficiency and speed.
c840b37de865195a8742e219b4374d961a21d4d9Frederic Crozat Since it began, it has been completely rewritten, and includes many new
c840b37de865195a8742e219b4374d961a21d4d9Frederic Crozat features. Apache is, as of January 1997, the most popular WWW server on
c840b37de865195a8742e219b4374d961a21d4d9Frederic Crozat the Internet, according to the
c840b37de865195a8742e219b4374d961a21d4d9Frederic Crozat <A HREF="http://www.netcraft.com/Survey/">Netcraft Survey</A>.
c840b37de865195a8742e219b4374d961a21d4d9Frederic Crozat To address the concerns of a group of WWW providers and part-time httpd
c840b37de865195a8742e219b4374d961a21d4d9Frederic Crozat programmers that httpd didn't behave as they wanted it to behave.
c840b37de865195a8742e219b4374d961a21d4d9Frederic Crozat Apache is an entirely volunteer effort, completely funded by its
14d9c0f09d1a55d124ef210a4b4e205c9fe7596cStéphane Graber members, not by commercial sales.
c840b37de865195a8742e219b4374d961a21d4d9Frederic Crozat <STRONG>How does The Apache Group's work relate to other
c840b37de865195a8742e219b4374d961a21d4d9Frederic Crozat server efforts, such as NCSA's?</STRONG>
c840b37de865195a8742e219b4374d961a21d4d9Frederic Crozat We, of course, owe a great debt to NCSA and their programmers for
c840b37de865195a8742e219b4374d961a21d4d9Frederic Crozat making the server Apache was based on. We now, however, have our own
14d9c0f09d1a55d124ef210a4b4e205c9fe7596cStéphane Graber server, and our project is mostly our own. The Apache Project is an
c840b37de865195a8742e219b4374d961a21d4d9Frederic Crozat entirely independent venture.
14d9c0f09d1a55d124ef210a4b4e205c9fe7596cStéphane Graber <STRONG>Why the name "Apache"?</STRONG>
14d9c0f09d1a55d124ef210a4b4e205c9fe7596cStéphane Graber A cute name which stuck. Apache is "<STRONG>A
14d9c0f09d1a55d124ef210a4b4e205c9fe7596cStéphane Graber PA</STRONG>t<STRONG>CH</STRONG>y server". It was
14d9c0f09d1a55d124ef210a4b4e205c9fe7596cStéphane Graber based on some existing code and a series of "patch files".
c840b37de865195a8742e219b4374d961a21d4d9Frederic Crozat <STRONG>OK, so how does Apache compare to other servers?</STRONG>
c840b37de865195a8742e219b4374d961a21d4d9Frederic Crozat For an independent assessment, see
c840b37de865195a8742e219b4374d961a21d4d9Frederic Crozat <A HREF="http://webcompare.internet.com/chart.html">Web Compare</A>'s
c840b37de865195a8742e219b4374d961a21d4d9Frederic Crozat comparison chart.
c840b37de865195a8742e219b4374d961a21d4d9Frederic Crozat Apache has been shown to be substantially faster than many other
c840b37de865195a8742e219b4374d961a21d4d9Frederic Crozat free servers. Although certain commercial servers have claimed to
c840b37de865195a8742e219b4374d961a21d4d9Frederic Crozat surpass Apache's speed (it has not been demonstrated that any of these
c840b37de865195a8742e219b4374d961a21d4d9Frederic Crozat "benchmarks" are a good way of measuring WWW server speed at any
c840b37de865195a8742e219b4374d961a21d4d9Frederic Crozat rate), we feel that it is better to have a mostly-fast free server
c840b37de865195a8742e219b4374d961a21d4d9Frederic Crozat than an extremely-fast server that costs thousands of dollars. Apache
c840b37de865195a8742e219b4374d961a21d4d9Frederic Crozat is run on sites that get millions of hits per day, and they have
c840b37de865195a8742e219b4374d961a21d4d9Frederic Crozat experienced no performance difficulties.
14d9c0f09d1a55d124ef210a4b4e205c9fe7596cStéphane Graber <STRONG>How thoroughly tested is Apache?</STRONG>
c840b37de865195a8742e219b4374d961a21d4d9Frederic Crozat Apache is run on over 500,000 Internet servers (as of July 1997). It has
c840b37de865195a8742e219b4374d961a21d4d9Frederic Crozat been tested thoroughly by both developers and users. The Apache Group
c840b37de865195a8742e219b4374d961a21d4d9Frederic Crozat maintains rigorous standards before releasing new versions of their
c840b37de865195a8742e219b4374d961a21d4d9Frederic Crozat server, and our server runs without a hitch on over one third of all
c840b37de865195a8742e219b4374d961a21d4d9Frederic Crozat WWW servers available on the Internet. When bugs do show up, we
c840b37de865195a8742e219b4374d961a21d4d9Frederic Crozat release patches and new versions as soon as they are available.
c840b37de865195a8742e219b4374d961a21d4d9Frederic Crozat The Apache project's web site includes a page with a partial list of
c840b37de865195a8742e219b4374d961a21d4d9Frederic Crozat <A HREF="http://www.apache.org/info/apache_users.html">sites running
c840b37de865195a8742e219b4374d961a21d4d9Frederic Crozat <STRONG>What are the future plans for Apache?</STRONG>
c840b37de865195a8742e219b4374d961a21d4d9Frederic Crozat <LI>to continue as a public domain HTTP server,
c840b37de865195a8742e219b4374d961a21d4d9Frederic Crozat <LI>to keep up with advances in HTTP protocol and web developments in
1881820ae4ff9004beef1bf7f04553580840441dSerge Hallyn <LI>to collect suggestions for fixes/improvements from its users,
1897e3bcd36af9f3fe6d3649910a9adb93e5e988Serge Hallyn <LI>to respond to needs of large volume providers as well as
853d58fdf5af0960b7b6edc9dea0fadddb8535f1Elan Ruusamäe occasional users.
c840b37de865195a8742e219b4374d961a21d4d9Frederic Crozat <STRONG>Whom do I contact for support?</STRONG>
c840b37de865195a8742e219b4374d961a21d4d9Frederic Crozat There is no official support for Apache. None of the developers want to
c840b37de865195a8742e219b4374d961a21d4d9Frederic Crozat be swamped by a flood of trivial questions that can be resolved elsewhere.
c840b37de865195a8742e219b4374d961a21d4d9Frederic Crozat Bug reports and suggestions should be sent <EM>via</EM>
c840b37de865195a8742e219b4374d961a21d4d9Frederic Crozat <A HREF="http://www.apache.org/bug_report.html">the bug report page</A>.
c840b37de865195a8742e219b4374d961a21d4d9Frederic Crozat Other questions should be directed to the
c840b37de865195a8742e219b4374d961a21d4d9Frederic Crozat <A HREF="news:comp.infosystems.www.servers.unix"
c840b37de865195a8742e219b4374d961a21d4d9Frederic Crozat >comp.infosystems.www.servers.unix</A> or <A HREF=
c840b37de865195a8742e219b4374d961a21d4d9Frederic Crozat "news:comp.infosystems.www.servers.ms-windows"
c840b37de865195a8742e219b4374d961a21d4d9Frederic Crozat >comp.infosystems.www.servers.ms-windows</A>
c840b37de865195a8742e219b4374d961a21d4d9Frederic Crozat newsgroup (as appropriate for the platform you use), where some of the
c840b37de865195a8742e219b4374d961a21d4d9Frederic Crozat Apache team lurk, in the company of many other httpd gurus who
c840b37de865195a8742e219b4374d961a21d4d9Frederic Crozat should be able to help.
c840b37de865195a8742e219b4374d961a21d4d9Frederic Crozat Commercial support for Apache is, however, available from a number
c840b37de865195a8742e219b4374d961a21d4d9Frederic Crozat of third parties.
CustomLog logs/access_log "%h %l %u %t \"%r\" %s %b \"%{Referer}i\" \"%{User-Agent}i\""
either are accessing the site from a host under domain.com or
allow from .domain.com
URL to match this directory, i.e. there must be no root directory named
Apache config file parser, i.e. the third argument of the RewriteRule here.
RedHat Linux versions 4.x (and possibly earlier) RPMs contain
pick up a more recent RPM for Apache 1.2.x. This will solve one of
the broken scripts were necessary with Apache 1.1.x because the
Linux support in 1.1.x was very poor, and there were various race
HREF="http://www.perl.com/CPAN-local/doc/manual/html/pod/perlre.html#Version_8_Regular_Expresions">CPAN
<!--#include virtual="footer.html" -->