This repository has been archived by the owner on Apr 19, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 11
/
.htaccess
executable file
·30 lines (24 loc) · 2.5 KB
/
.htaccess
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
RewriteEngine on
RewriteRule ^([0-9]+)/html-docs$ http://%{HTTP_HOST}/builds/$1/html-docs/ [R,L]
RewriteRule ^([0-9]+)/html-docs/$ http://repository-projectodd.forge.cloudbees.com/incremental/torquebox/$1/html-docs/index.html [P]
RewriteRule ^([0-9]+)/getting-started$ http://%{HTTP_HOST}/builds/$1/getting-started/ [R,L]
RewriteRule ^([0-9]+)/getting-started/$ http://repository-projectodd.forge.cloudbees.com/incremental/torquebox/$1/getting-started/index.html [P]
RewriteRule ^([0-9]+)/javadocs$ http://%{HTTP_HOST}/builds/$1/javadocs/ [R,L]
RewriteRule ^([0-9]+)/javadocs/$ http://repository-projectodd.forge.cloudbees.com/incremental/torquebox/$1/javadocs/index.html [P]
RewriteRule ^([0-9]+)/yardocs$ http://%{HTTP_HOST}/builds/$1/yardocs/ [R,L]
RewriteRule ^([0-9]+)/yardocs/$ http://repository-projectodd.forge.cloudbees.com/incremental/torquebox/$1/yardocs/index.html [P]
RewriteRule ^([0-9]+)/(.*)$ http://repository-projectodd.forge.cloudbees.com/incremental/torquebox/$1/$2 [P]
RewriteRule ^(LATEST/)?html-docs$ http://%{HTTP_HOST}/builds/$1html-docs/ [R,L]
RewriteRule ^(LATEST/)?html-docs/$ http://repository-projectodd.forge.cloudbees.com/incremental/torquebox/LATEST/html-docs/index.html [P]
RewriteRule ^(LATEST/)?getting-started$ http://%{HTTP_HOST}/builds/$1getting-started/ [R,L]
RewriteRule ^(LATEST/)?getting-started/$ http://repository-projectodd.forge.cloudbees.com/incremental/torquebox/LATEST/getting-started/index.html [P]
RewriteRule ^(LATEST/)?javadocs$ http://%{HTTP_HOST}/builds/$1javadocs/ [R,L]
RewriteRule ^(LATEST/)?javadocs/$ http://repository-projectodd.forge.cloudbees.com/incremental/torquebox/LATEST/javadocs/index.html [P]
RewriteRule ^(LATEST/)?yardocs$ http://%{HTTP_HOST}/builds/$1yardocs/ [R,L]
RewriteRule ^(LATEST/)?yardocs/$ http://repository-projectodd.forge.cloudbees.com/incremental/torquebox/LATEST/yardocs/index.html [P]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(LATEST/)?(.*)$ http://repository-projectodd.forge.cloudbees.com/incremental/torquebox/LATEST/$2 [P]
SetEnvIfNoCase Request_URI torquebox-dist-bin\.zip$ torquebox-latest
Header set Content-Disposition \
"attachment; filename=torquebox-dist-bin.zip" env=torquebox-latest