is a powerful browser-independent, web-based intranet/groupware tool to
access or share almost any kind of information, without the complexity or
costs of other intranet/groupware packages. Features include:
One of its most common uses is as a powerful web-based email platform.
You can use it to provide email accounts that are easily accessible from
anywhere on the Web.
TWIG is implemented using PHP,
an HTML-embedded scripting language, and the MySQL
Connect to your Virtual Server via Telnet
- Install MySQL on
your FreeBSD-based Virtual Server.
- Install PHP4
on your Virtual Server. TWIG requires the following PHP4 dynamic
MYSQL, MCRYPT, FTP, IMAP
% vinstall php4-dso
- Install the TWIG software by running the following commands:
After TWIG is properly installed and configured, you will be able to read
your email with any web browser (e.g. Netscape or MSIE). You simply need
to access a URL like this:
TWIG will prompt you for your email username and password. After successful
authentication, the contents of your mailbox will be displayed.
Since TWIG uses IMAP it also can be used to create additional mail
folders to sort and store incoming mail. Any additional mail folders
that a user creates will be created in the user's home directory
as listed in your local password file (~/etc/passwd).
If the user's home directory happens to be defined as a directory
in the ~/www/htdocs/
directory structure (typically created in this fashion such that
the user can upload and download content to and from a Virtual
Subhost via FTP) then any mail folders these users create
using TWIG will be accessible to anyone via a web client.
Therefore, it is highly recommended that these users create
any additional mail folders under a Mail
subdirectory and create a .htaccess
file and store it in such a Mail
directory to protect the confidentiality of the mail stored therein.
The contents of a suitable .htaccess
file are shown below:
<Limit GET POST PUT DELETE>
deny from all
For more information on using TWIG, please visit their website.