Re: Header set Link?

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

 



> Header add Link "<https://%{HTTP_HOST}e%{REDIRECT_PDF_CANONICAL_URL}e>; rel=\"canonical\"" env=REDIRECT_PDF_CANONICAL_URL

> However, the %{HTTP_HOST} variable doesn't seem to be set.

I don't think you can expect that environment variable to be defined.
Maybe you want to switch the value argument to use expr= syntax
instead so you can use more built-in values.

> Can you explain where the REDIRECT_ is defined?

If the request has been internally redirected, all of the original
environment variables from before the internal redirect are prefixed
with REDIRECT_
One example of an internal redirect is the result of rewriterule in
htaccess  w/o [R] flag.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-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