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>