dev/provisioning/modules/apache/templates/mod/setenvif.conf.erb
changeset 28 b0b56e0f8c7f
equal deleted inserted replaced
27:a2342f26c9de 28:b0b56e0f8c7f
       
     1 #
       
     2 # The following directives modify normal HTTP response behavior to
       
     3 # handle known problems with browser implementations.
       
     4 #
       
     5 BrowserMatch "Mozilla/2" nokeepalive
       
     6 BrowserMatch "MSIE 4\.0b2;" nokeepalive downgrade-1.0 force-response-1.0
       
     7 BrowserMatch "RealPlayer 4\.0" force-response-1.0
       
     8 BrowserMatch "Java/1\.0" force-response-1.0
       
     9 BrowserMatch "JDK/1\.0" force-response-1.0
       
    10 
       
    11 #
       
    12 # The following directive disables redirects on non-GET requests for
       
    13 # a directory that does not include the trailing slash.  This fixes a 
       
    14 # problem with Microsoft WebFolders which does not appropriately handle 
       
    15 # redirects for folders with DAV methods.
       
    16 # Same deal with Apple's DAV filesystem and Gnome VFS support for DAV.
       
    17 #
       
    18 BrowserMatch "Microsoft Data Access Internet Publishing Provider" redirect-carefully
       
    19 BrowserMatch "MS FrontPage" redirect-carefully
       
    20 BrowserMatch "^WebDrive" redirect-carefully
       
    21 BrowserMatch "^WebDAVFS/1.[0123]" redirect-carefully
       
    22 BrowserMatch "^gnome-vfs/1.0" redirect-carefully
       
    23 BrowserMatch "^gvfs/1" redirect-carefully
       
    24 BrowserMatch "^XML Spy" redirect-carefully
       
    25 BrowserMatch "^Dreamweaver-WebDAV-SCM1" redirect-carefully
       
    26 BrowserMatch " Konqueror/4" redirect-carefully
       
    27 
       
    28 <IfModule mod_ssl.c>
       
    29   BrowserMatch "MSIE [2-6]" \
       
    30     nokeepalive ssl-unclean-shutdown \
       
    31     downgrade-1.0 force-response-1.0
       
    32   # MSIE 7 and newer should be able to use keepalive
       
    33   BrowserMatch "MSIE [17-9]" ssl-unclean-shutdown
       
    34 </IfModule>