2 messages in net.sourceforge.lists.courier-sqwebmailRe: [sqwebmail] webmail.mydomain.com
FromSent OnAttachments
Victor - iFortressDec 6, 2004 12:14 pm 
Camilo RostokerDec 7, 2004 11:54 pm 
Actions with this message:
Paste this link in email or IM:
Paste this link in email or IM:
Atom feed for this thread
Paste this URL into your reader:
Subject:Re: [sqwebmail] webmail.mydomain.comActions...
From:Camilo Rostoker (cam@scottsdale.ca)
Date:Dec 7, 2004 11:54:34 pm
List:net.sourceforge.lists.courier-sqwebmail

You need to create a virtual subdomain for webmail.mydomain.com. Then you can either (1) use a seperate directory altogether, which will require you to rebuild sqwebmail and specify the new location (for html and cgi-bin) or (2) you can just make webmail.mydomain.com an alias to your main apache directory which is /usr/local/apache2/cgi-bin

For (2), assuming you're using name-based virtual host:

<VirtualHost your.ip.address.here> ServerName webmail.mydomain.com DocumentRoot /usr/local/apache2/webmail ScriptAlias /cgi-bin/ /usr/local/apache2/cgi-bin </VirtualHost>

now just make sure to create /usr/local/apache2/webmail so that sqwebmail can store its images and css files.

For (1), just replace DocumentRoot and ScriptAlias to whatever you want, i.e. /www/webmail and then rebuild sqwebmail specifying the cgi-bin and images directories like this:

./configure --enable-cgibindir=/www/webmail/cgi-bin --enable-imagedir=/www/webmail/images

That should do it I think... HTH, Camilo

Victor - iFortress wrote:

Hye,

I use Apache VirtualHost. How I can open SqWebMail like this: http://webmail.mydomain.com ??

Ps. My SqWebMail was installed on /usr/local/apache2/cgi-bin/

Tank's until the moment.

Victor Gustavo Volpe vic@ifortress.com.br <mailto:vic@ifortress.com.br>