mirror of https://github.com/apache/maven.git
allow, eg, dom4j
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@348897 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
2ad3a3d8f3
commit
d32f5f9835
|
@ -8,7 +8,7 @@ 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
|
||||
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
|
||||
|
|
Loading…
Reference in New Issue