Skip to content

Commit

Permalink
Fix groovy redirects
Browse files Browse the repository at this point in the history
  • Loading branch information
bwalding committed Jun 4, 2015
1 parent 36f519c commit 37503df
Show file tree
Hide file tree
Showing 3 changed files with 58 additions and 53 deletions.
5 changes: 4 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
update:
git push origin
ssh [email protected] "cd /etc/httpd && ./update-redirector"
ssh [email protected] "cd /etc/httpd && ./update-redirector"

connect:
ssh [email protected]
6 changes: 4 additions & 2 deletions conf/docs.codehaus.org.conf
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@

Include ssl.d/WILDCARD.codehaus.org.conf

Include redirector/includes/abuse.inc

Include redirector/includes/docs.codehaus.org.inc
</VirtualHost>

Expand All @@ -13,8 +15,8 @@
ServerAdmin [email protected]
RewriteEngine on

Include ssl.d/WILDCARD.codehaus.org.conf
Include redirector/includes/abuse.inc

Include redirector/includes/docs.codehaus.org.inc
</VirtualHost>

Expand Down
100 changes: 50 additions & 50 deletions includes/docs.codehaus.org.inc
Original file line number Diff line number Diff line change
Expand Up @@ -38,56 +38,56 @@ RewriteRule "^/display/SONAR/(.*)$" "http://docs.sonarq
# Groovy redirection rules #
##################################

RewriteRule ^/display/GROOVY/Download(.*) http://groovy-lang.org/download.html [R,NE]
RewriteRule ^/display/GROOVY/Collections(.*) http://groovy-lang.org/groovy-dev-kit.html#_working_with_collections [R,NE]
RewriteRule ^/display/GROOVY/User.Guide(.*) http://groovy-lang.org/documentation.html [R,NE]
RewriteRule ^/display/GROOVY/Getting.Started.Guide(.*) http://groovy-lang.org/install.html [R,NE]
RewriteRule ^/display/GROOVY/Looping(.*) http://docs.groovy-lang.org/latest/html/documentation/index.html#_looping_structures [R,NE]
RewriteRule ^/display/GROOVY/Operators(.*) http://docs.groovy-lang.org/latest/html/documentation/index.html#groovy-operators [R,NE]
RewriteRule ^/display/GROOVY/Documentation(.*) http://groovy-lang.org/documentation.html [R,NE]
RewriteRule ^/display/GROOVY/Strings.and.GString(.*) http://docs.groovy-lang.org/latest/html/documentation/index.html#all-strings [R,NE]
RewriteRule ^/display/GROOVY/JN1015.Collections(.*) http://groovy-lang.org/groovy-dev-kit.html#_working_with_collections [R,NE]
RewriteRule ^/display/GROOVY/Regular.Expressions(.*) http://docs.groovy-lang.org/latest/html/documentation/index.html#_regular_expression_operators [R,NE]
RewriteRule ^/display/GROOVY/Differences.from.Java(.*) http://docs.groovy-lang.org/latest/html/documentation/index.html#_differences_with_java [R,NE]
RewriteRule ^/display/GROOVY/JN1035.Maps(.*) http://groovy-lang.org/groovy-dev-kit.html#_working_with_collections [R,NE]
RewriteRule ^/display/GROOVY/Installing.Groovy(.*) http://groovy-lang.org/install.html [R,NE]
RewriteRule ^/display/GROOVY/Closures(.*) http://docs.groovy-lang.org/latest/html/documentation/index.html#_closures [R,NE]
RewriteRule ^/display/GROOVY/Logical.Branching(.*) http://docs.groovy-lang.org/latest/html/documentation/index.html#_control_structures [R,NE]
RewriteRule ^/display/GROOVY/Scripts.and.Classes(.*) http://groovy-lang.org/structure.html#_scripts_versus_classes [R,NE]
RewriteRule ^/display/GROOVY/Download?nc=(.*) http://groovy-lang.org/download.html [R,NE]
RewriteRule ^/display/GROOVY/JN1525.Strings(.*) http://docs.groovy-lang.org/latest/html/documentation/index.html#all-strings [R,NE]
RewriteRule ^/display/GROOVY/Embedding.Groovy(.*) http://docs.groovy-lang.org/latest/html/documentation/index.html#_integrating_groovy_in_a_java_application [R,NE]
RewriteRule ^/display/GROOVY/Statements(.*) http://groovy-lang.org/semantics.html#_statements [R,NE]
RewriteRule ^/display/GROOVY/Input.Output(.*) http://groovy-lang.org/groovy-dev-kit.html#_working_with_io [R,NE]
RewriteRule ^/display/GROOVY/Grape(.*) http://docs.groovy-lang.org/latest/html/documentation/grape.html [R,NE]
RewriteRule ^/display/GROOVY/Control.Structures(.*) http://docs.groovy-lang.org/latest/html/documentation/index.html#_control_structures [R,NE]
RewriteRule ^/display/GROOVY/Groovy.Templates(.*) http://docs.groovy-lang.org/latest/html/documentation/template-engines.html [R,NE]
RewriteRule ^/display/GROOVY/Unit.Testing(.*) http://docs.groovy-lang.org/docs/latest/html/documentation/core-testing-guide.html [R,NE]
RewriteRule ^/display/GROOVY/Processing.XML(.*) http://groovy-lang.org/processing-xml.html [R,NE]
RewriteRule ^/display/GROOVY/Groovy.Console(.*) http://groovy-lang.org/groovyconsole.html [R,NE]
RewriteRule ^/display/GROOVY/Groovy.Shell(.*) http://groovy-lang.org/groovysh.html [R,NE]
RewriteRule ^/display/GROOVY/Operator.Overloading(.*) http://groovy-lang.org/operators.html#Operator-Overloading [R,NE]
RewriteRule ^/display/GROOVY/Groovy.Truth(.*) http://groovy-lang.org/semantics.html#Groovy-Truth [R,NE]
RewriteRule ^/display/GROOVY/InvokeDynamic.support(.*) http://groovy-lang.org/indy.html [R,NE]
RewriteRule ^/display/GROOVY/Builders(.*) http://groovy-lang.org/dsls.html#_builders [R,NE]
RewriteRule ^/display/GROOVY/Swing.Builder(.*) http://groovy-lang.org/dsls.html#_swingbuilder [R,NE]
RewriteRule ^/display/GROOVY/Using.Ant.from.Groovy(.*) http://docs.groovy-lang.org/latest/html/documentation/ant-builder.html [R,NE]
RewriteRule ^/display/GROOVY/Groovy.Release.Notes(.*) http://groovy-lang.org/releases.html [R,NE]
RewriteRule ^/display/GROOVY/Process.Management(.*) http://groovy-lang.org/groovy-dev-kit.html#process-management [R,NE]
RewriteRule ^/display/GROOVY/Beginners.Tutorial(.*) http://groovy-lang.org/learn.html [R,NE]
RewriteRule ^/display/GROOVY/User.Guide(.*) http://groovy-lang.org/documentation.html [R,NE]
RewriteRule ^/display/GROOVY/GUI.Programming.with.Groovy(.*) http://groovy-lang.org/dsls.html#_swingbuilder [R,NE]
RewriteRule ^/display/GROOVY/Type.checking.extensions(.*) http://docs.groovy-lang.org/latest/html/documentation/#_type_checking_extensions [R,NE]
RewriteRule ^/display/GROOVY/Using.Ant.Libraries.with.Antbuilder(.*) http://docs.groovy-lang.org/latest/html/documentation/ant-builder.html [R,NE]
RewriteRule ^/display/GROOVY/Creating.XML.using.Groovy's.MarkupBuilder(.*) http://groovy-lang.org/processing-xml.html [R,NE]
RewriteRule ^/display/GROOVY/Reading.XML.using.Groovy's.XmlParser(.*) http://groovy-lang.org/processing-xml.html [R,NE]
RewriteRule ^/display/GROOVY/Closures...Formal.Definition(.*) http://docs.groovy-lang.org/latest/html/documentation/index.html#_closures [R,NE]
RewriteRule ^/display/GROOVY/Groovy.Eclipse.compiler.plugin.for.Maven(.*) http://docs.groovy-lang.org/latest/html/documentation/tools-groovyeclipse.html [R,NE]
RewriteRule ^/display/GROOVY/Executing.External.Processes.From.Groovy(.*) http://groovy-lang.org/groovy-dev-kit.html#process-management [R,NE]
RewriteRule ^/display/GROOVY/Functional.Programming.with.Groovy(.*) http://groovy-lang.org/closures.html#_functional_programming [R,NE]
RewriteRule ^/display/GROOVY/Reading.XML.using.Groovy's.XmlSlurper(.*) http://groovy-lang.org/processing-xml.html [R,NE]
RewriteRule ^/display/GROOVY/Writing.Domain.Specific.Languages(.*) http://docs.groovy-lang.org/docs/latest/html/documentation/core-domain-specific-languages.html [R,NE]
RewriteRule ^/display/GROOVY/Groovy.style.and.language.feature.guidelines.for.Java.developers(.*) http://groovy-lang.org/style-guide.html [R,NE]
RewriteRule ^/display/GROOVY/Download(.*) http://groovy-lang.org/download.html [R,NE,L]
RewriteRule ^/display/GROOVY/Collections(.*) http://groovy-lang.org/groovy-dev-kit.html#_working_with_collections [R,NE,L]
RewriteRule ^/display/GROOVY/User.Guide(.*) http://groovy-lang.org/documentation.html [R,NE,L]
RewriteRule ^/display/GROOVY/Getting.Started.Guide(.*) http://groovy-lang.org/install.html [R,NE,L]
RewriteRule ^/display/GROOVY/Looping(.*) http://docs.groovy-lang.org/latest/html/documentation/index.html#_looping_structures [R,NE,L]
RewriteRule ^/display/GROOVY/Operators(.*) http://docs.groovy-lang.org/latest/html/documentation/index.html#groovy-operators [R,NE,L]
RewriteRule ^/display/GROOVY/Documentation(.*) http://groovy-lang.org/documentation.html [R,NE,L]
RewriteRule ^/display/GROOVY/Strings.and.GString(.*) http://docs.groovy-lang.org/latest/html/documentation/index.html#all-strings [R,NE,L]
RewriteRule ^/display/GROOVY/JN1015.Collections(.*) http://groovy-lang.org/groovy-dev-kit.html#_working_with_collections [R,NE,L]
RewriteRule ^/display/GROOVY/Regular.Expressions(.*) http://docs.groovy-lang.org/latest/html/documentation/index.html#_regular_expression_operators [R,NE,L]
RewriteRule ^/display/GROOVY/Differences.from.Java(.*) http://docs.groovy-lang.org/latest/html/documentation/index.html#_differences_with_java [R,NE,L]
RewriteRule ^/display/GROOVY/JN1035.Maps(.*) http://groovy-lang.org/groovy-dev-kit.html#_working_with_collections [R,NE,L]
RewriteRule ^/display/GROOVY/Installing.Groovy(.*) http://groovy-lang.org/install.html [R,NE,L]
RewriteRule ^/display/GROOVY/Closures(.*) http://docs.groovy-lang.org/latest/html/documentation/index.html#_closures [R,NE,L]
RewriteRule ^/display/GROOVY/Logical.Branching(.*) http://docs.groovy-lang.org/latest/html/documentation/index.html#_control_structures [R,NE,L]
RewriteRule ^/display/GROOVY/Scripts.and.Classes(.*) http://groovy-lang.org/structure.html#_scripts_versus_classes [R,NE,L]
RewriteRule ^/display/GROOVY/Download?nc=(.*) http://groovy-lang.org/download.html [R,NE,L]
RewriteRule ^/display/GROOVY/JN1525.Strings(.*) http://docs.groovy-lang.org/latest/html/documentation/index.html#all-strings [R,NE,L]
RewriteRule ^/display/GROOVY/Embedding.Groovy(.*) http://docs.groovy-lang.org/latest/html/documentation/index.html#_integrating_groovy_in_a_java_application [R,NE,L]
RewriteRule ^/display/GROOVY/Statements(.*) http://groovy-lang.org/semantics.html#_statements [R,NE,L]
RewriteRule ^/display/GROOVY/Input.Output(.*) http://groovy-lang.org/groovy-dev-kit.html#_working_with_io [R,NE,L]
RewriteRule ^/display/GROOVY/Grape(.*) http://docs.groovy-lang.org/latest/html/documentation/grape.html [R,NE,L]
RewriteRule ^/display/GROOVY/Control.Structures(.*) http://docs.groovy-lang.org/latest/html/documentation/index.html#_control_structures [R,NE,L]
RewriteRule ^/display/GROOVY/Groovy.Templates(.*) http://docs.groovy-lang.org/latest/html/documentation/template-engines.html [R,NE,L]
RewriteRule ^/display/GROOVY/Unit.Testing(.*) http://docs.groovy-lang.org/docs/latest/html/documentation/core-testing-guide.html [R,NE,L]
RewriteRule ^/display/GROOVY/Processing.XML(.*) http://groovy-lang.org/processing-xml.html [R,NE,L]
RewriteRule ^/display/GROOVY/Groovy.Console(.*) http://groovy-lang.org/groovyconsole.html [R,NE,L]
RewriteRule ^/display/GROOVY/Groovy.Shell(.*) http://groovy-lang.org/groovysh.html [R,NE,L]
RewriteRule ^/display/GROOVY/Operator.Overloading(.*) http://groovy-lang.org/operators.html#Operator-Overloading [R,NE,L]
RewriteRule ^/display/GROOVY/Groovy.Truth(.*) http://groovy-lang.org/semantics.html#Groovy-Truth [R,NE,L]
RewriteRule ^/display/GROOVY/InvokeDynamic.support(.*) http://groovy-lang.org/indy.html [R,NE,L]
RewriteRule ^/display/GROOVY/Builders(.*) http://groovy-lang.org/dsls.html#_builders [R,NE,L]
RewriteRule ^/display/GROOVY/Swing.Builder(.*) http://groovy-lang.org/dsls.html#_swingbuilder [R,NE,L]
RewriteRule ^/display/GROOVY/Using.Ant.from.Groovy(.*) http://docs.groovy-lang.org/latest/html/documentation/ant-builder.html [R,NE,L]
RewriteRule ^/display/GROOVY/Groovy.Release.Notes(.*) http://groovy-lang.org/releases.html [R,NE,L]
RewriteRule ^/display/GROOVY/Process.Management(.*) http://groovy-lang.org/groovy-dev-kit.html#process-management [R,NE,L]
RewriteRule ^/display/GROOVY/Beginners.Tutorial(.*) http://groovy-lang.org/learn.html [R,NE,L]
RewriteRule ^/display/GROOVY/User.Guide(.*) http://groovy-lang.org/documentation.html [R,NE,L]
RewriteRule ^/display/GROOVY/GUI.Programming.with.Groovy(.*) http://groovy-lang.org/dsls.html#_swingbuilder [R,NE,L]
RewriteRule ^/display/GROOVY/Type.checking.extensions(.*) http://docs.groovy-lang.org/latest/html/documentation/#_type_checking_extensions [R,NE,L]
RewriteRule ^/display/GROOVY/Using.Ant.Libraries.with.Antbuilder(.*) http://docs.groovy-lang.org/latest/html/documentation/ant-builder.html [R,NE,L]
RewriteRule ^/display/GROOVY/Creating.XML.using.Groovy's.MarkupBuilder(.*) http://groovy-lang.org/processing-xml.html [R,NE,L]
RewriteRule ^/display/GROOVY/Reading.XML.using.Groovy's.XmlParser(.*) http://groovy-lang.org/processing-xml.html [R,NE,L]
RewriteRule ^/display/GROOVY/Closures...Formal.Definition(.*) http://docs.groovy-lang.org/latest/html/documentation/index.html#_closures [R,NE,L]
RewriteRule ^/display/GROOVY/Groovy.Eclipse.compiler.plugin.for.Maven(.*) http://docs.groovy-lang.org/latest/html/documentation/tools-groovyeclipse.html [R,NE,L]
RewriteRule ^/display/GROOVY/Executing.External.Processes.From.Groovy(.*) http://groovy-lang.org/groovy-dev-kit.html#process-management [R,NE,L]
RewriteRule ^/display/GROOVY/Functional.Programming.with.Groovy(.*) http://groovy-lang.org/closures.html#_functional_programming [R,NE,L]
RewriteRule ^/display/GROOVY/Reading.XML.using.Groovy's.XmlSlurper(.*) http://groovy-lang.org/processing-xml.html [R,NE,L]
RewriteRule ^/display/GROOVY/Writing.Domain.Specific.Languages(.*) http://docs.groovy-lang.org/docs/latest/html/documentation/core-domain-specific-languages.html [R,NE,L]
RewriteRule ^/display/GROOVY/Groovy.style.and.language.feature.guidelines.for.Java.developers(.*) http://groovy-lang.org/style-guide.html [R,NE,L]
##################################
# FALLBACK #
Expand Down

0 comments on commit 37503df

Please sign in to comment.