I want to set a php_value
flag only for a specific url (rewrited) path. I'm using htaccess to accomplish this. The framework I'm using is CodeIgniter, so there is one htaccess file and url routes are handled by php.
Only the backend of the website should have php_value max_input_vars 3000
. The url is http://www.example.com/admin/dashboard
I was thinking about this in htaccess file:
<Location /website.com/admin>
php_value max_input_vars 20000
</Location>