httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Christian Weiske <cwei...@cweiske.de>
Subject [users@httpd] mod_headers: REQUEST_URI for static files
Date Sat, 06 Jun 2015 11:38:43 GMT
Hello,


To fulfil the requirements of the PubSubHubbub 0.4 spec[1], I have to
send a rel=self header for each file.

I'm trying to do that with mod_header and the following configuration:

> Header append Link '<http://example.org%{REQUEST_URI}e>; rel="self"'

This works as long the file is processed by PHP, but does not for
static files (like *.htm) which are not processed by mod_php or any CGI
process.

Why does it not work with static files?
What can I do to fix that?

----

This happens on Debian 7 with Apache 2.2.22-13+deb7u4.

[1]
http://pubsubhubbub.github.io/PubSubHubbub/pubsubhubbub-core-0.4.html#rfc.section.4

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

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

Mime
View raw message