Author: sebb
Date: Thu Apr 26 09:40:31 2018
New Revision: 1830177
URL: http://svn.apache.org/viewvc?rev=1830177&view=rev
Log:
Docs
Modified:
attic/site-jekyll/src/_plugins/postwrite.rb
attic/site-jekyll/src/flags/README.txt
Modified: attic/site-jekyll/src/_plugins/postwrite.rb
URL:
http://svn.apache.org/viewvc/attic/site-jekyll/src/_plugins/postwrite.rb?rev=1830177&r1=1830176&r2=1830177&view=diff
==============================================================================
--- attic/site-jekyll/src/_plugins/postwrite.rb (original)
+++ attic/site-jekyll/src/_plugins/postwrite.rb Thu Apr 26 09:40:31 2018
@@ -1,5 +1,6 @@
# Script to generate the flags directories
# This is run after the site has been written
+# Note that the dist/GHOST name is assumed to be the same as the project
Jekyll::Hooks.register :site, :post_write do |site|
puts site.dest
Modified: attic/site-jekyll/src/flags/README.txt
URL:
http://svn.apache.org/viewvc/attic/site-jekyll/src/flags/README.txt?rev=1830177&r1=1830176&r2=1830177&view=diff
==============================================================================
--- attic/site-jekyll/src/flags/README.txt (original)
+++ attic/site-jekyll/src/flags/README.txt Thu Apr 26 09:40:31 2018
@@ -2,9 +2,21 @@ This directory contains marker directori
These are used to control redirects from dist/GHOST using the httpd config:
- RewriteCond "%%{}{REQUEST_URI}" "^/dist/([-a-zA-Z0-9]+)"
- RewriteCond "/var/www/attic.apache.org/flagged/%1.apache.org/" -d
+ RewriteCond "%{REQUEST_URI}" "^/dist/([-a-zA-Z0-9]+)"
+ RewriteCond "/var/www/attic.apache.org/flags/%1.apache.org/" -d
RewriteRule ".*" "http://attic.apache.org/projects/%1.html" [R=307,L]
This assumes that the dist/GHOST name is the same as the generated HTML file
stem.
-This is currently the case for all the TLPs.
\ No newline at end of file
+This is currently the case for all the TLPs.
+
+Some of the directories contain 'banners' files
+These are used to control which websites have banners added.
+The chttpd onfig uses a condition such as:
+
+ <If "-f '/var/www/attic.apache.org/flags/%{HTTP_HOST}/banners'">
+
+This assumes that dist/GHOST has a website at GHOST.apache.org
+This is true at present.
+
+Also that subprojects will never need banners independently of the parent
project
+This is not true for some historic Attic entries, e.g. OJB