Hi,

On 13 September 2013 13:53, Olwen Williams <[email protected]> wrote:
> A site I work on has recently had sever changes made including something to
> do with .htaccess
>
> The maximum number of arguments has been set to 1000.
>
> I use a $_POST variable with 18 fields but 4 of those are arrays win 300+
> fields.  These are triggering mod_security and getting a 403 response.
>
> Can anyone point me in the right directions to alter this through .htaccess
> to maybe 4000 arguments?

normally its not mod_security but the suhosin extension, which comes
with most Debian flavours of PHP installations. See here:
http://www.hardened-php.net/suhosin/configuration.html

and check if you cam maybe try setting suhosin.post.max_vars to 4000?

Kind Regards,

Jochen

-- 
-- 
NZ PHP Users Group: http://groups.google.com/group/nzphpug
To post, send email to [email protected]
To unsubscribe, send email to
[email protected]
--- 
You received this message because you are subscribed to the Google Groups "NZ 
PHP Users Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to