mirror of https://github.com/apache/archiva.git
o not being used for anything
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@471159 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
8b9dfddeaf
commit
a487349a87
|
@ -1 +0,0 @@
|
|||
#groupId/jars/artifactId-version.jar groupId/artifactId/version/artifactId-version.jar
|
|
@ -1,24 +0,0 @@
|
|||
RewriteEngine on
|
||||
#RewriteLog rewrite.log
|
||||
#RewriteLogLevel 9
|
||||
RewriteMap artifact-map txt:/home/projects/maven/components/maven-meeper/src/bin/artifact-map.txt
|
||||
|
||||
# rewrite // to /
|
||||
RewriteRule ^/maven//(.*) /maven/$1
|
||||
# rewrite mapped artifact
|
||||
RewriteRule ^/maven/(.*)(\.sha1) /maven/${artifact-map:$1|$1}$2
|
||||
RewriteRule ^/maven/(.*)(\.md5) /maven/${artifact-map:$1|$1}$2
|
||||
RewriteRule ^/maven/(.*) /maven/${artifact-map:$1|$1}
|
||||
# rewrite artifact
|
||||
RewriteRule ^/maven/([^/]+)/(.+)s/(.+)-([0-9].+)\.([^0-9]+)(\.md5|\.sha1){0,1}$ /r/$1/$3/$4/$3-$4.$5$6
|
||||
# rewrite dotted groups
|
||||
RewriteRule ^/r/([^/]+)\.(.*)$ /r/$1/$2 [N]
|
||||
# final redirect
|
||||
#RewriteRule ^/r/(.*)$ /maven2/$1 [R]
|
||||
RewriteRule ^/r/(.*)$ /maven2/$1
|
||||
|
||||
# rewrite for browsing
|
||||
RewriteRule ^/maven$ /maven2/ [R]
|
||||
RewriteRule ^/maven/([^/]+)/(.+)s/(.*)$ /maven2/$1/$3 [R]
|
||||
RewriteRule ^/maven/(.*)$ /maven2/$1 [R]
|
||||
|
Loading…
Reference in New Issue