You are viewing a plain text version of this content. The canonical link for it is here.
Posted to infrastructure-issues@apache.org by "Brian Fox (JIRA)" <ji...@apache.org> on 2010/05/24 19:46:25 UTC
[jira] Closed: (INFRA-2492) omitting the ending / in
http://repository.apache.org/snapshots and
https://repository.apache.org/snapshots results in wrong redirects or wrong
links
[ https://issues.apache.org/jira/browse/INFRA-2492?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Brian Fox closed INFRA-2492.
----------------------------
Resolution: Fixed
I adjusted the first rewrite below to do a proper direct with the / and then the second rewrite handles the proxy correctly.
#allow the snapshot url to be redirected in the future if needed, when there isn't a need for the group
RewriteRule ^/snapshots$ /snapshots/ [R,L]
RewriteRule ^/snapshots/(.*) http://localhost:8081/content/groups/snapshots/$1 [P]
> omitting the ending / in http://repository.apache.org/snapshots and https://repository.apache.org/snapshots results in wrong redirects or wrong links
> -----------------------------------------------------------------------------------------------------------------------------------------------------
>
> Key: INFRA-2492
> URL: https://issues.apache.org/jira/browse/INFRA-2492
> Project: Infrastructure
> Issue Type: Bug
> Security Level: public(Regular issues)
> Components: Nexus
> Reporter: Ulrich Stärk
> Assignee: Brian Fox
> Priority: Minor
>
> When accessing https://repository.apache.org/snapshots one gets redirected to https://repository.apache.org/content/groups/snapshots/ where it should redirect to https://repository.apache.org/content/groups/snapshots-group/.
> When accessing http://repository.apache.org/snapshots incorrect links are generated (the snapshots part after the server name missing).
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.