On Friday 05 August 2005 20:36, Shlomi Fish wrote:
> Hi!
>
.
.
.
> 4. Organizing /iglu
> -------------------
>
> Once upon a time, we had the /iglu volume for all the web-hosted files and
> everyone were happy. Then, came several virtual hosts which were directed
> to eskimo: Hackers-IL, Python-IL, Welcome-to-Linux, wiki.perl.org.il. I
> placed the first three straight under /iglu as /iglu/Hackers-IL/ etc.
>
> Then I decided putting them there together with the rest of the /iglu
> sub-directories was not such a good idea, and created a
> sub-directory /iglu/Hosts for them. However, only wiki.perl.org.il can be
> found there at the moment.
>
> I'd like to invest some spare cycles into moving the rest of the virtual
> hosts into the /Hosts. It shouldn't be too hard - just re-configuring
> apache, doing the move, and reloading apache.
>
This tasklet is done. "ls /iglu/Hosts/ | cat" now reads:
<<<
Python-IL
Welcome-to-Linux
common
wiki.perl.org.il
www.hackers.org.il
>>>
It's a bit inconsistent but to quote Larry Wall: "The problem with being
consistent is that there are lots of ways to be consistent, and they're all
inconsistent with each other."
In any case, transferring the wikis involved changing the LocalSettings.php
file of each MediaWiki. It has something like:
<<<
$IP = "/iglu/Hosts/www.hackers.org.il/wikis/MediaWiki/mediawiki";
ini_set( "include_path", ".:$IP:$IP/includes:$IP/languages" );
require_once( "DefaultSettings.php" );
>>>
This may be just what we need in order to set up a site-global MediaWiki
installation. I think I'll ask people on the IRC about it.
Regards,
Shlomi Fish
---------------------------------------------------------------------
Shlomi Fish [EMAIL PROTECTED]
Homepage: http://www.shlomifish.org/
Tcl is LISP on drugs. Using strings instead of S-expressions for closures
is Evil with one of those gigantic E's you can find at the beginning of
paragraphs.