A

Meta http-equiv="refresh" content="0;url=http://mail.somewhere.com/cgi-bin/somewhere";

tag in the index of a virtual host would do the trick.

Also,

An alias would work in only this case:

UseCanonicalName On #is specified in your httpd.conf file for the master host with 
aliases to all other domains mail.x.y

And you copy the login page the CGI gives you and in the form action
paramater, you put an SSI using the environment variable SERVER_NAME, to
reference a symlink (or the directory itself) to the right file. If you
uuse a symlink you need Options FollowSymlinks also for the host.

Thanks,
Justin M. Shomo

On Fri, 8 Jun 2001, Alex Le Fevre wrote:

> > I hope I understand what your asking.
> 
> Actually, I think what he's trying to do is the same thing I've been trying 
> to do -- make mail.domain.com equivalent to 
> www.domain.com/cgi-bin/sqwebmail. In that case, an alias wouldn't work, 
> because that would require www.domain.com/alias/, not mail.domain.com. Of 
> course, it's probably a question more for an Apache list, but if you or 
> someone else knows how to do that, it would make both of us quite happy. :-) 
> 
> Alex Le Fevre
> 

-- 
===============================================================================
                        Justin M. Shomo, CEO
                        TransWan Corporation
                        [EMAIL PROTECTED]
                        http://www.transwan.com
                        303-466-9626
                        910 15th St. Ste. 751
                        Denver, CO 80202
-------------------------------------------------------------------------------

TransWan Corporation

IP and ATM Based Communication protocols, software, and services.

===============================================================================


Reply via email to