]> git.pld-linux.org Git - packages/apache.git/blobdiff - apache-httpd.conf
- BuildRequires: postgresql-devel (thx to kamyk for noticing that one)
[packages/apache.git] / apache-httpd.conf
index 67b6c05f285626ea57b726c58f24a1f1fdadf351..a465b5f2e9af90746456ae1f9b5faffcbcf15e3c 100644 (file)
@@ -1,3 +1,4 @@
+# $Id$
 #
 # Based upon the NCSA server configuration files originally by Rob McCool.
 #
@@ -210,6 +211,26 @@ MaxRequestsPerChild  0
 Multiplexer "http" "http"
 </IfModule>
 
+# peruser MPM
+# MinSpareServers      Minimum number of idle children, to handle request spikes
+# MaxProcessors         Maximum number of processors per vhost
+# ServerLimit           Maximum value of MaxClients for this run of Apache
+# Multiplexer           Specify an Multiplexer Child configuration
+# Processor             Specify a User and Group for a specific child process
+# ServerEnvironment     Specify the server environment for this virtual host
+<IfModule peruser.c>
+MinSpareServers        5
+MaxProcessors         10
+MaxClients           150
+MaxRequestsPerChild    0
+
+Multiplexer            "http" "http"
+
+# And for virtuals use:
+# Processor user group
+# Processor user group /home/services/httpd/chrootdir
+</IfModule>
+
 #
 # Listen: Allows you to bind Apache to specific IP addresses and/or
 # ports, in addition to the default. See also the <VirtualHost>
@@ -236,7 +257,6 @@ Listen 80
 LoadModule access_module      modules/mod_access.so
 LoadModule alias_module       modules/mod_alias.so
 LoadModule asis_module        modules/mod_asis.so
-LoadModule autoindex_module   modules/mod_autoindex.so
 LoadModule cern_meta_module   modules/mod_cern_meta.so
 LoadModule cgi_module         modules/mod_cgi.so
 LoadModule env_module         modules/mod_env.so
@@ -506,6 +526,7 @@ CustomLog /var/log/httpd/access_log common
 # Set to one of:  On | Off | EMail
 #
 ServerSignature On
+#ServerTokens Prod
 
 #
 # Aliases: Add here as many aliases as you need (with no limit). The format is 
@@ -579,83 +600,6 @@ ScriptAlias /cgi-bin/ "/home/services/httpd/cgi-bin/"
 # Example:
 # Redirect permanent /foo http://www.example.com/bar
 
-#
-# Directives controlling the display of server-generated directory listings.
-#
-
-#
-# FancyIndexing is whether you want fancy directory indexing or standard.
-# VersionSort is whether files containing version numbers should be 
-# compared in the natural way, so that `apache-1.3.9.tar' is placed before
-# `apache-1.3.12.tar'.
-#
-IndexOptions FancyIndexing VersionSort
-
-#
-# AddIcon* directives tell the server which icon to show for different
-# files or filename extensions.  These are only displayed for
-# FancyIndexed directories.
-#
-AddIconByEncoding (CMP,/icons/compressed.gif) x-compress x-gzip
-
-AddIconByType (TXT,/icons/text.gif) text/*
-AddIconByType (IMG,/icons/image2.gif) image/*
-AddIconByType (SND,/icons/sound2.gif) audio/*
-AddIconByType (VID,/icons/movie.gif) video/*
-
-AddIcon /icons/binary.gif .bin .exe
-AddIcon /icons/binhex.gif .hqx
-AddIcon /icons/tar.gif .tar
-AddIcon /icons/world2.gif .wrl .wrl.gz .vrml .vrm .iv
-AddIcon /icons/compressed.gif .Z .z .tgz .gz .zip
-AddIcon /icons/a.gif .ps .ai .eps
-AddIcon /icons/layout.gif .html .shtml .htm .pdf
-AddIcon /icons/text.gif .txt
-AddIcon /icons/c.gif .c
-AddIcon /icons/p.gif .pl .py
-AddIcon /icons/f.gif .for
-AddIcon /icons/dvi.gif .dvi
-AddIcon /icons/uuencoded.gif .uu
-AddIcon /icons/script.gif .conf .sh .shar .csh .ksh .tcl
-AddIcon /icons/tex.gif .tex
-AddIcon /icons/bomb.gif core
-
-AddIcon /icons/back.gif ..
-AddIcon /icons/hand.right.gif README
-AddIcon /icons/folder.gif ^^DIRECTORY^^
-AddIcon /icons/blank.gif ^^BLANKICON^^
-
-#
-# DefaultIcon is which icon to show for files which do not have an icon
-# explicitly set.
-#
-DefaultIcon /icons/unknown.gif
-
-#
-# AddDescription allows you to place a short description after a file in
-# server-generated indexes.  These are only displayed for FancyIndexed
-# directories.
-# Format: AddDescription "description" filename
-#
-#AddDescription "GZIP compressed document" .gz
-#AddDescription "tar archive" .tar
-#AddDescription "GZIP compressed tar archive" .tgz
-
-#
-# ReadmeName is the name of the README file the server will look for by
-# default, and append to directory listings.
-#
-# HeaderName is the name of a file which should be prepended to
-# directory indexes. 
-ReadmeName README.html
-HeaderName HEADER.html
-
-#
-# IndexIgnore is a set of filenames which directory indexing should ignore
-# and not include in the listing.  Shell-style wildcarding is permitted.
-#
-IndexIgnore .??* *~ *# HEADER* README* RCS CVS *,v *,t
-
 #
 # AddEncoding allows you to have certain browsers (Mosaic/X 2.1+) uncompress
 # information on the fly. Note: Not all browsers support this.
@@ -916,23 +860,26 @@ AddHandler type-map var
 </IfModule>
 </IfModule>
 
+<IfModule mod_setenvif.c>
 #
 # The following directives modify normal HTTP response behavior to
 # handle known problems with browser implementations.
 #
-BrowserMatch "Mozilla/2" nokeepalive
-BrowserMatch "MSIE 4\.0b2;" nokeepalive downgrade-1.0 force-response-1.0
-BrowserMatch "RealPlayer 4\.0" force-response-1.0
-BrowserMatch "Java/1\.0" force-response-1.0
-BrowserMatch "JDK/1\.0" force-response-1.0
-
+    BrowserMatch "Mozilla/2" nokeepalive
+    BrowserMatch "MSIE 4\.0b2;" nokeepalive downgrade-1.0 force-response-1.0
+    BrowserMatch "RealPlayer 4\.0" force-response-1.0
+    BrowserMatch "Java/1\.0" force-response-1.0
+    BrowserMatch "JDK/1\.0" force-response-1.0
 #
 # The following directive disables redirects on non-GET requests for
 # a directory that does not include the trailing slash.  This fixes a 
 # problem with Microsoft WebFolders which does not appropriately handle 
 # redirects for folders with DAV methods.
 #
-BrowserMatch "Microsoft Data Access Internet Publishing Provider" redirect-carefully
-BrowserMatch "^WebDrive" redirect-carefully
-
+    BrowserMatch "Microsoft Data Access Internet Publishing Provider" redirect-carefully
+    BrowserMatch "^WebDrive" redirect-carefully
+    BrowserMatch "^WebDAVFS/1.[012]" redirect-carefully
+    BrowserMatch "^gnome-vfs" redirect-carefully
+</IfModule>
 
+# vim: filetype=apache ts=4 sw=4 et
This page took 0.031184 seconds and 4 git commands to generate.