Advertisement
Guest User

Untitled

a guest
Jun 8th, 2012
134
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.91 KB | None | 0 0
  1. Kohana - controller specific .htaccess
  2. php_value max_input_time 60000
  3. php_value post_max_size "1GB"
  4. php_value upload_max_filesize "1GB"
  5. php_value memory_limit "128MB"
  6.  
  7. <LocationMatch /massiveupload>
  8. php_flag max_input_time 60000
  9. php_value post_max_size 1024M
  10. php_value upload_max_filesize 1024M
  11. php_value memory_limit 128M
  12. </LocationMatch>
  13.  
  14. application/
  15. bootstrap.php
  16. lib/
  17. kohana-3.0.8/
  18. modules/
  19. system/
  20. public_html/ <----- this is your DOCUMENT_ROOT
  21. .htaccess
  22. index.php
  23.  
  24. RewriteEngine On
  25. RewriteBase /
  26.  
  27. <Files .*>
  28. Order Deny,Allow
  29. Deny From All
  30. </Files>
  31.  
  32. RewriteCond %{REQUEST_FILENAME} !-f
  33. RewriteCond %{REQUEST_FILENAME} !-d
  34. RewriteRule .* index.php/$0 [PT]
  35.  
  36. php_flag max_input_time 86400
  37. php_value post_max_size 1536M
  38. php_value upload_max_filesize 1024M
  39.  
  40. RewriteEngine On
  41. RewriteBase /upload/
  42. ...
  43. RewriteRule .* index.php/upload/$0 [PT]
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement