[prev in list] [next in list] [prev in thread] [next in thread]
List: squirrelmail-users
Subject: Re: [SM-USERS] simple squirrelmail question
From: karlp () ourldsfamily ! com
Date: 2005-07-27 17:28:31
Message-ID: 34332.207.173.117.242.1122485311.squirrel () ourldsfamily ! com
[Download RAW message or body]
>
> On Wed, July 20, 2005 9:32 pm, jonn ah wrote:
>> hi,
>>
>> I'd like to remove the "/webmail" from the url and I'd like like it to
>> point directly to http://mail.mydomain.com instead of
>> http://mail.mydomain.com/webmail, is this possible?
>>
>> if so, can somebody please tell me how?
>>
>> thanks!
>>
>>
>
> It seems that you want your users to be automatically redirected to your
> webmail. If that is correct, why not just redirect them with your
> index.html page on mail.mydomain.com to mail.mydomain.com/webmail.
>
> listing for index.html.en
>
> <HTML>
> <meta http-equiv="refresh" content="0; URL=/webmail/index.php">
> </HTML>
>
> If that is not what you were trying to acheive then feel free to ignore
> me.
>
This is how I did it (http://webmail.ourldsfamily.com is my URL):
In /etc/httpd/conf/httpd.conf, I added the lines in the Directory section:
<Directory /var/www/html/webmail>
Allow from localhost
Options ExecCGI Indexes MultiViews FollowSymLinks Includes
</Directory>
And then in the Virtual Hosts section:
<VirtualHost *>
ServerAdmin root@ourldsfamily.com
DocumentRoot /var/www/html/webmail
ServerName webmail.ourldsfamily.com
ServerAlias webmail webmail.ourldsfamily.com www.webmail.ourldsfamily.com
ErrorLog /var/log/httpd/error_log.webmail
CustomLog /var/log/httpd/access_log.webmail common
ErrorDocument 403 /403.shtml
ErrorDocument 404 /404.shtml
</VirtualHost>
I also had to add a host in my named/ourldsfamily DNS so the correct IP is
read and listened to.
HTH
Karl
-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click
--
squirrelmail-users mailing list
Posting Guidelines: http://squirrelmail.org/wiki/wiki.php?MailingListPostingGuidelines
List Address: squirrelmail-users@lists.sourceforge.net
List Archives: http://news.gmane.org/thread.php?group=gmane.mail.squirrelmail.user
List Archives: http://sourceforge.net/mailarchive/forum.php?forum_id=2995
List Info: https://lists.sourceforge.net/lists/listinfo/squirrelmail-users
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic