#3431 Redirect Rules For FedoraHosted Git Not Working For Basic URLs
Closed: Fixed Opened by snegrea.

= phenomenon =
FedoraHosted.org redirect not working properly after migration to cgit for simple old gitweb URLs.

'''Old URL:'''[[BR]]
http://git.fedorahosted.org/git/?p=rhq/rhq.git [[BR]]
'''Redirected to:'''[[BR]]
"Invalid request" page [[BR]]
'''Should be redirected to:''' [[BR]]
http://git.fedorahosted.org/cgit/rhq/rhq.git/ [[BR]]

An example of an URL redirect that currently works:[[BR]]
'''Old URL:'''[[BR]]
http://git.fedorahosted.org/git/?p=rhq/rhq.git;a=summary [[BR]]
'''Is correctly redirected to:'''[[BR]]
http://git.fedorahosted.org/cgit/rhq/rhq.git/ [[BR]]

= reason =
Looks like the redirect works if ;a=summary moniker is appended at the end of the old URL, but does not work without it.

= fix recommendation =
Please update the redirect rules to correctly redirect the most basic old gitweb URL to the new cgit.


ok. I think I have this fixed.

Can you confirm?

Thank you! I can confirm that the URL it correctly redirected now.

Metadata