mirror of https://github.com/apache/maven.git
non-working rule. Can't get /maven right, but /maven/ works
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@368207 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
5c62ace8a1
commit
2dcba6b9c3
|
@ -1,6 +1,5 @@
|
||||||
## IF YOU MODIFY THIS FILE, MAKE SURE IT GETS UPDATED IN SVN
|
## IF YOU MODIFY THIS FILE, MAKE SURE IT GETS UPDATED IN SVN
|
||||||
|
|
||||||
|
|
||||||
## MAVEN 1.0.2 doesn't deal with redirects. Avoid them
|
## MAVEN 1.0.2 doesn't deal with redirects. Avoid them
|
||||||
|
|
||||||
RewriteEngine on
|
RewriteEngine on
|
||||||
|
@ -16,8 +15,6 @@ RewriteRule commons-logging/jars/commons-logging-1.1-dev.jar /maven2/commons-log
|
||||||
RewriteRule strutstestcase/jars/strutstestcase-(.+).jar /maven2/strutstestcase/strutstestcase/$1/strutstestcase-$1.jar [L]
|
RewriteRule strutstestcase/jars/strutstestcase-(.+).jar /maven2/strutstestcase/strutstestcase/$1/strutstestcase-$1.jar [L]
|
||||||
RewriteRule stax-utils/jars/stax-utils-snapshot-(.+).jar /maven2/stax-utils/stax-utils/snapshot-$1/stax-utils-snapshot-$1.jar [L]
|
RewriteRule stax-utils/jars/stax-utils-snapshot-(.+).jar /maven2/stax-utils/stax-utils/snapshot-$1/stax-utils-snapshot-$1.jar [L]
|
||||||
|
|
||||||
RewriteRule maven$ /maven2/ [R]
|
|
||||||
|
|
||||||
# rewrite // to /
|
# rewrite // to /
|
||||||
#RewriteRule ^/maven//(.*) /maven/$1
|
#RewriteRule ^/maven//(.*) /maven/$1
|
||||||
RewriteRule ^/(.*)$ /maven/$1
|
RewriteRule ^/(.*)$ /maven/$1
|
||||||
|
|
Loading…
Reference in New Issue