[Box-Admins] webserver trunk/5.2 redirect.

Fabio Niephaus lists at fniephaus.com
Tue Oct 9 09:52:05 UTC 2018


I'm the one to blame...thanks for reverting!

Fabio
On Tue, 9 Oct 2018 at 11:23 am, Tobias Pape <Das.Linux at gmx.de> wrote:

> Hi all,
>
> Someone put this line into /etc/nginx/sites-enabled/filessqueakorg.conf
>
>         rewrite ^/trunk$ /5.2beta permanent;
>
> Please please please do not do this.
>
> First, "permanent" makes it near impossible to redirect trunk to something
> else than /5.2beta (because clients won't even bother requesting /trunk
> anymore),
> Second, "^/trunk$" will rewrite files.squeak.org/trunk but NOT
> files.squeak.org/trunk/ (which we link from squeak.org…).
> Third, /5.2beta is wrong and should be rc1 now.
>
> The correct way is this:
>
>         cd /var/www/files.squeak.org
>         rm -f trunk
>         ln -s 5.2rc1 trunk
>
> And _not_ change the config.
>
> I fixed it.
>
> Thanks.
>         -Tobias
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.squeakfoundation.org/pipermail/box-admins/attachments/20181009/e1e1a2f9/attachment.html>


More information about the Box-Admins mailing list