split-logfile

split-logfile - Split up multi-vhost logfiles This perl script will take a combined Web server access log file and break its contents into separate files. It assumes that the first field of each line is the virtual host identity, put there using the "%v" variable in LogFormat. Usage Create a log file with virtual host information in it: LogFormat "%v %h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-agent}i\"" combined_plus_vhost CustomLog logs/access_log combined_plus_vhost Log files

Server-Wide Configuration

Server-Wide Configuration This document explains some of the directives provided by the core server which are used to configure the basic operations of the server. Server Identification Related Modules Related Directives ServerName ServerAdmin ServerSignature ServerTokens UseCanonicalName UseCanonicalPhysicalPort The ServerAdmin and ServerTokens directives control what information about the server will be presented in server-generated documents such as error messages. The ServerTokens

Security Tips

Security Tips Some hints and tips on security issues in setting up a web server. Some of the suggestions will be general, others specific to Apache. Keep up to Date The Apache HTTP Server has a good record for security and a developer community highly concerned about security issues. But it is inevitable that some problems -- small or large -- will be discovered in software after it is released. For this reason, it is crucial to keep aware of updates to the software. If you have obtained y

rotatelogs

rotatelogs - Piped logging program to rotate Apache logs rotatelogs is a simple program for use in conjunction with Apache's piped logfile feature. It supports rotation based on a time interval or maximum size of the log. Synopsis rotatelogs [ -l ] [ -L linkname ] [ -p program ] [ -f ] [ -t ] [ -v ] [ -e ] [ -c ] [ -n number-of-files ] logfile rotationtime|filesize(B|K|M|G) [ offset ] Options -l Causes the use of local time rather than GMT as the base for the interval or for strftime(3)

RewriteRule Flags

RewriteRule Flags This document discusses the flags which are available to the RewriteRule directive, providing detailed explanations and examples. Introduction A RewriteRule can have its behavior modified by one or more flags. Flags are included in square brackets at the end of the rule, and multiple flags are separated by commas. RewriteRule pattern target [Flag1,Flag2,Flag3] Each flag (with a few exceptions) has a short form, such as CO, as well as a longer form, such as cookie. While i

Reverse Proxy Guide

Reverse Proxy Guide In addition to being a "basic" web server, and providing static and dynamic content to end-users, Apache httpd (as well as most other web servers) can also act as a reverse proxy server, also-known-as a "gateway" server. In such scenarios, httpd itself does not generate or host the data, but rather the content is obtained by one or several backend servers, which normally have no direct connection to the external network. As httpd receives a request from a client, the reques

Relevant Standards

Relevant Standards This page documents all the relevant standards that the Apache HTTP Server follows, along with brief descriptions. In addition to the information listed below, the following resources should be consulted: http://purl.org/NET/http-errata - HTTP/1.1 Specification Errata http://www.rfc-editor.org/errata.php - RFC Errata http://ftp.ics.uci.edu/pub/ietf/http/#RFC - A pre-compiled list of HTTP related RFCs Notice This document is not yet complete. HTTP Recommendat

Redirecting and Remapping with mod_rewrite

Redirecting and Remapping with mod_rewrite This document supplements the mod_rewrite reference documentation. It describes how you can use mod_rewrite to redirect and remap request. This includes many examples of common uses of mod_rewrite, including detailed descriptions of how each works. Note that many of these examples won't work unchanged in your particular server configuration, so it's important that you understand them, rather than merely cutting and pasting the examples into your confi

Programs

Server and Supporting Programs This page documents all the executable programs included with the Apache HTTP Server. Index httpd Apache hypertext transfer protocol server apachectl Apache HTTP server control interface ab Apache HTTP server benchmarking tool apxs APache eXtenSion tool configure Configure the source tree dbmmanage Create and update user authentication files in DBM format for basic authentication fcgistarter Start a FastCGI program htcacheclean Clean up the disk cache htdigest

Platform Specific Notes

Platform Specific Notes Microsoft Windows Using Apache This document explains how to install, configure and run Apache 2.4 under Microsoft Windows. See: Using Apache with Microsoft Windows Compiling Apache There are many important points before you begin compiling Apache. This document explain them. See: Compiling Apache for Microsoft Windows Unix Systems RPM Based Systems (Redhat / CentOS / Fedora) This document explains how to build, install, and run Apache 2.4 on systems suppor