Htaccess File

immutant/immutant.org/master/builds/.htaccess

REQUEST_FILENAME, REQUEST_URI
RewriteEngine on

RewriteRule ^([0-9]+)/(.*)$                         http://downloads.immutant.org/incremental/immutant/$1/$2 [P]

RewriteRule ^(torquebox-immutant.zip)$             http://projectodd.ci.cloudbees.com/job/overlay/lastSuccessfulBuild/artifact/target/$1 [P]

RewriteRule ^build-info/(.*)$                       https://projectodd.ci.cloudbees.com/$1 [P]

RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(LATEST/)?(.*)$                        http://downloads.immutant.org/incremental/immutant/LATEST/$2 [P]

SetEnvIfNoCase Request_URI immutant-dist-bin.zip$ immutant-latest
Header set Content-Disposition 
    "attachment; filename=immutant-dist-bin.zip" env=immutant-latest

SetEnvIfNoCase Request_URI torquebox-immutant.zip$ torquebox-immutant
Header set Content-Disposition 
    "attachment; filename=torquebox-immutant.zip" env=torquebox-immutant
Exit mobile version