Match file conditions to apache rewrite rules

Our os-loganalyze file conditions didn't quite match up to how apache's
rewrite rules were handling things. Basically only .*console.html(.gz)?
should be htmlified, all other html files should be passed through as
is. Not doing this broke the rendering of testr results html files when
we started sending all requests through os-loganalyze for proper index
generation between swift and disk.

Fix this with an update to the rules that restricts html htmlification
to console.html.

Change-Id: If03f6e2eda733c0abe572fe7f5cdabc8dd0c7268
This commit is contained in:
Clark Boylan 2015-10-08 10:39:52 -07:00
parent bc6fd551ac
commit 6e8061c0ec

View File

@ -1,14 +1,8 @@
conditions:
- filename_pattern: ^.*\.txt\.gz$
- filename_pattern: ^.*\.txt(\.gz)?$
filter: SevFilter
view: HTMLView
- filename_pattern: ^.*\.txt?$
filter: SevFilter
view: HTMLView
- filename_pattern: ^.*\.html\.gz$
filter: SevFilter
view: HTMLView
- filename_pattern: ^.*\.html?$
- filename_pattern: ^.*console\.html(\.gz)?$
filter: SevFilter
view: HTMLView
- filename_pattern: ^.*$