printing different headers for each types of file
I'm looking for an example how printing different开发者_StackOverflow社区 headers for each types of file.
for example:
set the foo:baa in headers .png files.
set the foo:baa2 in headers .txt files
. etc..
It is possible using apache/.htaccess or with some .config file? I hope this is clear. Thanks in advance
How about:
<IfModule mod_headers.c>
<Files "*.txt">
Header set Header-name "header content"
</Files>
</IfModule>
?
精彩评论