Apache: The Definitive Guide

Errata for Apache: The Definitive Guide

Submit your own errata for this product.


The errata list is a list of errors and their corrections that were found after the product was released. If the error was corrected in a later version or reprint the date of the correction will be displayed in the column titled "Date Corrected".

The following errata were submitted by our customers and approved as valid errors by the author or editor.

Color Key: Serious Technical Mistake Minor Technical Mistake Language or formatting error Typo Question Note Update



Version Location Description Submitted By Date Submitted Date Corrected
Printed
Page 4
6th line from the bottom: changed "then public" to "than public"

Anonymous    Mar 01, 1998
Printed
Page 11
code

Blank lines were added before "HTTP/1.1 200 OK" and before "<HTML>."

Anonymous    Feb 01, 2001
Printed
Page 16
3rd paragraph

next-to-last sentence now reads "those that are supplied as a standard Win32 DLL are marked..."

Anonymous    Feb 01, 2001
Printed
Page 20
last paragraph

Last sentence on page now reads: "The default action depends on your OS."

Anonymous    Feb 01, 2000
Printed
Page 27
4th paragraph:

change "hundred" to "hundreds"

Anonymous   
Printed
Page 30
The first line of the third code example

apachect1 should be apachectl "el" instead of "one".

Anonymous    May 01, 1999
Printed
Page 30
In the 2nd line of the para above the code

apachect1 now reads apachectl The letter "l" instead of the number "1".

Anonymous    Dec 01, 1999
Printed
Page 36

Used to read: When permissions apply to a directory, the "x" means scan, the ability to see the contents and move down a level. Now reads: When the permissions apply to a directory, the "x" means scan, the ability to enter the directory.

Anonymous    Dec 01, 1999
Printed
Page 52
Under <IfModule>

Added the sentence: "The module-name should be the name of the module's source file, e.g. mod_log_config.c".

Anonymous    Feb 01, 2000
Printed
Page 62
Deleted extra space in the heading "NameVirtualHost", and made it a B-heading.

Anonymous    Dec 01, 1999
Printed
Page 62
line before "IP-Based Virtual Hosts":

"IP" now reads "IP number"

Anonymous    Oct 01, 2000
Printed
Page 63
3rd code block

changed "ServerName sales.butterthlies-IP.com" to "ServerName sales-IP.butterthlies.com" removed "ServerName sales.butterthlies.com In text below, Line 3, changed "http://www.sales.com" to "http://sales.butterthlies.com"

Anonymous    Jul 01, 2000
Printed
Page 64
1st code

changed "ServerName sales.butterthlies.com" to "ServerName sales-IP.butterthlies.com" 2nd code: deleted the line, "ServerName sales.butterthlies.com"

Anonymous    Jul 01, 2000
Printed
Page 68
second prose paragraph:

should read "Now get into .../sales and again type:"

Anonymous   
Printed
Page 68
The "HeaderName" directive covered here should actually be the "Header"

directive (will be fixed in the 1/01 reprint). There should also be material on the "HeaderName" directive, but we can't insert this in a reprint -- it will be fixed in the next edition of this book. Here is the missing material: HeaderName HeaderName filename Server config, virtual host, directory, .htaccess The HeaderName directive sets the name of the file that will be inserted at the top of the index listing. Filename is the name of the file to include. Apache 1.3.6 and earlier: The module first attempts to include filename.html as an HTML document, otherwise it will try to include filename as plain text. Filename is treated as a filesystem path relative to the directory being indexed. In no case is SSI processing done. Example: HeaderName HEADER When indexing the directory /web, the server will first look for the HTML file /web/HEADER.html and include it if found, otherwise it will include the plain text file /web/HEADER, if it exists. Apache versions after 1.3.6: Filename is treated as a URI path relative to the one used to access the directory being indexed, and must resolve to a document with a major content type of "text" (e.g., text/html, text/plain, etc.). This means that filename may refer to a CGI script if the script's actual file type (as opposed to its output) is marked as text/html such as with a directive like: AddType text/html .cgi Content negotiation will be performed if the MultiViews option is enabled. If filename resolves to a static text/html document (not a CGI script) and the Includes option is enabled, the file will be processed for server-side includes (see the mod_include documentation). This directive needs mod_autoindex.

Anonymous   
Printed
Page 68
The "HeaderName" heading was changed to "Header." In the code block,

"HeaderName" was changed to "Header" twice. In the following paragraph, "HeaderName" was changed to "Header."

Anonymous    Feb 01, 2001
Printed
Page 71

The second paragraph used to read: The more trusting webmaster may be willing to concede FollowSymLinksIfOwnerMatch..." Now reads: SymLinksIfOwnerMatch

Anonymous    Dec 01, 1999
Printed
Page 76
line 3: changed "Harriet@@alart.demon.co.uk" to

"Harriet@alart.demon.co.uk" (removed the extra "@")

Anonymous    Sep 01, 1998
Printed
Page 78
1st code line -2:

changed >/body> to </body>

Anonymous    Jul 01, 2000
Printed
Page 79
1st par:

changed "The tag <METHOD>" to "The METHOD attribute"

Anonymous    Jul 01, 2000
Printed
Page 79
Unix code:

changed "/usr/www/cgi-bin/mycgi" to "/usr/www/cgi-bin/mycgi.cgi"

Anonymous    Jul 01, 2000
Printed
Page 79
Win32 code:

changed "/cgi-bin/mycgi.cgi" to "/cgi-bin/mycgi.bat" and "usrwwwcgi-binmycgi" to "usrwwwcgi-binmycgi.bat"

Anonymous    Jul 01, 2000
Printed
Page 79
Code under "Writing and Executing Scripts"

changed "...to access /cgi-bin/mycgi on ..." to "...to access /cgi-bin/mycgi.cgi on ..."

Anonymous    Jul 01, 2000
Printed
Page 85
Win32 code

removed the "echo" line (Line 3)

Anonymous    Jul 01, 2000
Printed
Page 85
last code, halfway down

changed HTTP_ACCEPT_LANGUAGE= to HTTP_ACCEPT_LANGUAGE=it and SCRIPT_FILENAME=/usr/www/cgi-bin/mycgi to SCRIPT_FILENAME=/usr/www/cgi-bin/mycgi.cgi

Anonymous    Jul 01, 2000
Printed
Page 87
last code:

moved first 4 lines: { printf("This... exit(1); } to right after the code line above that reads: if(strcmp(getenv("REQUEST_METHOD"),"POST")) This puts these lines the third code block on the page, which now reads: if(strcmp(getenv("REQUEST_METHOD"),"POST")) { printf("This... exit(1); }

Anonymous    Jul 01, 2000
Printed
Page 101
2nd code: deleted blank in "deny, allow"

Anonymous    Jul 01, 2000
Printed
Page 108
first and third lines under "Passwords Under Unix"

"users" now reads "sales".

Anonymous    Oct 01, 2000
Printed
Page 114
2 paragraphs up from the bottom of the page

The lines: AuthDBMUserFile /usr/www/ok_dbm/sales AuthDBMGroupFile /usr/www/ok_dbm/sales now read: AuthDBMUserFile /usr/www/ok_dbm/users AuthDBMGroupFile /usr/www/ok_dbm//users because the db specified by the dbmmanage command was: dbmmanage /usr/www/ok_dbm/users.db

Anonymous    Feb 01, 2001
Printed
Page 116
Deny from env--2nd last line in code:

did read: "deny from go_away" now reads: "deny from env=go_away"

Anonymous    Feb 01, 2000
Printed
Page 117
in "deny,allow":

added the sentence "This is the default." to the end of entry.

Anonymous    Jul 01, 2000
Printed
Page 124
paragraph under "Automatic User Information"

The sentence "This can be done..." now reads "This can be done by looking at <CW>REMOTE_USER</CW>, which is set to the current user name."

Anonymous    Feb 01, 2001
Printed
Page 127
line 2

AccessFilename .myaccess now reads: AccessFileName .myaccess

Anonymous    Feb 01, 2001
Printed
Page 129

Deleted the section describing AuthUserFile. The section describing FileInfo now reads: FileInfo Allows AddType, AddEncoding, AddLanguage, AddCharset, AddHandler, RemoveHandler, LanguagePriority, ErrorDocument, DefaultType, Action, Redirect, RedirectMatch, RedirectTemp, RedirectPermanent, PassEnv, SetEnv, UnsetEnv, Header, RewriteEnging, RewriteOptions, RewriteBase, RewriteCond, RewriteRule, CookieTracking, and CookieName.

Anonymous    Feb 01, 2000
Printed
Page 135
par. before "Language Negotiation":

"multiViews" now reads "MultiViews"

Anonymous    Oct 01, 2000
Printed
Page 139
"URI: uri"

Changed "URI: uri" to "URI: uri [; vary=variations]

Anonymous    Jul 01, 2000
Printed
Page 140
code and par before:

Spurious HTML tags (<b> </b> <tt> </tt>) were deleted; "accept-type" was typeset in constant-width.

Anonymous    Oct 01, 2000
Printed
Page 141
code:

Changed the line: FancyIndexing on to: IndexOptions FancyIndexing

Anonymous    Jul 01, 2000
Printed
Page 143
SuppressColumnSorting

Added "(Apache 1.3 and later") to the list entry in italic; deleted last sentence.

Anonymous    Oct 01, 2000
Printed
Page 157
code block under "ImapMenu"

The following line was added: Default: formatted between the two current lines.

Anonymous    Oct 01, 2000
Printed
Page 162
In the 4th paragraph, the URL reference is missing the

second "l" in "engelschall." It read: http://www.engelschal.com/pw/apache/rewriteguide/ It now reads: http://www.engelschall.com/pw/apache/rewriteguide/

Anonymous    May 01, 1999
Printed
Page 169
1st code:

changed "cardinfo/" to "cardinfo?" added blank before "[PT]"

Anonymous    Jul 01, 2000
Printed
Page 177
Last line of code

did read: GET http://192.168.123.1/ HTTP/1.0 now reads: GET http://192.168.124.1/ HTTP/1.0

Anonymous    Feb 01, 2000
Printed
Page 184
1st code and par after: added "/" before "cgi-bin" (3 instances)

Anonymous    Jul 01, 2000
Printed
Page 185
Under the section "XSSI" the first example stated

<tt>&lt;!--#flastmod ... -->. Now reads: <!--#flastmod ... -->

Anonymous    Dec 01, 1999
Printed
Page 187
code

changed "order deny, allow" to "order deny,allow" (2 instances)

Anonymous    Jul 01, 2000
Printed
Page 192
first line under "CustomLog" heading:

"LogFormat" now reads "CustomLog".

Anonymous    Oct 01, 2000
Printed
Page 227
The second and third examples (calling ssleay) were wrong.

The second example now reads: % ssleay rsa -in privkey.pem -out new3.cert.key The third example now reads: % ssleay x509 -in new3.cert.csr -out new3.cert.csr -req signkey privkey.pem

Anonymous    Dec 01, 1999
Printed
Page 229
End of code

line -5: now has a space after "CustomLog" line -1: now has a space after "ScriptAlias"

Anonymous    Feb 01, 2000
Printed
Page 242
-2.3 [get_module_config()]

now reads: ap_get_module_config()

Anonymous    Feb 01, 2000
Printed
Page 248
4.3 [copy_array_header()]

now reads: ap_copy_array_hdr()

Anonymous    Feb 01, 2000
Printed
Page 250
bottom of 1st column: entry added

graceful restart, 45

Anonymous    Oct 01, 1997
Printed
Page 250

ap_table_do description now reads: If the NULL terminated vararg list is empty, traverses the whole table and runs the function comp(rec,key,value) on each key/value pair. If the vararg list is non-empty, traverses the matching keys (strcasecmp() is used to determine a match) and runs the same function. Each traversal is terminated if the function comp returns the value 0. In either case it may happen that the comp() function is called multiple times for the same key. The table may contain various entries of the same key; and if the vararg list is non-empty, the traversal is repeated for any vararg item, even if they are equal.

Anonymous    Feb 01, 2000
Printed
Page 251
3 [cleanup_for_exec(void)]

now reads: ap_cleanup_for_exec(void)

Anonymous    Feb 01, 2000
Printed
Page 251
4 [note_cleanups_for_fd...]

now reads: ap_note_cleanups_for_fd...

Anonymous    Feb 01, 2000
Printed
Page 251
5 [kill_cleanups_for_fd...]

now reads: ap_kill_cleanups_for_fd...

Anonymous    Feb 01, 2000
Printed
Page 257
last para.: after "and Garamond Book." added "The CD design

was created by Hanna Dyer."; also, added the following to the end of the para.: Whenever possible, our books use RepKover (tm), a durable and flexible lay-flat binding. If the page count exceeds RepKover's limit, perfect binding is used.

Anonymous    Oct 01, 1997
Printed
Page 264

ap_pvsprintf: description now reads: "Similar to ap_psprintf(), ..."

Anonymous    Feb 01, 2000
Printed
Page 271
last 2 paragraphs

now reads: ap_sub_req_lookup... (3 instances)

Anonymous    Feb 01, 2000
Printed
Page 272
1st paragraph

now reads: ap_sub_req_lookup... (2 instances)

Anonymous    Feb 01, 2000
Printed
Page 297
Mid of page, http_config.h code, 6th line

there is now an asterisk before the slash

Anonymous    Feb 01, 2000
Printed
Page 332

Entry for Zyzzyva Enterprises now reads: Covalent Technologies, Inc. Services : Internet commerce solutions, commercial software and security development, and full technical support. Address : 1200 N Street, Ste.12, Lincoln, NE 68508 Phone : (402) 441-5710 Fax : (402) 441-5720 Email : info@covalent.net Web site : http://www.covalent.net/

Anonymous    Feb 01, 2000
Printed
Page 339

Used to read: http://home.netscape.com/newsref/std/ssl.html Now reads: http://home.netscape.com/eng/ssl3/ssl-toc.html

Anonymous    Dec 01, 1999
Printed
Page 341
Last sentence before header "Diffie Hellman ..."

"ServerHello.random" is now in italic. INDEX:

Anonymous    Feb 01, 2000
Printed
Page 359
Deleted "DMB files" and moved its page numbers to "DBM files"

Anonymous    Feb 01, 2000
Printed
Page 361
Under "groups":

subentry "ASI functions" now reads "API functions"

Anonymous    Feb 01, 2000
Printed
Page 362
Under "isapi-isa":

"hander" now reads "handler"

Anonymous    Feb 01, 2000
Printed
Page 368
Under "troubleshooting":

subentry "prerun mixups" now reads "prerun fixups"

Anonymous    Feb 01, 2000