Getting Started

Getting Started If you're completely new to the Apache HTTP Server, or even to running a website at all, you might not know where to start, or what questions to ask. This document walks you through the basics. Clients, Servers, and URLs Addresses on the Web are expressed with URLs - Uniform Resource Locators - which specify a protocol (e.g. http), a servername (e.g. www.apache.org), a URL-path (e.g. /docs/current/getting-started.html), and possibly a query string (e.g. ?arg=value) used to

Filters

Filters This document describes the use of filters in Apache. Filtering in Apache 2 Related Modules Related Directives mod_filter mod_deflate mod_ext_filter mod_include mod_charset_lite mod_reflector mod_buffer mod_data mod_ratelimit mod_reqtimeout mod_request mod_sed mod_substitute mod_xml2enc mod_proxy_html FilterChain FilterDeclare FilterProtocol FilterProvider AddInputFilter AddOutputFilter RemoveInputFilter RemoveOutputFilter ReflectorHeader ExtFilterDefine ExtFilterOptions SetInputF

File Descriptor Limits

File Descriptor Limits When using a large number of Virtual Hosts, Apache may run out of available file descriptors (sometimes called file handles) if each Virtual Host specifies different log files. The total number of file descriptors used by Apache is one for each distinct error log file, one for every other log file directive, plus 10-20 for internal use. Unix operating systems limit the number of file descriptors that may be used by a process; the limit is typically 64, and may usually be

fcgistarter

fcgistarter - Start a FastCGI program Note Currently only works on Unix systems. Synopsis fcgistarter -c command -p port [ -i interface ] -N num Options -c command FastCGI program -p port Port which the program will listen on -i interface Interface which the program will listen on -N num Number of instances of the program

Expressions in Apache HTTP Server

Expressions in Apache HTTP Server Historically, there are several syntax variants for expressions used to express a condition in the different modules of the Apache HTTP Server. There is some ongoing effort to only use a single variant, called ap_expr, for all configuration directives. This document describes the ap_expr expression parser. The ap_expr expression is intended to replace most other expression variants in HTTPD. For example, the deprecated SSLRequire expressions can be replaced b

Environment Variables

Environment Variables in Apache There are two kinds of environment variables that affect the Apache HTTP Server. First, there are the environment variables controlled by the underlying operating system. These are set before the server starts. They can be used in expansions in configuration files, and can optionally be passed to CGI scripts and SSI using the PassEnv directive. Second, the Apache HTTP Server provides a mechanism for storing information in named variables that are also called env

Dynamically Configured Mass Virtual Hosting

Dynamically Configured Mass Virtual Hosting This document describes how to efficiently serve an arbitrary number of virtual hosts with the Apache HTTP Server. A separate document discusses using mod_rewrite to create dynamic mass virtual hosts. Motivation The techniques described here are of interest if your httpd.conf contains many <VirtualHost> sections that are substantially the same, for example: <VirtualHost 111.22.33.44> ServerName customer-1.example.

Dynamic Shared Object (DSO)

Dynamic Shared Object (DSO) Support The Apache HTTP Server is a modular program where the administrator can choose the functionality to include in the server by selecting a set of modules. Modules will be compiled as Dynamic Shared Objects (DSOs) that exist separately from the main httpd binary file. DSO modules may be compiled at the time the server is built, or they may be compiled and added at a later time using the Apache Extension Tool (apxs). Alternatively, the modules can be statically

Dynamic mass virtual hosts with mod_rewrite

Dynamic mass virtual hosts with mod_rewrite This document supplements the mod_rewrite reference documentation. It describes how you can use mod_rewrite to create dynamically configured virtual hosts. mod_rewrite is not the best way to configure virtual hosts. You should first consider the alternatives before resorting to mod_rewrite. See also the "how to avoid mod_rewrite document. Virtual Hosts For Arbitrary Hostnames Description: We want to automatically create a virtual host for every

Dynamic Content with CGI

Apache Tutorial: Dynamic Content with CGI Introduction Related Modules Related Directives mod_alias mod_cgi mod_cgid AddHandler Options ScriptAlias The CGI (Common Gateway Interface) defines a way for a web server to interact with external content-generating programs, which are often referred to as CGI programs or CGI scripts. It is a simple way to put dynamic content on your web site, using whatever programming language you're most familiar with. This document will be an introduction