[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [afnog] Sqwebmail Configuration
- To: Niran Bello <niranab at yahoo.com>
- Subject: Re: [afnog] Sqwebmail Configuration
- From: Brian Candler <B.Candler at pobox.com>
- Date: Fri, 18 Jul 2003 19:54:36 +0100
- Cc: afnog at afnog.org
- Content-Disposition: inline
- Content-Type: text/plain; charset=us-ascii
- Delivered-To: afnog-archive at lists.eahd.or.ug
- Delivered-To: afnog at afnog.org
- In-Reply-To: <20030718162900.99472.qmail at web20510.mail.yahoo.com>
- List-Archive: <http://listserv4.cfi.co.ug/pipermail/afnog>
- List-Help: <mailto:afnog-request at afnog.org?subject=help>
- List-Id: The AfNOG general discussion list <afnog.afnog.org>
- List-Post: <mailto:afnog at afnog.org>
- List-Subscribe: <http://listserv4.cfi.co.ug/mailman/listinfo/afnog>,<mailto:afnog-request at afnog.org?subject=subscribe>
- List-Unsubscribe: <http://listserv4.cfi.co.ug/mailman/listinfo/afnog>,<mailto:afnog-request at afnog.org?subject=unsubscribe>
- References: <20030718162900.99472.qmail at web20510.mail.yahoo.com>
- Sender: afnog-bounces at afnog.org
- User-Agent: Mutt/1.4.1i
On Fri, Jul 18, 2003 at 09:29:00AM -0700, Niran Bello wrote:
>
> Hi all
> I configured exim, pop3 and Sqwebmail in my network
> but i want to configure my login page too.
> I can login with
> http://myhost.mydomain/cgi-bin/sqwebmail but am i want
> a situation that I will be able to login with
> http://myhostname.mydomain/ alone/
Simplest solution: create an index.html in the top level of your webserver
document tree, which issues a redirect to the correct URL: something like
<html>
<head>
<meta http-equiv="refresh" content="0; url=/cgi-bin/sqwebmail">
</head>
<body>
<p>If your browser does not refresh automatically, please
<a href="/cgi-bin/sqwebmail">click here</a> to continue</p>
</body>
</html>
Then if someone goes to http://myhostname.mydomain/ their browser will be
directed to the right place automatically. Is that sufficient?
You can map a more friendly URL to sqwebmail, e.g.
http://myhostname.mydomain/webmail
by using ScriptAlias:
ScriptAlias "/webmail" "/usr/local/apache/cgi-bin/sqwebmail"
But it's not a good idea to map the root directory to a CGI, because you
also need to be able to serve files from the /images/ directory.
Regards,
Brian.
__________________________________________________
This is the Africa Network Operators' Group(AfNOG)
technical discussion list.
The AfNOG website is: <http://www.afnog.org>