Ben Holt wrote:
david rankin said the following on 05/03/05 10:26:
Mates,
Hopefully a simple questions. I have SM installed in /var/www/html/sqmail. All works well with rbpllc.com and rankin-bertin.com that use /var/www/html as their document root. But, I also have 3 other domains (all point to the same IP) that point to /var/www/glf and /var/www/drr and /var/www/rlf as their document root on my server. The document roots are set in the apache vhosts.com
THE PROBLEM
Everybody can get to SM using www.rbpllc.com or www.rankin-bertin.com, but nobody can get to SM using their own domain names because (I guess) of the different document root paths specified in the apache setup.
Does anybody know of a quick fix for this?? Is there another variable I can set in the vhost.conf that will let the other domain users access sqmail from their domains as well? Any help would be appreciated.
This is more of a web server configuration question than a squirrelmail question. Assuming you are using apache and have mod_alias available put something like the following in your virtual host configurations for your domains with different document root directives:
Alias /sqmail /var/www/html/sqmail
More info here: http://httpd.apache.org/docs/mod/mod_alias.html#alias
Or just use symlinks.
-paul
------------------------------------------------------- This SF.Net email is sponsored by: NEC IT Guy Games. Get your fingers limbered up and give it your best shot. 4 great events, 4 opportunities to win big! Highest score wins.NEC IT Guy Games. Play to win an NEC 61 plasma display. Visit http://www.necitguy.com/?r=20 -- squirrelmail-users mailing list Posting Guidelines: http://squirrelmail.org/wiki/wiki.php?MailingListPostingGuidelines List Address: [email protected] 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
