"Zack Weinberg" <z...@owlfolio.org> writes:

> On Mon, May 13, 2024, at 11:33 PM, Jacob Bachmeyer wrote:
>> Zack Weinberg wrote:
>>> On Thu, Apr 4, 2024, at 6:50 PM, Jacob Bachmeyer wrote:
>>>> Zack Weinberg wrote:
>>>>> (N.B. The Savannah URLs look a little too cgit-specific to trust
>>>>> that they will still be good twenty years from now.
>>>> I would agree that getting some stable redirects would be nice
>>>> ...
>>>> Logically, the redirects would be at
>>>> www.gnu.org/software/config/config.{guess,sub}
>>>
>>> Yeah, those paths look good.  Do you have any idea who to talk to to
>>> make that happen?
>>
>> I would suggest contacting webmas...@gnu.org for that.
>
> Turns out /software/config is under our control, in the same way that
> /software/autoconf is.  It should be sufficient to apply this patch to the
> config-web CVS repository (https://savannah.gnu.org/cvs/?group=config):
>
> --- /dev/null 2024-05-14 09:16:42.181936154 -0400
> +++ .htaccess 2024-05-14 09:32:57.063158152 -0400
> @@ -0,0 +1,4 @@
> +Redirect permanent /software/config/config.guess 
> https://git.savannah.gnu.org/cgit/config.git/plain/config.guess
> +Redirect permanent /software/config/config.sub   
> https://git.savannah.gnu.org/cgit/config.git/plain/config.sub
> +Redirect permanent /software/config/index.html   
> https://savannah.gnu.org/projects/config
> +Redirect permanent /software/config/             
> https://savannah.gnu.org/projects/config

If your intention is to be able to update URLs if cgit goes away etc.,
you might want to reconsider permanent redirects.  Permanent can be
/very/ permanent, and user agents, including browsers, will cache them
forever, and never see an updated redirect.

(So they're basically only useful when you want to delegate the
responsibility for future redirects to the new URL.)

https://stackoverflow.com/questions/9130422/how-long-do-browsers-cache-http-301s

> --- index.html        2024-05-14 09:33:55.366151542 -0400
> +++ /dev/null 2024-05-14 09:16:42.181936154 -0400
> @@ -1,2 +0,0 @@
> -<meta http-equiv="refresh" content="0;
> -        url=https://savannah.gnu.org/projects/config";>
>
> (beware of long lines)
>
> Dmitry, can you commit this, please?  It's logically independent of
> the patches to the actual code.
>
> zw
>
> p.s. I tried to put in a request for commit access to config but
> https://savannah.gnu.org/my/groups.php?words=config#searchgroup brings
> up only something unrelated, not the actual 'config' group.

Attachment: signature.asc
Description: PGP signature

Reply via email to