Commit d1fe1eb37c8317cc555ca5ea314ac97bc1d44b87

Authored by Neil Blakey-Milner
1 parent bde7dcdd

Group together upload size stuff, and an explanation of why it doesn't

default to unlimited.

Also remove all Options from directories below.


git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@3260 c91229c3-7414-0410-bfa2-8a42b809f60b
Showing 1 changed file with 16 additions and 5 deletions
.htaccess
... ... @@ -22,11 +22,6 @@
22 22 # PHP code, leading to better performance and robustness.
23 23 #
24 24 <IfModule mod_php4.c>
25   -php_value upload_max_filesize 8M
26   -php_value post_max_size 8M
27   -php_value memory_limit 8M
28   -php_value max_input_time -1
29   -php_value max_execution_time 60
30 25 php_value default_mimetype text/html
31 26 php_value auto_prepend_file none
32 27 php_value auto_append_file none
... ... @@ -43,3 +38,19 @@ php_flag session.auto_start OFF
43 38 SetEnv kt_htaccess_worked yes
44 39 </IfModule>
45 40 LimitRequestBody 0
  41 +DirectoryIndex index.html index.php
  42 +Options none
  43 +
  44 +#
  45 +# If you are having uploading larger documents, adjust the 16M examples
  46 +# below to increase the maximum file size. This is set to a reasonable
  47 +# size for testing and most usage patterns, as increased sizes may allow
  48 +# malicious users to use up resources.
  49 +#
  50 +<IfModule mod_php4.c>
  51 +php_value upload_max_filesize 16M
  52 +php_value post_max_size 16M
  53 +php_value memory_limit 16M
  54 +php_value max_input_time -1
  55 +php_value max_execution_time 60
  56 +</IfModule>
... ...