github.com/drud/ddev@v1.21.5-alpha1.0.20230226034409-94fcc4b94453/containers/ddev-webserver/ddev-webserver-base-files/etc/apache2/mods-available/setenvif.conf (about)

     1  <IfModule mod_setenvif.c>
     2  
     3  	#
     4  	# The following directives modify normal HTTP response behavior to
     5  	# handle known problems with browser implementations.
     6  	#
     7  	BrowserMatch "Mozilla/2" nokeepalive
     8  	BrowserMatch "MSIE 4\.0b2;" nokeepalive downgrade-1.0 force-response-1.0
     9  	BrowserMatch "RealPlayer 4\.0" force-response-1.0
    10  	BrowserMatch "Java/1\.0" force-response-1.0
    11  	BrowserMatch "JDK/1\.0" force-response-1.0
    12  
    13  	#
    14  	# The following directive disables redirects on non-GET requests for
    15  	# a directory that does not include the trailing slash.  This fixes a
    16  	# problem with Microsoft WebFolders which does not appropriately handle
    17  	# redirects for folders with DAV methods.
    18  	# Same deal with Apple's DAV filesystem and Gnome VFS support for DAV.
    19  	#
    20  	BrowserMatch "Microsoft Data Access Internet Publishing Provider" redirect-carefully
    21  	BrowserMatch "MS FrontPage" redirect-carefully
    22  	BrowserMatch "^WebDrive" redirect-carefully
    23  	BrowserMatch "^WebDAVFS/1.[012]" redirect-carefully
    24  	BrowserMatch "^gnome-vfs/1.0" redirect-carefully
    25  	BrowserMatch "^gvfs/1" redirect-carefully
    26  	BrowserMatch "^XML Spy" redirect-carefully
    27  	BrowserMatch "^Dreamweaver-WebDAV-SCM1" redirect-carefully
    28  	BrowserMatch " Konqueror/4" redirect-carefully
    29  
    30  </IfModule>
    31  
    32  # vim: syntax=apache ts=4 sw=4 sts=4 sr noet