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:
Brett Leslie Porter 2005-11-25 07:04:39 +00:00
parent d32f5f9835
commit b4d9f55274
1 changed files with 2 additions and 0 deletions

View File

@ -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