Hello Yann,

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

Thanks for the hint - that at least gives me a file name:

$ curl -I example.org/
...
Link: <http://example.org/index.htm>; rel="self"

But I do not get the original request URI ("/" only), which is what I'm
looking for.

-- 
Regards/Mit freundlichen Grüßen
Christian Weiske

-=≡ Geeking around in the name of science since 1982 ≡=-

Attachment: signature.asc
Description: PGP signature

Reply via email to