Re: mod_headers: REQUEST_URI for static files

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

 



On Sat, Jun 6, 2015 at 1:38 PM, Christian Weiske <cweiske@xxxxxxxxxx> wrote:
>
> I'm trying to do that with mod_header and the following configuration:
>
>> Header append Link '<http://example.org%{REQUEST_URI}e>; rel="self"'

You could use %{REQUEST_URI}s (a trailing s instead of e) if mod_ssl
is loaded (LoadModule).
That will only use the variables interpolation from mod_ssl, not the
engine itself, so you don't need "SSLEngine on" if it's not the case
already.

Regards,
Yann.

---------------------------------------------------------------------
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