Author: sebb
Date: Thu Apr 12 15:38:20 2018
New Revision: 1828988

URL: http://svn.apache.org/viewvc?rev=1828988&view=rev
Log:
Docn

Modified:
    attic/site/docs/scripts/attic_filter.lua

Modified: attic/site/docs/scripts/attic_filter.lua
URL: 
http://svn.apache.org/viewvc/attic/site/docs/scripts/attic_filter.lua?rev=1828988&r1=1828987&r2=1828988&view=diff
==============================================================================
--- attic/site/docs/scripts/attic_filter.lua (original)
+++ attic/site/docs/scripts/attic_filter.lua Thu Apr 12 15:38:20 2018
@@ -1,3 +1,16 @@
+--[[
+  This is an output filter for HTML files
+  It adds a banner for projects that are flagged as in the attic.
+  
+  It is invoked by the tlp vhosts if the following directory exists:
+  /var/www/attic.apache.org/flagged/%{HTTP_HOST}
+
+  See the tlp vhost definitions in puppet-infra 
data/nodes/(themis|tlp-eu-west).apache.org.yaml
+  
+  Note: This filter was introduced in April 2018, so not all projects in the 
Attic use this filter. 
+  Previously the project websites themselves were changed.
+]]--
+
 function output_filter(r)
     -- We only filter text/html types
     if not r.content_type:match(".*text/html.*") then return end


Reply via email to