WIG is a gateway designed to provide a link between a flash client - by instance WFIC which is available at WFIC - and an IRC server. This gateway thus make it possible to use a flash client to connect itself to an IRC server, which changes from usual java clients.
WIG requires a PHP 4 compiled with CLI sapi. Indeed, it is not a web script but a shell script, so there is no deal with apache or any other web server. Consequently, WIG also requires a shell acces in order to launch it.
First of all, you need to unpack the file available on this site in the directory where you wish to install WIG - don't forget that it is an executable which is used within a shell, so don't put it in a web directory !
Then, you need to edit the file wig-gateway.cli to fit your server configuration, and finaly, lauch it (./wig-gateway.cli is a good way to run it :)).
Here various directives of configuration :
The WIG project also contains a file named wig-cron.cli, which is used to check if the gateway still runs and to start again if it need to be. It appeared that on certain configuration, the gateway stopped all alone, without being able to find the reason of it.
The use of the cron is simple, it is enough to program a install a cron job which will launch this script with regular interval - according to your needs - 15 minutes seems to be a good delay.
It is on the other hand necessary for the first time to launch the gateway using the cron script, for reasons of path of the file during the checking. That can be done by launching within a Shell the file of the cron (./wig-cron.cli by instance).
This project and source codes referring to it are under the Creative Commons Attribution-NonCommercial-ShareAlike 1.0 license.
The WIG gateway was never tested under Windows. There is no guarantee of its operation on this platform, with the sight of the significant differences in management of the sockets.
The WIG gateway wasn't tested under other *nix than linux. Nevertheless it seems it will function on these platforms, PHP taking care of the differences between these platforms.
The customers hosted in mutualized at WDMédia Hébergement do not need this gateway, as it is already installed on the whole of the servers and is connected to the PlaneSpells.net network
06 august 2004
26 march 2004
© Copyright 2003-2004 Nicolas Lafont aka Manico