Hi Roan and Liangent, thanks for your explanations - how cool! \o/ Cheers, Silke
Am 30.01.2013 09:19, schrieb Liangent: > On Wed, Jan 30, 2013 at 3:51 PM, Roan Kattouw <[email protected]> wrote: >> 2013/1/29 Silke Meyer <[email protected]>: >>> Hi Ryan and all, >>> >>> you proposed me to try the instance proxy to access several web services >>> on different labs instances via one IP address. >>> >>> I found https://labsconsole.wikimedia.org/wiki/Proxy - but that's still >>> really short. How do I use it??? >>> >> Generally, assuming you have a web service running on port 80 as >> usual, you can go to http://<instancename>.instance-proxy.wmflabs.org/ >> , and it'll Just Work. For instance, I have an instance called >> ve-change-marking (FQDN: ve-change-marking.pmtpa.wmflabs) running >> MediaWiki and I access it at >> http://ve-change-marking.instance-proxy.wmflabs.org/wiki/ . >> >> You don't need any special setup for this. As long as the >> instance-proxy instance (instance-proxy itself runs in a labs instance >> :D) is able to connect to port 80 on your instance, these URLs will >> work. Note that if you're running MediaWiki on the instance, you may >> have to explicitly configure $wgServer = >> 'http://foobar.instance-proxy.wmflabs.org'; for it to work, otherwise >> MediaWiki may get confused and try to redirect you to >> http://foobar.pmtpa.wmflabs or something. > > You may also want to set $wgSquidServersNoPurge[] = '10.4.1.15'; for > MediaWiki. > > btw. I guess this IP might change if I delete and recreate that > instance. Is there a good way to avoid hard-coding this? > > -Liangent > >> >> Roan >> >> _______________________________________________ >> Labs-l mailing list >> [email protected] >> https://lists.wikimedia.org/mailman/listinfo/labs-l > > _______________________________________________ > Labs-l mailing list > [email protected] > https://lists.wikimedia.org/mailman/listinfo/labs-l > -- Silke Meyer Systemadministratorin und Projektassistenz Wikidata Wikimedia Deutschland e.V. | Obentrautstr. 72 | 10963 Berlin Tel. (030) 219 158 260 http://wikimedia.de Wikimedia Deutschland - Gesellschaft zur Förderung Freien Wissens e.V. Eingetragen im Vereinsregister des Amtsgerichts Berlin-Charlottenburg unter der Nummer 23855 B. Als gemeinnützig anerkannt durch das Finanzamt für Körperschaften I Berlin, Steuernummer 27/681/51985. _______________________________________________ Labs-l mailing list [email protected] https://lists.wikimedia.org/mailman/listinfo/labs-l
