You are viewing a plain text version of this content. The canonical link for it is here.
Posted to infrastructure-issues@apache.org by "Ulrich Stärk (JIRA)" <ji...@apache.org> on 2010/02/12 16:36:27 UTC
[jira] Created: (INFRA-2492)
https://repository.apache.org/snapshots/ redirects to
https://repository.apache.org/content/groups/snapshots/ where it should
redirect to https://repository.apache.org/content/groups/snapshots-group/
https://repository.apache.org/snapshots/ redirects to https://repository.apache.org/content/groups/snapshots/ where it should redirect to https://repository.apache.org/content/groups/snapshots-group/
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
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
https://repository.apache.org/snapshots/ redirects to https://repository.apache.org/content/groups/snapshots/ where it should redirect to https://repository.apache.org/content/groups/snapshots-group/. The http equivalent does so.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[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
Posted by "Brian Fox (JIRA)" <ji...@apache.org>.
[ 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.
[jira] Commented: (INFRA-2492) omitting the ending / in
http://repository.apache.org/snapshots and
https://repository.apache.org/snapshots results in wrong redirects or wrong
links
Posted by "Gavin (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/INFRA-2492?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12850627#action_12850627 ]
Gavin commented on INFRA-2492:
------------------------------
Brian, do you agree with any of this issue, if so let me know and I'll make the necessary changes
> 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.
[jira] Updated: (INFRA-2492) omitting the ending / in
http://repository.apache.org/snapshots and
https://repository.apache.org/snapshots results in wrong redirects or wrong
links
Posted by "Ulrich Stärk (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/INFRA-2492?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Ulrich Stärk updated INFRA-2492:
--------------------------------
Description:
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).
was:https://repository.apache.org/snapshots/ redirects to https://repository.apache.org/content/groups/snapshots/ where it should redirect to https://repository.apache.org/content/groups/snapshots-group/. The http equivalent does so.
Summary: omitting the ending / in http://repository.apache.org/snapshots and https://repository.apache.org/snapshots results in wrong redirects or wrong links (was: https://repository.apache.org/snapshots/ redirects to https://repository.apache.org/content/groups/snapshots/ where it should redirect to https://repository.apache.org/content/groups/snapshots-group/)
> 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.