Your environment for that host appears to be:
SQWEBMAIL_TEMPLATEDIR /usr/local/share/sqwebmail/mydomain.com
Therefore create a dir in /usr/local/share/sqwebmail/mydomain.com called en-us
Copy all the files from:
/usr/local/share/sqwebmail/html/en-us
to:
/usr/local/share/sqwebmail/mydomain.com/en-us
Softlink:
/usr/local/share/sqwebmail/mydomain.com/en
to:
/usr/local/share/sqwebmail/mydomain.com/en-us
Terry....
Red Rooster wrote:
Hi Terry, I'm installing Sqwebmail onto another computer and I thought did same configuration as I did on the earlier one, but I'm getting "Not Found The requested URL /[ was not found on this server." or "Forbidden You don't have permission to access / on this server." on my brower. The error log indicates that "File does not exist: /usr/local/share/sqwebmail/mydomain.com" or "Directory index forbidden by rule". I did copy sqwebmail/html to sqwebmail/html/mydomain.com with symbolic link "en" to "en-us" in sqwebmail/html/mydomain.comI must have done something right earlier. The httpd.conf is same as earlier one. I appreciate all your advice Mitz <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]...Tom,I am also having the same problem. Do you mean that you copied the en-us directory into your domain sub-directory in the http web server'sdocument root?(/var/www/html/en-us would be my path)?No, that isn't what I did. For the virtual domains you can create their individual directories in /usr/local/share/sqwebmail/html. eg. /usr/local/share/sqwebmail/html/yourdomain.com/en-us then softlink /usr/local/share/sqwebmail/html/yourdomain.com/en to /usr/local/share/sqwebmail/html/yourdomain.com/en-us Add the SetEnv in httpd.conf for the virtual host: SetEnv SQWEBMAIL_TEMPLATEDIR/usr/local/share/sqwebmail/html/yourdomain.comI copied the images/webmail to the virtual domain's image dir and aliased it: Alias /webmail /the root/of your/virt domain/images/webmailI copied the al the files in the "/usr/local/share/sqwebmail/html/en-us"and then addedthe SetEnv SQWEBMAIL_TEMPLATEDIR/usr/local/share/sqwebmail/My_Domain.comYou missed the html dir before the /My_Domain.com and you need the en-us and en dirs inside it.I tried setting "Alias /webmail/usr/local/share/sqwebmail/html/My_Domain.com" in httpd.conf.Sqwebmail using the default pre make config script will look for /webmail in Apaches root/images/ Terry....With this, Apache can load other files in this directory except for,index.html.I assume that this is the home page that the sqwebmail CGI is trying toload.No mater what I do, Apache can't find the index.html document and givesthis message as an error.Thanks for what ever help you can give me. Tom S.
