This whole proxy discussion is a bit of topic though seeing as my
inquiry was about DNS related issues.
On Mon, 6 Sep 2004 14:42:01 +0100, Minty <mintywalker(a)gmail.com> wrote:
Hello. Sort of jumping in from nowhere, hope thats
ok.
OK, that's a complicated situation. I'd
suggest setting up
a weekly-updated mirror at wikipedia.is and redirecting all
edit-requests to the
wikipedia.org
You could also use an apache setup, and do proxypassing and caching.
This is a bit random, but fwiw :
No weekly updates - it requests docs as it needs them. Tweaking the
cache settings would control your bandwidth usage - either force it to
cache for ~1 week, or else check on each request if it needs to
re-download the source. Assuming the original wikipedia site allows
you to cache it's pages....
This would also let dynamic content be served from your .is domain
(logged in users), although it would push the bandwidth usage of your
"proxy" up quite a bit.
A couple more apache config rules would tell it to redirect edit
requests to the original. Although, technically, you might prefer to
have these sent through your local domain, and have it act as a proxy.
That way edits don't dump users at the .org site.
I may have missed something, but I think from a vanilla apache setup,
you can get this working with exactly no coding and only about 5-10
lines in the apache config. Quite neat really.....
It does assume all the links in the html are relative and don't
specify a domain in full, but that does appear to be the case from a
quick scan. If they did exist, your users would end up back on the
original .org site.
I should also point out that I'm not taking about a proxy that would
require anyone to tinker with their browser settings, nor would it
work for anything other than the wikipedia site.
- User requests
www.wikipedia.is/something
- Request arrives at
www.wikipedia.is machine/apache
- apache proxies the request to
is.wikipedia.org/something
- returns the result to user
Obviously it would be a tad slower than going to the original site direct.
Anyway.... I should also point out that the vast majority of people
(namely, world minus geek) rarely pay the slightest attention to the
url anyway - hence why you see search queries for domain names. But
then, those people probably aren't on this list :)
_______________________________________________
Wikitech-l mailing list
Wikitech-l(a)wikimedia.org
http://mail.wikipedia.org/mailman/listinfo/wikitech-l