Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

My home page is broken #346

Closed
gvanrossum opened this issue Mar 23, 2014 · 11 comments
Closed

My home page is broken #346

gvanrossum opened this issue Mar 23, 2014 · 11 comments

Comments

@gvanrossum
Copy link
Member

The url "python.org/~guido" (which I've been using in my email signature for over a decade) has suddenly stopped working. The files still live on dinsdale (I've checked) so I suppose there's an issue in the redirect. IIRC this was broken once before when the new site went live, but quickly fixed (someone tweeted me that it was fixed before I even knew that it was broken). But now it's broken again. (Adding "www." in front doesn't help.)

If you think hosting the content is no longer appropriate I can understand, and I will look for an alternative, but that will take a while, and I'd still like the URL itself to remain valid (it's referenced from millions of archived email messages).

@malemburg
Copy link
Member

I've added a redirect from /~guido to http://legacy.python.org/~guido which should be live in a few minutes. In the mid-term it may be better to move the content from dinsdale over to the new site by adding pages for it.

@malemburg
Copy link
Member

Hmm, looks like the redirect system (or some other part of the site) doesn't like the leading tilde in the URL /~guido. I've added a redirect from /guido to http://legacy.python.org/~guido which works without problems. The other redirect goes straight to https://www.python.org - probably at the web server level.

@joncle
Copy link
Contributor

joncle commented Mar 23, 2014

Sounds like it'll possibly be easier to change the nginx config to try to match ~homedir and either redirect or potentially reverse proxy instead of using the redirect app. It's not really a route the Django system should be interested in evaluating.

ewdurbin added a commit to python/psf-chef that referenced this issue Mar 24, 2014
set Host header to legacy.python.org to address python/pythondotorg#346
@benjaminp
Copy link
Contributor

Fixed now.

Sorry about that. We should probably move away from tilde-homedirs eventually (you're certainly welcome to bdfl.python.org if you want), but we definitely didn't mean to just break your site like that. Its breakage was the result of a configuration change elsewhere.

@benjaminp
Copy link
Contributor

Also, now that python.org is served over https, you may want to change the "http://www.googlesyndication.com/relcontent/show_rc.js" link on your homepage to be https, too. Otherwise, most modern browsers block it for being mixed content.

@malemburg
Copy link
Member

Removed the redirects app entries again.

@gvanrossum
Copy link
Member Author

I'll think about hosting elsewhere later. I changed the googlesyndication link to https but this hasn't shown up on the site yet -- is there a copying delay?

@benjaminp
Copy link
Contributor

Well, the googlesyndication link looks dead anyway.

@gvanrossum
Copy link
Member Author

OK, deleted. But no changes are showing up. Is the source of truth no longer on dinsdale? (legacy.python.org doesn't show my changes either.)

@gvanrossum
Copy link
Member Author

The changes are now live.

@benjaminp
Copy link
Contributor

There's rather aggressive caching. You can force a cache purge with

$ curl -X PURGE https://www.python.org/~guido/

Otherwise, it's refreshed every hour.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants