mirror of https://github.com/apache/maven.git
remove // in a URL
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@348904 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
d32f5f9835
commit
b4d9f55274
|
@ -3,6 +3,8 @@ RewriteEngine on
|
|||
#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
|
||||
|
|
Loading…
Reference in New Issue