harrydeluxe/mongofilesystem/master/example/dav/www/.htaccess - Htaccess File

harrydeluxe/mongofilesystem/master/example/dav/www/.htaccess

AddDefaultCharset UTF-8

<IfModule mod_php5.c>  
    php_value upload_max_filesize 512M
    php_value post_max_size 512M
    php_value memory_limit 512M
</IfModule>

<IfModule mod_deflate.c>
    SetOutputFilter DEFLATE
    BrowserMatch ^Mozilla/4 gzip-only-text/html
    BrowserMatch ^Mozilla/4.0[678] no-gzip
    BrowserMatch bMSIE !no-gzip !gzip-only-text/html
</IfModule>

<IfModule mod_rewrite.c>
    RewriteEngine on
      
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule ^.*$ index.php [NC,L]
  
    RewriteCond %{REQUEST_METHOD} ^PUT$
    RewriteRule .DS_Store - [F]
    RewriteRule .Trashes - [F]
    RewriteRule .TemporaryItems - [F]

    # Fix broken Windows XP
    RedirectMatch 404 ^/(MSOffice/|_vti_bin/|_vti_inf.html$)

    BrowserMatch "^WebDAVFS/1.[012]" redirect-carefully
    BrowserMatch "Microsoft Data Access Internet Publishing Provider" redirect-carefully
    BrowserMatch "Microsoft-WebDAV-MiniRedir/5.1.2600" redirect-carefully
    BrowserMatch "Microsoft-WebDAV-MiniRedir/^" redirect-carefully
    BrowserMatch "^WebDrive" redirect-carefully
    BrowserMatch "^WebDAVFS" redirect-carefully
    BrowserMatch "^gnome-vfs" redirect-carefully
    BrowserMatch "^SVN" redirect-carefully
    BrowserMatch "SVN/^" redirect-carefully

</IfModule>

On Github License

Files

Download PDF of Htaccess file
DEFLATE, no-gzip, PUT, redirect-carefull, REQUEST_FILENAME, REQUEST_METHOD

Comments

Apache