[Box-Admins] webserver trunk/5.2 redirect.

Tobias Pape Das.Linux at gmx.de
Tue Oct 9 09:23:39 UTC 2018


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



More information about the Box-Admins mailing list