Kohana – controller specific .htaccess


Kohana - controller specific .htaccess
php_value max_input_time 60000
php_value post_max_size "1GB"
php_value upload_max_filesize "1GB"
php_value memory_limit "128MB"
       
<LocationMatch /massiveupload>
    php_flag max_input_time 60000
    php_value post_max_size 1024M
    php_value upload_max_filesize 1024M
    php_value memory_limit 128M
</LocationMatch>
       
application/
    bootstrap.php
lib/
    kohana-3.0.8/
        modules/
        system/
public_html/              <----- this is your DOCUMENT_ROOT
    .htaccess
    index.php
       
RewriteEngine On
RewriteBase /
 
<Files .*>
    Order Deny,Allow
    Deny From All
</Files>
 
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule .* index.php/$0 [PT]
       
php_flag max_input_time 86400
php_value post_max_size 1536M
php_value upload_max_filesize 1024M
 
RewriteEngine On
RewriteBase /upload/
...
RewriteRule .* index.php/upload/$0 [PT]

http://pastebin.com/PDET7y1V

post-author