Sams Teach Yourself Apache 2 in 24 Hours

Sams Teach Yourself Apache 2 in 24 Hours

Language: English

Pages: 496

ISBN: 0672323559

Format: PDF / Kindle (mobi) / ePub


Sams Teach Yourself Apache in 24 Hours covers the installation, configuration, and ongoing administration of the Apache Web server, the most popular Internet Web server. It covers both the 1.3 and the new 2.0 versions of Apache.

Using a hands-on, task-oriented format, it concentrates on the most popular features and common quirks of the server.

The first part of the book helps the reader build, configure, and get started with Apache. After completing these chapters the reader will be able to start, stop, and monitor the Web server. He also will be able to serve both static content and dynamic content, customize the logs, and restrict access to certain parts of the Web server.

The second part of the book explains in detail the architecture of Apache and how to extend the server via third-party modules like PHP and Tomcat. It covers server performance and scalability, content management, and how to set up a secure server with SSL.

Cybersex: The Dark Side of the Force: A Special Issue of the Journal Sexual Addiction and Compulsion

Introduction to Networking Basics

Linux 3-D Graphics Programming

Matplotlib Plotting Cookbook

Blackhatonomics: An Inside Look at the Economics of Cybercrime

Sed & awk (2nd Edition)

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

port combination, Apache will not be able to start successfully. You will get an entry in the error log file indicating that Apache cannot bind to the port: [crit] (48)Address already in use: make_sock: could not bind to ➥address 10.0.0.2:80 [alert] no listening sockets available, shutting down 4 68 Hour 4 To solve this problem, you need to stop the running server or change the Apache configuration to listen in a different port. No Permission to Bind to Port You will get an error if you do

..................................................................................................105 HOUR 7 Restricting Access 107 Authentication ....................................................................................................107 Client Authentication ..........................................................................................108 User Management ..........................................................................................109 Apache Authentication

one of two situations will occur: • If the module specifies its results as authoritative, the user will be denied access and Apache will return an error. • If the module specifies its results as not authoritative, other modules can have a chance of authenticating the user. This enables you to have a main authorization module that knows about most users, and to be able to have additional modules that can authenticate the rest of the users. File-Based Authentication The mod_auth Apache module

on and extends HTTP. It is covered in Hour 13, “Publishing Extensions.” The section provides complementary functionality, containing directives that will apply to requests not containing the listed methods. Listing 7.8 shows an example from the default Apache configuration file. The and sections allow read-only methods, but deny requests to any other methods that can modify the content of the file system, such as PUT. LISTING 7.8 Restricting Access Based on

later in the hour. Additionally, the result will be passed to CGI scripts via the environment variable REMOTE_HOST. The IdentityCheck Directive At the beginning of the hour, it is explained how to log the remote username via the identd protocol using the %l log formatting directive. The IdentityCheck directive takes a value of on or off to enable or disable checking for that value and making it available for inclusion in the logs. Since the information is not reliable and takes a long time to

Download sample

Download

About admin