[Lsb-messages] /var/www/bzr/lsb/devel/puppet-lsb r674: Limit the global redirect on linuxbase.org to just the top page.

Jeff Licquia licquia at linuxfoundation.org
Wed Nov 11 15:41:36 UTC 2015


------------------------------------------------------------
revno: 674
committer: Jeff Licquia <licquia at linuxfoundation.org>
branch nick: puppet-lsb
timestamp: Wed 2015-11-11 10:41:36 -0500
message:
  Limit the global redirect on linuxbase.org to just the top page.
modified:
  modules/apachehttpd/files/vhosts.d/lsb2.linux-foundation.org/000-default.conf
-------------- next part --------------
=== modified file 'modules/apachehttpd/files/vhosts.d/lsb2.linux-foundation.org/000-default.conf'
--- a/modules/apachehttpd/files/vhosts.d/lsb2.linux-foundation.org/000-default.conf	2015-10-26 18:46:25 +0000
+++ b/modules/apachehttpd/files/vhosts.d/lsb2.linux-foundation.org/000-default.conf	2015-11-11 15:41:36 +0000
@@ -52,25 +52,12 @@
 
     RewriteEngine on
 
+    # For now, just redirect the top page to the workgroup.
+    RewriteRule ^/?$ https://www.linuxfoundation.org/collaborate/workgroups/lsb
+
     # This link was mentioned in some FHS announcements for 3.0 beta.
     RewriteRule ^/~licquia/fhs-3.0-drafts /betaspecs/fhs [L,R=301]
 
-    # For now, just redirect most unencrypted stuff to the corporate 
-    # workgroup page.
-    RewriteCond %{REQUEST_URI} !^/dbadmin
-    RewriteCond %{REQUEST_URI} !^/navigator
-    RewriteCond %{REQUEST_URI} !^/lsb-cert
-    RewriteCond %{REQUEST_URI} !^/betaspecs
-    RewriteCond %{REQUEST_URI} !^/snapshotspecs
-    RewriteCond %{REQUEST_URI} !^/freenode.txt
-    RewriteCond %{REQUEST_URI} !^/buildbot
-    RewriteCond %{REQUEST_URI} !^/prdb
-    RewriteCond %{REQUEST_URI} !^/maintenance.html
-    RewriteCond %{REQUEST_URI} !^/spec
-    RewriteCond %{REQUEST_URI} !^/irc
-    RewriteCond %{REQUEST_URI} !^/robots.txt
-    RewriteRule ^(.*)$ http://www.linuxfoundation.org/collaborate/workgroups/lsb
-
     # spec
 
     RewriteRule ^/spec http://refspecs.linuxfoundation.org/lsb.shtml [L,R=301]
@@ -177,21 +164,8 @@
 
 	RewriteEngine on
 
-    # For now, just redirect most unencrypted stuff to the corporate 
-    # workgroup page.
-    RewriteCond %{REQUEST_URI} !^/dbadmin
-    RewriteCond %{REQUEST_URI} !^/navigator
-    RewriteCond %{REQUEST_URI} !^/lsb-cert
-    RewriteCond %{REQUEST_URI} !^/betaspecs
-    RewriteCond %{REQUEST_URI} !^/snapshotspecs
-    RewriteCond %{REQUEST_URI} !^/freenode.txt
-    RewriteCond %{REQUEST_URI} !^/buildbot
-    RewriteCond %{REQUEST_URI} !^/prdb
-    RewriteCond %{REQUEST_URI} !^/maintenance.html
-    RewriteCond %{REQUEST_URI} !^/spec
-    RewriteCond %{REQUEST_URI} !^/irc
-    RewriteCond %{REQUEST_URI} !^/robots.txt
-    RewriteRule ^(.*)$ https://www.linuxfoundation.org/collaborate/workgroups/lsb
+	# For now, just redirect the top page to the workgroup page.
+	RewriteRule ^/?$ https://www.linuxfoundation.org/collaborate/workgroups/lsb
 
     RewriteRule ^/spec https://refspecs.linuxfoundation.org/lsb.shtml [L,R=301]
 



More information about the lsb-messages mailing list