It was reported that various browsers were giving errors when
to download the .asc file for func-0.28¹. The reason appears to be that
the func .asc file did not match the simple *.gz.asc pattern used to
remove the .gz encoding.
Using FilesMatch should be more reliable. Arguably, we could just use
*.asc here as well.
I know hosted isn't in a freeze at the moment, but I thought I'd check
before committing this change. I'd have just changed the pattern to
*.asc, but I wasn't sure whether httpd would take issue to a
RemoveEncoding call on files that lacked it previously.
Anyone see a problem with this fix or the simpler one to continue
using <Files> and just changing the pattern to *.asc? (I'd fix the
mis-cased </files> then too.)
configs/web/fedorahosted.org.conf | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/configs/web/fedorahosted.org.conf b/configs/web/fedorahosted.org.conf
index 44c0597..b300f7c 100644
＠＠ -11,9 +11,9 ＠＠ Listen 443
- <Files *.gz.asc>
+ <FilesMatch "\.gz.*\.asc$">
Alias /robots.txt /srv/web/fedorahosted.org/robots.txt