Skip to content
Permalink
Browse files
Merge pull request #1 from rlenferink/add-redirects
Added .htaccess files for initial gen-docs
  • Loading branch information
seelmann committed Nov 30, 2020
2 parents c09730a + 6328c1a commit 6c2989847db6d2f0c940f91f26de9b445ed69afd
Showing 4 changed files with 43 additions and 0 deletions.
@@ -0,0 +1,10 @@
Options +FollowSymLinks
RewriteEngine On

# Redirect to the latest release
RewriteRule ^latest$ https://nightlies.apache.org/directory/apacheds/2.0.0.AM26/ [QSA,L]
RewriteRule ^latest/(.*)$ https://nightlies.apache.org/directory/apacheds/2.0.0.AM26/$1 [QSA,L]

# Redirect everything else
RewriteRule ^(.*)$ https://nightlies.apache.org/directory/apacheds/$1 [QSA,L]

@@ -0,0 +1,13 @@
Options +FollowSymLinks
RewriteEngine On

# Redirect to the latest releases
RewriteRule ^latest$ https://nightlies.apache.org/directory/api/1.0.2/ [QSA,L]
RewriteRule ^latest/(.*)$ https://nightlies.apache.org/directory/api/1.0.2/$1 [QSA,L]

RewriteRule ^latest2$ https://nightlies.apache.org/directory/api/2.0.1/ [QSA,L]
RewriteRule ^latest2/(.*)$ https://nightlies.apache.org/directory/api/2.0.1/$1 [QSA,L]

# Redirect everything else
RewriteRule ^(.*)$ https://nightlies.apache.org/directory/api/$1 [QSA,L]

@@ -0,0 +1,10 @@
Options +FollowSymLinks
RewriteEngine On

# Redirect to the latest release
RewriteRule ^latest$ https://nightlies.apache.org/directory/fortress/2.0.5/ [QSA,L]
RewriteRule ^latest/(.*)$ https://nightlies.apache.org/directory/fortress/2.0.5/$1 [QSA,L]

# Redirect everything else
RewriteRule ^(.*)$ https://nightlies.apache.org/directory/fortress/$1 [QSA,L]

@@ -0,0 +1,10 @@
Options +FollowSymLinks
RewriteEngine On

# Redirect to the latest release
RewriteRule ^latest$ https://nightlies.apache.org/directory/mavibot/1.0.0-M8/ [QSA,L]
RewriteRule ^latest/(.*)$ https://nightlies.apache.org/directory/mavibot/1.0.0-M8/$1 [QSA,L]

# Redirect everything else
RewriteRule ^(.*)$ https://nightlies.apache.org/directory/mavibot/$1 [QSA,L]

0 comments on commit 6c29898

Please sign in to comment.