Using Apache HTTP Server on Microsoft Windows

Using Apache HTTP Server on Microsoft Windows This document explains how to install, configure and run Apache 2.4 under Microsoft Windows. If you have questions after reviewing the documentation (and any event and error logs), you should consult the peer-supported users' mailing list. This document assumes that you are installing a binary distribution of Apache. If you want to compile Apache yourself (possibly to help with development or tracking down bugs), see Compiling Apache for Microsoft

mod_info

Apache Module mod_info Description: Provides a comprehensive overview of the server configuration Status: Extension ModuleIdentifier: info_module SourceFile: mod_info.c Summary To configure mod_info, add the following to your httpd.conf file. <Location "/server-info"> SetHandler server-info </Location> You may wish to use mod_authz_host inside the <Location> directive to limit access to your server configuration information: <Location "/server-info"> SetHandle

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

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

dbmmanage

dbmmanage - Manage user authentication files in DBM format dbmmanage is used to create and update the DBM format files used to store usernames and password for basic authentication of HTTP users via mod_authn_dbm. Resources available from the Apache HTTP server can be restricted to just the users listed in the files created by dbmmanage. This program can only be used when the usernames are stored in a DBM file. To use a flat-file database see htpasswd. Another tool to maintain a DBM password d

mod_dir

Apache Module mod_dir Description: Provides for "trailing slash" redirects and serving directory index files Status: Base ModuleIdentifier: dir_module SourceFile: mod_dir.c Summary The index of a directory can come from one of two sources: A file written by the user, typically called index.html. The DirectoryIndex directive sets the name of this file. This is controlled by mod_dir. Otherwise, a listing generated by the server. This is provided by mod_autoindex. The two functions are separa

mod_authz_host

Apache Module mod_authz_host Description: Group authorizations based on host (name or IP address) Status: Base ModuleIdentifier: authz_host_module SourceFile: mod_authz_host.c Compatibility: The forward-dns provider was addded in 2.4.19 Summary The authorization providers implemented by mod_authz_host are registered using the Require directive. The directive can be referenced within a <Directory>, <Files>, or <Location> section as well as .htaccess files to control access t

IP-based Virtual Host

Apache IP-based Virtual Host Support What is IP-based virtual hosting IP-based virtual hosting is a method to apply different directives based on the IP address and port a request is received on. Most commonly, this is used to serve different websites on different ports or interfaces. In many cases, name-based virtual hosts are more convenient, because they allow many virtual hosts to share a single address/port. See Name-based vs. IP-based Virtual Hosts to help you decide. System requi

mod_mime

Apache Module mod_mime Description: Associates the requested filename's extensions with the file's behavior (handlers and filters) and content (mime-type, language, character set and encoding) Status: Base ModuleIdentifier: mime_module SourceFile: mod_mime.c Summary This module is used to assign content metadata to the content selected for an HTTP response by mapping patterns in the URI or filenames to the metadata values. For example, the filename extensions of content files often define th

mod_substitute

Apache Module mod_substitute Description: Perform search and replace operations on response bodies Status: Extension ModuleIdentifier: substitute_module SourceFile: mod_substitute.c Compatibility: Available in Apache HTTP Server 2.2.7 and later Summary mod_substitute provides a mechanism to perform both regular expression and fixed string substitutions on response bodies. Substitute Directive Description: Pattern to filter the response content Syntax: Substitute s/pattern/substitution/[i