
Web Calendar Quick Installation & Setup
- Download the latest Web Calendar distribution from the EMUMAIL website at http://www.emumail.com/downloads/. Save the distribution to a temporary directory
and install it.
- Update your Apache configuration to include necessary directives for Calendar.
If you
are using the bundled Apache web server, edit your /home/EMU/apache/httpd-webmail init script and change line 18 to the
following,
HTTPD="/home/EMU/apache/httpd -DEnableCalendar"
If you are configuring your own Apache server, you must add the necessary directives to the Apache config file. Here is an
example of the additions. Note: Ensure that that long lines do not wrap in your config file.
<Directory /home/EMU/calendar/bin/>
Options FollowSymlinks ExecCGI
</Directory>
Alias /webmail /home/EMU/webmail/html
RewriteEngine on
# Default to /webmail
RewriteRule ^/$ /webmail/ [R,L]
RewriteCond %{REQUEST_URI} !^/(webmail)
# Map images to the interface's images directory
RewriteRule ^/+images/([^/]*)/(.*) /home/EMU/calendar/ui/$1/images/$2 [NC,L]
RewriteCond %{REQUEST_URI} !^/(webmail)
# Map all other requests through the Calendar engine
RewriteRule ^/+(.*) /home/EMU/calendar/bin/emu.fcgi/$1 [NC,L,E=PERL5LIB:/home/EMU/lib]
# Enable FastCGI
FastCgiServer /home/EMU/calendar/bin/emu.fcgi -listen-queue-depth 50 -processes 2 -idle-timeout
300 -flush -initial-env PERL5LIB=/home/EMU/lib
Add the following lines to your site.emu file,
# The relative path to Calendar
cal_url = /Calendar
# The filesystem path to Calendar
cal_path = /home/EMU/calendar
Done! The next time you login to Webmail you should see a 'Calendar' link in the left-hand
menu.