Programmers and Mod Perl Programmers Using the Perl Programming Language
Total Page:16
File Type:pdf, Size:1020Kb
Webmaster in a Nutshell, 3rd Edition By Robert Eckstein, Stephen Spainhour Publisher: O'Reilly Pub Date: December 2002 ISBN: 0-596-00357-9 Table of Pages: 576 • Contents • Index • Reviews Reader • Reviews • Errata Copyright Preface Contents Conventions Used in This Book Comments and Questions Acknowledgments Chapter 1. The Web in a Nutshell Section 1.1. Clients and Servers Section 1.2. Uniform Resource Locators (URLs) Section 1.3. Web Content: HTML, XML, CGI, JavaScript, and PHP Section 1.4. The HTTP Protocol Section 1.5. Web Servers Section 1.6. Who Are the Webmasters? Section 1.7. Recommended Books Part I: HTML Chapter 2. HTML Overview Section 2.1. HTML Document Structure Section 2.2. HTML Syntax Section 2.3. XHTML Section 2.4. Dynamic Content Chapter 3. HTML Reference Section 3.1. Core Attributes Section 3.2. HTML Tag and Attribute Descriptions Chapter 4. Frames Section 4.1. Frame Layout Section 4.2. Nested Framesets Section 4.3. The <frame> Tag Section 4.4. Frame Targets Section 4.5. Frame Border Attributes Chapter 5. Tables Section 5.1. The <table> Tag Section 5.2. The <caption> Tag Section 5.3. The <tr> Tag Section 5.4. The <th> and <td> Tags Section 5.5. Border Color and Backgrounds Section 5.6. Advanced Table Tags Chapter 6. Forms Section 6.1. The <form> Tag Section 6.2. The <input> Tag Section 6.3. The <textarea> Tag Section 6.4. The <select> Tag Section 6.5. An Example Form Chapter 7. Character Entities Chapter 8. Color Names and Values Part II: CSS Chapter 9. Cascading Style Sheets Section 9.1. The Elements of Styles Section 9.2. Style Syntax Section 9.3. Style Properties Section 9.4. CSS Reference background background-attachment background-color background-image background-position background-repeat border border-bottom border-bottom-width border-color border-left border-left-width border-right border-right-width border-style border-top border-top-width border-width clear color display float font font-family font-size font-style font-variant font-weight height letter-spacing line-height list-style list-style-image list-style-position list-style-type margin margin-bottom margin-left margin-right margin-top padding padding-bottom padding-left padding-right padding-top text-align text-decoration text-indent text-transform vertical-align word-spacing white-space width Part III: XML Chapter 10. XML Section 10.1. XML Terminology Section 10.2. XML Reference Section 10.3. Entity and Character References Section 10.4. Document Type Definitions Section 10.5. The Extensible Stylesheet Language Section 10.6. XSLT Style Sheet Structure Section 10.7. Templates and Patterns Section 10.8. XSLT Elements Section 10.9. XPath Section 10.10. XPointer and XLink Part IV: JavaScript Chapter 11. JavaScript Section 11.1. Versions of JavaScript Section 11.2. Syntax Section 11.3. Client-Side JavaScript Section 11.4. JavaScript API Reference Anchor Applet Arguments Array Attr Boolean Comment DOMException DOMImplementation Date Document DocumentFragment Element Error Event Form Function Global History Image Input Layer Link Location Math Navigator Node Number Object Option RegExp Screen Select String Style Text Textarea Window Part V: CGI and Perl Chapter 12. CGI Overview Section 12.1. A Typical CGI Interaction Section 12.2. URL Encoding Section 12.3. Extra Path Information Section 12.4. CGI Environment Variables Chapter 13. Server Side Includes Section 13.1. Configuring the Apache Server for SSI Section 13.2. Basic SSI Directives Section 13.3. SSI Environment Variables Section 13.4. Configurable Time Formats for SSI Output Section 13.5. Conditional Statements Chapter 14. The CGI.pm Module Section 14.1. HTML Tag Generation Section 14.2. Importing Method Groups Section 14.3. Maintaining State Section 14.4. Named Parameters Section 14.5. Using JavaScript Features Section 14.6. Debugging Section 14.7. CGI.pm Reference Accept append auth_type autoEscape button checkbox checkbox_group cookie defaults delete delete_all dump end_html filefield header hidden image_button import_names isindex keywords nph param password_field path_info path_translated popup_menu radio_group raw_cookie ReadParse redirect referer remote_host remote_user request_method reset save script_name scrolling_list self_url start_html startform start_multipart_form submit textarea textfield url use_named_parameters user_agent user_name Chapter 15. Web Server Programming with mod_perl Section 15.1. Installing mod_perl Section 15.2. Design of mod_perl Section 15.3. mod_perl Handlers Section 15.4. Running CGI Scripts with mod_perl Section 15.5. Server Side Includes with mod_perl Section 15.6. <Perl> Sections Section 15.7. Apache:: Modules Section 15.8. The Perl API Part VI: PHP Chapter 16. PHP Section 16.1. Installation and Configuration Section 16.2. Embedding PHP in HTML Section 16.3. Language Syntax Section 16.4. Variables Section 16.5. Data Types Section 16.6. Expressions Section 16.7. Operators Section 16.8. Control Structures Section 16.9. Functions Section 16.10. Web-Related Variables Section 16.11. Sessions Section 16.12. Examples Section 16.13. Function Reference Part VII: HTTP Chapter 17. HTTP Section 17.1. Client Requests Section 17.2. Server Responses and Status Codes Section 17.3. HTTP Headers Section 17.4. Cookies Section 17.5. Media Types and Subtypes Part VIII: Server Configuration Chapter 18. Apache Configuration Section 18.1. Understanding Apache Section 18.2. Basic Server Configuration: Core Directives AcceptPathInfo AccessConfig AccessFileName AddDefaultCharSet AllowOverride AuthName AuthType CGIMapExtension ContentDigest DefaultType <Directory> <DirectoryMatch> DocumentRoot ErrorDocument ErrorLog FileETag <Files> <FilesMatch> ForceType Group HostNameLookups IdentityCheck <IfDefine> <IfModule> Include KeepAlive KeepAliveTimeOut <Limit> <LimitExcept> LimitRequestBody LimitRequestFields LimitRequestFieldsize LimitRequestLine LimitXMLRequestBody Listen ListenBacklog <Location> <LocationMatch> LockFile LogLevel MaxClients MaxKeepAliveRequests MaxMemFree MaxRequestsPerChild MaxSpareServers MinSpareServers NameVirtualHost Options PidFile require RLimitCPU RLimitMEM RLimitNPROC Satisfy ScoreBoardFile SendBufferSize ServerAdmin ServerAlias ServerName ServerPath ServerRoot ServerSignature ServerTokens ServerType SetHandler SetInputFilter SetOutputFilter StartServers TimeOut UseCanonicalName User <VirtualHost> Chapter 19. Apache Modules Section 19.1. mod_access Section 19.2. mod_actions Section 19.3. mod_alias Section 19.4. mod_auth Section 19.5. mod_auth_anon Section 19.6. mod_auth_dbm Section 19.7. mod_autoindex Section 19.8. mod_cern_meta Section 19.9. mod_cgi Section 19.10. mod_cgid Section 19.11. mod_dav Section 19.12. mod_deflate Section 19.13. mod_dir Section 19.14. mod_env Section 19.15. mod_example Section 19.16. mod_expires Section 19.17. mod_headers Section 19.18. mod_imap Section 19.19. mod_include Section 19.20. mod_info Section 19.21. mod_isapi Section 19.22. mod_log_config Section 19.23. mod_logio Section 19.24. mod_mime Section 19.25. mod_mime_magic Section 19.26. mod_negotiation Section 19.27. mod_proxy Section 19.28. mod_rewrite Section 19.29. mod_setenvif Section 19.30. mod_so Section 19.31. mod_speling Section 19.32. mod_ssl Section 19.33. mod_status Section 19.34. mod_suexec Section 19.35. mod_unique_id Section 19.36. mod_userdir Section 19.37. mod_usertrack Section 19.38. mod_vhost_alias Chapter 20. Web Performance Section 20.1. Client-Side Performance Section 20.2. HTML Authoring Section 20.3. Programming Section 20.4. Administration Section 20.5. Using Analysis.cgi to Find A Bottleneck Section 20.6. Monitoring Web Performance Using Perl Colophon Index Top Team-Fly Webmaster in a Nutshell, 3rd Edition By Robert Eckstein, Stephen Spainhour Table of Contents Copyright © 2003 O'Reilly & Associates, Inc. Printed in the United States of America. Published by O'Reilly & Associates, Inc., 1005 Gravenstein Highway North, Sebastopol, CA 95472. O'Reilly & Associates books may be purchased for educational, business, or sales promotional use. Online editions are also available for most titles (http://safari.oreilly.com). For more information, contact our corporate/institutional sales department: (800) 998-9938 or [email protected]. Nutshell Handbook, the Nutshell Handbook logo, and the O'Reilly logo are registered trademarks of O'Reilly & Associates, Inc. Java and all Java-based trademarks and logos are trademarks or registered trademarks of Sun Microsystems, Inc., in the United States and other countries. O'Reilly & Associates, Inc. is independent of Sun Microsystems. Microsoft, Visual Basic, Windows, and Windows NT are registered trademarks of Microsoft Corporation. Many of the designations used by manufacturers and sellers to distinguish their products are claimed as trademarks. Where those designations appear in this book, and O'Reilly & Associates, Inc. was aware of a trademark claim, the designations have been printed in caps or initial caps. The association between the image of a crab spider and the title Webmaster in a Nutshell is a trademark of O'Reilly & Associates, Inc. While every precaution has been taken in the preparation of this book, the publisher and authors assume no responsibility for errors or omissions, or for damages resulting from the use of the information contained herein. Team-Fly Top Team-Fly Webmaster in a Nutshell, 3rd Edition By Robert Eckstein, Stephen Spainhour Table of Contents Preface This book is for web developers, or anyone who works at the content end of the World Wide Web. Do you author or maintain web documents?