Vous ne trouvez pas de réponse à votre problème ? Alors posez la question dans le forum. Souvenez-vous qu'il n'y a jamais de question bête, mais rester dans l'ignorance parce que l'on n'ose pas poser une question, ça c'est une erreur !


Apache cookbook


Apache cookbook

Prix public : 31,47 €

Commander
Prix exceptionnel Eyrolles :
29,9€


Auteur(s) :
K. coar
R. bowen

Editeur : O'Reilly
Date de parution : 18/12/2003
ISBN : 0-596-00191-6
EAN : 9780596001919
Voir la fiche complète de ce livre

Apache cookbook

Synopsis

Apache is far and away the most widely used web server platform in the world. Both free and rock-solid, it runs more than half of the world's web sites, ranging from huge e-commerce operations to corporate intranets and smaller hobby sites, and it continues to maintain its popularity, drawing new users all the time. If you work with Apache on a regular basis, you have plenty of documentation on installing and configuring your server, but where do you go for help with the day-to-day stuff, like adding common modules or fine-tuning your activity logging?

The Apache Cookbook is a collection of problems, solutions, and practical examples for webmasters, web administrators, programmers, and everyone else who works with Apache. For every problem addressed in the book, there's a worked-out solution or "recipe"--short, focused pieces of code that you can use immediately. But this book offers more than cut-and-paste code. You also get explanations of how and why the code works, so you can adapt the problem-solving techniques to similar situations.

The recipes in the Apache Cookbook range from simple tasks, such installing the server on Red Hat Linux or Windows, to more complex tasks, such as setting up name-based virtual hosts or securing and managing your proxy server. The two hundred plus recipes in the book cover additional topics such as:

  • Security
  • Aliases, Redirecting, and Rewriting
  • CGI Scripts, the suexec Wrapper, and other dynamic content techniques
  • Error Handling
  • SSL
  • Performance

The impressive collection of useful code in this book is a guaranteed timesaver for all Apache users, from novices to advanced practitioners. Instead of poking around mailing lists, online documentation, and other sources, you can rely on the Apache Cookbook for quick solutions to common problems, and then you can spend your time and energy where it matters most.

Contents

  • Installation
    • Installing from Red Hat Linux's Packages
    • Installing Apache on Windows
    • Downloading the Apache Sources
    • Building Apache from the Sources
    • Installing with ApacheToolbox
    • Starting, Stopping, and Restarting Apache
    • Uninstalling Apache
  • Adding Common Modules
    • Installing a Generic Third-Party Module
    • Installing mod_dav on a Unixish System
    • Installing mod_dav on Windows
    • Installing mod_perl on a Unixish System
    • Installing mod_php on a Unixish System
    • Installing mod_php on Windows
    • Installing the mod_snake Python Module
    • Installing mod_ssl
  • Logging
    • Getting More Details in Your Log Entries
    • Getting More Detailed Errors
    • Logging POST Contents
    • Logging a Proxied Client's IP Address
    • Logging Client MAC Addresses
    • Logging Cookies
    • Not Logging Image Requests from Local Pages
    • Logging Requests by Day or Hour
    • Rotating Logs on the First of the Month
    • Logging Hostnames Instead of IP Addresses
    • Maintaining Separate Logs for Each Virtual Host
    • Logging Proxy Requests
    • Logging Errors for Virtual Hosts to Multiple Files
    • Logging Server IP Addresses
    • Logging the Referring Page
    • Logging the Name of the Browser Software
    • Logging Arbitrary Request Header Fields
    • Logging Arbitrary Response Header Fields
    • Logging Activity to a MySQL Database
    • Logging to syslog
    • Logging User Directories
  • Virtual Hosts
    • Setting Up Name-Based Virtual Hosts
    • Designating One Name-Based Virtual Host as the Default
    • Setting Up Address-Based Virtual Hosts
    • Creating a Default Address-Based Virtual Host
    • Mixing Address-Based and Name-Based Virtual Hosts
    • Mass Virtual Hosting with mod_vhost_alias
    • Mass Virtual Hosting Using Rewrite Rules
    • SSL and Name-Based Virtual Hosts
    • Logging for Each Virtual Host
    • Splitting Up a LogFile
    • Port-Based Virtual Hosts
    • Displaying the Same Content on Several Addresses
  • Aliases, Redirecting, and Rewriting
    • Showing Highlighted PHP Source Without Symlinking
    • Mapping a URL to a Directory
    • Creating a New URL for Existing Content
    • Giving Users Their Own URL
    • Aliasing Several URLs with a Single Directive
    • Mapping Several URLs to the Same CGI Directory
    • Creating a CGI Directory for Each User
    • Redirecting to Another Location
    • Redirecting Several URLs to the Same Destination
    • Permitting Case-Insensitive URLs
    • Replacing Text in Requested URLs
    • Rewriting Path Information to CGI Arguments
    • Denying Access to Unreferred Requests
    • Rewriting Based on the Query String
    • Redirecting All-or Part-of Your Server to SSL
    • Turning Directories into Hostnames
    • Redirecting All Requests to a Single Host
    • Turning Document Names into Arguments
  • Security
    • Using System Account Information for Web Authentication
    • Setting Up Single-Use Passwords
    • Expiring Passwords
    • Limiting Upload Size
    • Restricting Images from Being Used Off-Site
    • Requiring Both Weak and Strong Authentication
    • Managing .htpasswd Files
    • Making Password Files for Digest Authentication
    • Relaxing Security in a Subdirectory
    • Lifting Restrictions Selectively
    • Authorizing Using File Ownership
    • Storing User Credentials in a MySQL Database
    • Accessing the Authenticated Username
    • Obtaining the Password Used to Authenticate
    • Preventing Brute-Force Password Attacks
    • Using Digest Versus Basic Authentication
    • Accessing Credentials Embedded in URLs
    • Securing WebDAV
    • Enabling WebDAV Without Making Files Writable by the Web User
    • Restricting Proxy Access to Certain URLs
    • Protecting Files with a Wrapper
    • Protecting All Files Except a Subset
    • Protecting Server Files from Malicious Scripts
    • Setting Correct File Permissions
    • Running a Minimal Module Set
    • Restricting Access to Files Outside Your Web Root
    • Limiting Methods by User
    • Restricting Range Requests
  • SSL
    • Installing SSL
    • Generating SSL Certificates
    • Generating a Trusted CA
    • Serving a Portion of Your Site via SSL
    • Authenticating with Client Certificates
  • Dynamic Content
    • Enabling a CGI Directory
    • Enabling CGI Scripts in Non-ScriptAliased Directories
    • Using Windows File Extensions to Launch CGI Programs
    • Using Extensions to Identify CGI Scripts
    • Testing That CGI Is Set Up Correctly
    • Reading Form Parameters
    • Invoking a CGI Program for Certain Content Types
    • Getting SSIs to Work
    • Displaying Last Modified Date
    • Including a Standard Header
    • Including the Output of a CGI Program
    • Running CGI Scripts as a Different User with suexec
    • Installing a mod_perl Handler from CPAN
    • Writing a mod_perl Handler
    • Enabling PHP Script Handling
    • Verifying PHP Installation
  • Error Handling
    • Handling a Missing Host Field
    • Changing the Response Status for CGI Scripts
    • Customized Error Messages
    • Providing Error Documents in Multiple Languages
    • Redirecting Invalid URLs to Some Other Page
    • Making Internet Explorer Display Your Error Page
    • Notification on Error Conditions
  • Proxies
    • Securing Your Proxy Server
    • Preventing Your Proxy Server from Being Used as an Open Mail Relay
    • Forwarding Requests to Another Server
    • Blocking Proxied Requests to Certain Places
    • Proxying mod_perl Content to Another Server
    • Configuring a Caching Proxy Server
    • Filtering Proxied Content
    • Requiring Authentication for a Proxied Server
  • Performance
    • Determining How Much Memory You Need
    • Benchmarking Apache with ab
    • Tuning Keepalive Settings
    • Getting a Snapshot of Your Site's Activity
    • Avoiding DNS Lookups
    • Optimizing Symbolic Links
    • Minimizing the Performance Impact of .htaccess Files
    • Disabling Content Negotiation
    • Optimizing Process Creation
    • Tuning Thread Creation
    • Caching Frequently Viewed Files
    • Sharing Load Between Servers Using mod_proxy
    • Distributing Load Evenly Between Several Servers
    • Caching Directory Listings
    • Speeding Up Perl CGI Programs with mod_perl
  • Miscellaneous Topics
    • Placing Directives Properly
    • Renaming .htaccess Files
    • Generating Directory/Folder Listings
    • Solving the "Trailing Slash" Problem
    • Setting the Content-Type According to Browser Capability
    • Handling Missing Host: Header Fields
    • Alternate Default Document
    • Setting Up a Default "Favicon"
  • A. Using Regular Expressions in Apache
  • B. Troubleshooting
  • Index

Commander ce livre au prix de 31,47 € 29,9 €

Classé sous : Apache, Cgi, Virtual, Logging, Installing



Commentaires des membres à propos du livre Apache cookbook

Aucun commentaire pour le moment.


Nos sponsors

Sondage...

CalendriCode

Juillet 2009
LMMJVSD
  12345
6789101112
13141516171819
20212223242526
2728293031  

Consulter la suite du CalendriCode

Comparez les prix Nouvelle version

Photothèque Nouveau !



Développement réalisé par Nicolas SOREL (Nix) avec l'aide de : Cyril DURAND et Emmanuel (EBArtSoft), Merci à Vincent pour ses précieux conseils
CodeS-SourceS.com© Toute reproduction même partielle est interdite sauf accord écrit du Webmaster
CodeS-SourceS.com© est une marque déposée tous droits réservés
Temps d'éxécution de la page : 0,125 sec

Google Coop CodeS-SourceS Google Coop CodeS-SourceS


Certaines images présentes sur le site (notament certains avatars) sont issues des collections IconShock, donc si vous souhaitez utiliser ces icons vous devez les acheter, ne les copiez pas et ne utilisez pas dans vos sites et applications sans les avoir commandé.