Rewritten URLs with parameter length > 255 don't work
- by philfreo
I'm using mod_rewrite to rewrite URLs like this:
http://example.com/1,2,3,4/foo/
By doing this in .htaccess:
RewriteRule ^([\d,]+)/foo/$ /foo.php?id=$1 [L,QSA]
It works fine, except for when "1,2,3,4" turns into a string longer than 255 characters, Apache returns a "403 Forbidden".
Is there some apache setting I should tweak?