Hi all

I have configured to use the Domain-based templates as
per the installation document of SqWebMail. 

When I try access
http://mail.mydomain.com/cgi-bin/webmail/sqwebmail
after restarting the web server,  the SqWebMail
compalins "Can't open form template.". 

I have done following to configure the Domain-based
templates:

1.      Added SQWEBMAIL_TEMPLATEDIR to VirtualHosts
<VirtualHost mail.mydomain.com>
    ServerName mail.mydomain.com 
    DocumentRoot /var/sites/mydomain.com/mail/html
    SetEnv SQWEBMAIL_TEMPLATEDIR
/var/sites/mydomain.com/mail/template/webmail/en-us
    [...]
 </VirtualHost>

<VirtualHost 192.168.1.10:443>
 ServerName mail.mydomain.com
 DocumentRoot "/var/sites/mydomain.com/mail/html"
 SetEnv SQWEBMAIL_TEMPLATEDIR
/var/sites/mydomain.com/mail/template/webmail/en-us
 [...]
</VirtualHost>

2.      Copied all files of
/usr/local/share/sqwebmail/html/en-us to
/var/sites/mydomain.com/mail/template/webmail/en-us 

3.      Created a soft link in
/var/sites/mydomain.com/mail/template/webmail as en ->
en-us/

4.      Set world-readable to all files of
/var/sites/mydomain.com/mail/template/webmail/en-us
(ie. rw-r--r--)

5.      Restarted the Apache web server

Are there any more to configure? 

Thanks in advance.

Regards
Sagara


__________________________________
Do you Yahoo!?
The New Yahoo! Shopping - with improved product search
http://shopping.yahoo.com

Reply via email to