I use Zimbra 7.1. I configured fetchmail that every 10 minutes downloads all emails from the remote server to my zimbra server.

However I would like to use a cgi script that the user can start and thus download emails as he wants. I configured /opt/zimbra/httpd/conf/httpd.conf and put the script into /opt/zimbra/httpd/cgi-bin. However if I write an url - http://local.zimbra.com/cgi-bin/download it displays that the url was not found.

Please, can you help me how to configure zimbra http to use cgi?