]> git.pld-linux.org Git - packages/apache.git/blobdiff - apache-httpd.conf
- /var/run/apache cnfl w/apache1
[packages/apache.git] / apache-httpd.conf
index 51c503903128a0fc8d5254684f8ad733b8f3e390..a465b5f2e9af90746456ae1f9b5faffcbcf15e3c 100644 (file)
@@ -1,3 +1,4 @@
+# $Id$
 #
 # Based upon the NCSA server configuration files originally by Rob McCool.
 #
@@ -256,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
@@ -601,8 +601,13 @@ ScriptAlias /cgi-bin/ "/home/services/httpd/cgi-bin/"
 # Redirect permanent /foo http://www.example.com/bar
 
 #
-# Directives controlling the display of server-generated directory listings.
+# AddEncoding allows you to have certain browsers (Mosaic/X 2.1+) uncompress
+# information on the fly. Note: Not all browsers support this.
+# Despite the name similarity, the following Add* directives have nothing
+# to do with the FancyIndexing customization directives above.
 #
+AddEncoding x-compress Z
+AddEncoding x-gzip gz tgz
 
 #
 # DefaultLanguage and AddLanguage allows you to specify the language of 
@@ -855,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 "^WebDAVFS/1.[012]" redirect-carefully
-BrowserMatch "^gnome-vfs" 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.069904 seconds and 4 git commands to generate.