What is Horde ?

Horde is a web application Framework.

Installing Horde

 # aptitude install horde3

Read /usr/share/doc/horde3/README.Debian.

Configuring Apache web server

In your ?VirtualHost file (perhaps 000-default), enable and Horde access and secure it (mod_access, mod_ssl, ...). For example :

Alias /horde3 /usr/share/horde3
<Directory /usr/share/horde3>
    Options FollowSymLinks
    AllowOverride Limit
    deny from all
    allow from YOUR_IP
</Directory>

Secure /etc permissions:

# chgrp www-data /etc/horde
# chmod 750 /etc/horde

Configuring Horde

When your web access is secure, remove the second and third lines from /etc/horde/horde3/conf.php file, and prepare permissions file for web configuration :

# chmod 777 /etc/horde/horde3/conf.php
# touch /etc/horde/horde3/conf.php.bak
# chmod 777 /etc/horde/horde3/conf.php.bak

# touch /var/log/horde/horde3.log
# chown root.www-data /var/log/horde/horde3.log
# chmod 770 /var/log/horde/horde3.log

Prepare your backend. For example, if you use a local MySQL server, change password and inject this file :

# gunzip < /usr/share/doc/horde3/examples/scripts/\
sql/create.mysql.sql.gz \
| mysql -u MYSQL_ADMIN -p

Then your are ready to browse Horde setup in http(s?)://YOUR_SERVEUR/horde3

With default configuration, this parameters need more attention :

- cookie path (in your web example case, change to '/horde3') - database backend configuration - authentification

Generate your configuration and change permissions of configuration files :

# chmod 644 /etc/horde/horde3/conf.php
# chmod 700 /etc/horde/horde3/conf.php.bak

Installing and configuring IMP

Installing and configuring Turba

Installing and configuring Gollem

Installing and configuring Forwards

Installing and configuring Vacation

# aptitude install sork-vacation-h3

Prepare file permissions for web configuration :

# chmod 777 /etc/horde/vacation3/conf.php
# touch /etc/horde/vacation3/conf.php.bak
# chmod 777 /etc/horde/vacation3/conf.php.bak

Generate your configuration and change permissions of configuration files :

# chmod 644 /etc/horde/vacation3/conf.php
# chmod 700 /etc/horde/vacation3/conf.php.bak