[users@httpd] rewritemap environment variables

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



hello,

does anyone know the limitations specs for environment variables, specifically when used via mod_rewrite prg ?

i am able to hardcode a variable with a value of more than 2048 bytes

# this will work
RewriteRule ^/(.*) - [E=VAR_1:long_string_more_than_2048]
RequestHeader set REQ_TEST_1 %{VAR_1}e


but a program that return more than 2048 the set variable value will get truncated at 2048

# REQ_TEST_2 will have 2048 bytes
RewriteRule ^/(.*) [E=VAR_2:${mapprg:some_argument}]
RequestHeader set REQ_TEST_2 %{VAR_2}e

./allan

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx
  "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx



[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux