Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

set php_value

  • Loading branch information...
commit 956939b5c406f21a6bc90d0a26d9f01148b4bc55 1 parent 301b563
Harald Hanek authored

Showing 1 changed file with 14 additions and 11 deletions. Show diff stats Hide diff stats

  1. +14 11 example/dav/www/.htaccess
25 example/dav/www/.htaccess
... ... @@ -1,26 +1,29 @@
1 1 AddDefaultCharset UTF-8
2 2
  3 +<IfModule mod_php5.c>
  4 + php_value upload_max_filesize 512M
  5 + php_value post_max_size 512M
  6 + php_value memory_limit 512M
  7 +</IfModule>
  8 +
3 9 <IfModule mod_deflate.c>
4   - SetOutputFilter DEFLATE
5   - BrowserMatch ^Mozilla/4 gzip-only-text/html
6   - BrowserMatch ^Mozilla/4\.0[678] no-gzip
7   - BrowserMatch \bMSIE !no-gzip !gzip-only-text/html
  10 + SetOutputFilter DEFLATE
  11 + BrowserMatch ^Mozilla/4 gzip-only-text/html
  12 + BrowserMatch ^Mozilla/4\.0[678] no-gzip
  13 + BrowserMatch \bMSIE !no-gzip !gzip-only-text/html
8 14 </IfModule>
9 15
10 16 <IfModule mod_rewrite.c>
11   - RewriteEngine on
12   -
13   - RewriteCond %{REQUEST_FILENAME} !-f
  17 + RewriteEngine on
  18 +
  19 + RewriteCond %{REQUEST_FILENAME} !-f
14 20 RewriteCond %{REQUEST_FILENAME} !-d
15   -
16   - #RewriteRule ^.*$ /delacap/web/labs/mongofilesystem/example/dav/www/index.php [NC,L]
17   - RewriteRule ^.*$ index.php [NC,L]
  21 + RewriteRule ^.*$ index.php [NC,L]
18 22
19 23 RewriteCond %{REQUEST_METHOD} ^PUT$
20 24 RewriteRule .DS_Store - [F]
21 25 RewriteRule .Trashes - [F]
22 26 RewriteRule .TemporaryItems - [F]
23   - # RewriteRule ._.* - [F]
24 27
25 28 # Fix broken Windows XP
26 29 RedirectMatch 404 ^/(MSOffice/|_vti_bin/|_vti_inf.html$)

0 comments on commit 956939b

Please sign in to comment.
Something went wrong with that request. Please try again.