Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Redirect old URLs #19

Closed
szabgab opened this issue Oct 31, 2014 · 1 comment
Closed

Redirect old URLs #19

szabgab opened this issue Oct 31, 2014 · 1 comment

Comments

@szabgab
Copy link
Owner

szabgab commented Oct 31, 2014

Historically many people have been linking to version specific files on search.cpan.org.
When that version of the module is removed from CPAN, these links become broken.

Instead of showing an 'Not found' error sco. could redirect those URLs to the stable URL.

This is only relevant if this code is used to run sco.

For example

http://sco.perlmaven.com/~szabgab/CPAN-Test-Dummy-SCO-Pirated-1.03/lib/CPAN/Test/Dummy/SCO/Pirated.pm is going to be deleted soon. It should redirect to
http://sco.perlmaven.com/dist/CPAN-Test-Dummy-SCO-Pirated/lib/CPAN/Test/Dummy/SCO/Pirated.pm

In order to avoid the need to keep track of all the old releases we might want to redirect even urls such as
http://sco.perlmaven.com/~szabgab/CPAN-Test-Dummy-SCO-Pirated-1.02/lib/CPAN/Test/Dummy/SCO/Pirated.pm
that were never on CPAN.

@szabgab
Copy link
Owner Author

szabgab commented Oct 31, 2014

implemented

@szabgab szabgab closed this as completed Oct 31, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant