I want to set a specific upload_max_filesize
setting for a specific URL on my webserver. The URL path is not a real path since it is a apache rewritten seo friendly path.
This does seems not to work:
<Directory /var/www/test_upload>
php_value upload_max_filesize 750M
</Directory>
The rewrite Rule in the .htacces file in the document root (/var/www/) looks like:
RewriteRule .* index.php [L]
Use a <
Location
> rule instead of <Directory
>. You could set the ini param in your PHP file as well, though.