make squeaksource work without www

Lukas Renggli renggli at gmail.com
Sun Apr 22 18:47:43 UTC 2007


> > Package checkout already works but when saving a version, Monticello
> > gets a HTTP 302 status.
>
> That's a problem with HTTPSocket (this would then be infinite plus one).
> Basically you should use www instead and SqueakSource tells you to do
> so (via http, 303 would probably be better, semantically) but
> HTTPSocket just does not care, like it does for a lot of things, for
> example your proxy if POSTing.
> Possible solutions:
> - replace HTTPSocket with something that works like Curl
> - use www
> Don't even think about fixing HTTPSocket.

The current configuration redirects all host-names not equal to
www.squeaksource.com to the official domain. I guess this redirect
cannot be handled by HTTPSocket. It should work in you web browser or
using Curl.

We needed to introduce this (permanent) redirect because SqueakSource
was moved several times to different machines and there are a lot of
people that are still using the original server names.

Cheers,
Lukas

-- 
Lukas Renggli
http://www.lukas-renggli.ch



More information about the Squeak-dev mailing list