Re: webmail.<mydomain>
Thanks for your answer,
i just had to copy the ssl modules from /etc/apache2/mods-available/ to
/etc/apache2/mods-enabled/ and to had the below section to
/etc/apache2/sites-enabled/000-default adapted to my own server.
There's still one problem tp be sold: the Alias directive allows to
connect to https://<mydomain>/webmail/.
However, i need to connect to https://webmail.mydomain. As i know, it
involves with DNS servers. Any idea?
Regards,
Stevan
> On Sunday 16 January 2005 12.16, Stevan Kanban wrote:
>> Hello
>>
>> I'm still using my courier-imap-ssl and squirrelmail.
>> I cannot understand following:
>> To access my webmail on my favorite browser i need
>> http://<mydomain>:443, however the 443 port is the ssl http port (see
>> /etc/services) and i've written 443 in /etc/apache2/ports.conf.
>> That would mean that squirrelmail redirects http requests to imap ones?
>>
>> OK, but how can i have a webmail adress as webmail.<domain> or
>> imap.<domain>? For example, in my bind domain zone i refer to ftp
>> sothat my ftp.<domain> is recognized on the internet.
>>
>> I hope i'm clear enough.
>>
>> --
>> Stevan Kanban
>
> I'm not quite sure what you mean. And I am not an expert here.. but if it
> can help.
>
> Squirrelmail will not redirect any http (actually https) requests. It's
> the webserver (apache2) that handles the http requests. If you can access
> the webmail via http://<yourdomain>:443 then all is fine so far. What you
> probably need is to bind webmail.<yourdomain> to the IP address of your
> server, and then setup apache2 to redirect https requests for
> webmail.<yourdomain> to the particular directory where Squirrelmail is
> located. I am using a VirtualHost in apache2 to do this:
>
> <VirtualHost <my IP address>:443>
> DocumentRoot "/var/swww/"
> ServerName <myservername>:443
> ServerAdmin <servairadminmail>
>
> ... more stuff...
>
> Alias /webmail "/usr/share/squirrelmail/"
> <Directory "/usr/share/squirrelmail/">
> php_flag register_globals on
> Options Indexes FollowSymLinks
> <IfModule mod_dir.c>
> DirectoryIndex index.php
> </IfModule>
> </Directory>
> </VirtualHost>
>
> Regards
> Olle
>
>
--
Stevan Kanban
Reply to: