Re: mod_headers: REQUEST_URI for static files
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
- To: users@xxxxxxxxxxxxxxxx
- Subject: Re: mod_headers: REQUEST_URI for static files
- From: Yann Ylavic <ylavic.dev@xxxxxxxxx>
- Date: Sun, 7 Jun 2015 01:32:12 +0200
- Authentication-results: spamd4-us-west.apache.org (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com
- In-reply-to: <20150606133843.7ae31c8d@bogo>
- Reply-to: users@xxxxxxxxxxxxxxxx
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]