Re: url of sqwebmail too long!!!!
At 14:24 08/06/01, 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 I'm not sure if this will help or not, but here's what I do: I've installed both qmailadmin and sqwebmail in /www/webmail/cgi-bin In /etc/tinydns/data/root, for each of my subhosted domains, I add a line like the following: +webmail.justalafusta.com:216.216.32.170 In /usr/local/apache/conf/httpd.conf: DocumentRoot /www/justalaf ScriptAlias /cgi-bin/ /www/justalaf/cgi-bin/ ServerAdmin [EMAIL PROTECTED] ServerName justalafusta.com ServerAlias www.justalafusta.com User justalaf Group justalaf RLimitCPU 30 30 RLimitMEM 2500 2500 RLimitNPROC 10 10 TransferLog /home/justalaf/logs/access.log DocumentRoot /www/webmail ScriptAlias /cgi-bin/ /www/webmail/cgi-bin/ ServerAdmin [EMAIL PROTECTED] ServerName webmail.justalafusta.com SetEnv SQWEBMAIL_TEMPLATEDIR /usr/local/share/sqwebmail/justalaf SetEnv QMAILADMIN_TEMPLATEDIR /usr/local/share/qmailadmin/justalaf RLimitCPU 30 30 RLimitMEM 2500 2500 RLimitNPROC 20 20 TransferLog /home/justalaf/logs/access.log Then I have links to both sqwebmail and qmailadmin on the page at /www/webmail/index.html Qmail Admin Sqwebmail HTH -- All the best (Adéu-siau), Lou Hevly [EMAIL PROTECTED] http://www.visca.com
Re: url of sqwebmail too long!!!!
From: "Massimo Quintini" <[EMAIL PROTECTED]> > How can I use an URL short (like mail.te.astro.it) instead of > mail.te.astro.it/cgi-bin/sqwebmail Like so many other people suggested, this is what I use: (this probably got wrapped - my apologies) bash-2.04# cat /var/www/htdocs/mail.updegrove.net/html/index.html https://mail.updegrove.net/cgi-bin/sqwebmail?index=1";> redirect You are being redirected to https://mail.updegrove.net/cgi-bin/sqwebmail?index=1";> https://mail.updegrove.net/cgi-bin/sqwebmail?index=1 if you do not arrive within seconds please click https://mail.updegrove.net/cgi-bin/sqwebmail?index=1>here Hope that helped, Rick Up
Re: url of sqwebmail too long!!!!
We set it up with apache with a virtual host, then stuck in index.html in there with this: Webmail http://domain/cgi-bin/sqwebmail";> Loading > > -Original Message- > > From: Massimo Quintini [mailto:[EMAIL PROTECTED]] > > Sent: 08 June 2001 08:46 > > To: [EMAIL PROTECTED] > > Subject: url of sqwebmail too long > > > > > > How can I use an URL short (like mail.te.astro.it) instead of > > mail.te.astro.it/cgi-bin/sqwebmail > > > > I have tried with VirtualHost directive of Apache Web Server without > > success!!! > > > > Thanks. > > > > -- > > Massimo Quintini > > Osservatorio Astronomico Collurania Teramo > > Via Mentore Maggini s.n.c. 64100 TERAMO (Italy) > > Tel +39-0861210490 Fax +39-0861210492 > > http://www.te.astro.it > > > >
RE: url of sqwebmail too long!!!!
Why not just use a http refresh and point to the correct url thats what i have done and it only takes a few seconds to do. http://webmail.yourdomain.com/cgi-bin/sqwebmail";> thanks Jps -Original Message- From: Troy Settle [mailto:[EMAIL PROTECTED]] Sent: Friday, June 08, 2001 9:33 AM To: [EMAIL PROTECTED] Subject: RE: url of sqwebmail too long How about: RewriteRule ^/$ /cgi-bin/sqwebmail [R] In your apache configuration. -Troy ** -Original Message- ** From: Johan Almqvist [mailto:[EMAIL PROTECTED]] ** Sent: Friday, June 08, 2001 9:35 AM ** To: [EMAIL PROTECTED] ** Subject: Re: url of sqwebmail too long ** ** ** * Massimo Quintini <[EMAIL PROTECTED]> [010608 09:45]: ** > How can I use an URL short (like mail.te.astro.it) instead of ** > mail.te.astro.it/cgi-bin/sqwebmail ** > I have tried with VirtualHost directive of Apache Web Server without ** > success!!! ** ** I've found the easiest way to be the following: ** ** Using lynx, grab the front page (login page) that sqwebmail ** sends. Save it ** as index.html of a virtual host (ie mail.te.astro.it/index.html). Make ** sure the links and the form point to the cgi. Voilà! ** ** -Johan ** -- ** Johan Almqvist ** http://www.almqvist.net/johan/qmail/ **
Re: url of sqwebmail too long!!!!
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. ===
RE: url of sqwebmail too long!!!!
How about: RewriteRule ^/$ /cgi-bin/sqwebmail [R] In your apache configuration. -Troy ** -Original Message- ** From: Johan Almqvist [mailto:[EMAIL PROTECTED]] ** Sent: Friday, June 08, 2001 9:35 AM ** To: [EMAIL PROTECTED] ** Subject: Re: url of sqwebmail too long ** ** ** * Massimo Quintini <[EMAIL PROTECTED]> [010608 09:45]: ** > How can I use an URL short (like mail.te.astro.it) instead of ** > mail.te.astro.it/cgi-bin/sqwebmail ** > I have tried with VirtualHost directive of Apache Web Server without ** > success!!! ** ** I've found the easiest way to be the following: ** ** Using lynx, grab the front page (login page) that sqwebmail ** sends. Save it ** as index.html of a virtual host (ie mail.te.astro.it/index.html). Make ** sure the links and the form point to the cgi. Voilà! ** ** -Johan ** -- ** Johan Almqvist ** http://www.almqvist.net/johan/qmail/ **
RE: url of sqwebmail too long!!!!
If you have PHP installed on your server. You could have an index.php in a VirtualHost called mail.te.astro.it With index.php as follows Thats it. I'm sure you can do the same in Perl. Although I don't know how! Failing that, maybe an SSI. As explained in the apache documentation. I have it working fine, although I use SquirrelMail Regards, Kieran Barnes Signum 1226 Ltd Use our Web site at... http://www.1226.net Phone us on... 01772 622889 Fax us on... 01772 622558 > -Original Message- > From: Massimo Quintini [mailto:[EMAIL PROTECTED]] > Sent: 08 June 2001 08:46 > To: [EMAIL PROTECTED] > Subject: url of sqwebmail too long > > > How can I use an URL short (like mail.te.astro.it) instead of > mail.te.astro.it/cgi-bin/sqwebmail > > I have tried with VirtualHost directive of Apache Web Server without > success!!! > > Thanks. > > -- > Massimo Quintini > Osservatorio Astronomico Collurania Teramo > Via Mentore Maggini s.n.c. 64100 TERAMO (Italy) > Tel +39-0861210490 Fax +39-0861210492 > http://www.te.astro.it > >
Re: url of sqwebmail too long!!!!
* Massimo Quintini <[EMAIL PROTECTED]> [010608 09:45]: > How can I use an URL short (like mail.te.astro.it) instead of > mail.te.astro.it/cgi-bin/sqwebmail > I have tried with VirtualHost directive of Apache Web Server without > success!!! I've found the easiest way to be the following: Using lynx, grab the front page (login page) that sqwebmail sends. Save it as index.html of a virtual host (ie mail.te.astro.it/index.html). Make sure the links and the form point to the cgi. Voilà! -Johan -- Johan Almqvist http://www.almqvist.net/johan/qmail/ PGP signature
Re: url of sqwebmail too long!!!!
> 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
Re: url of sqwebmail too long!!!!
On Fri, 8 Jun 2001, Massimo Quintini wrote: > How can I use an URL short (like mail.te.astro.it) instead of > mail.te.astro.it/cgi-bin/sqwebmail > > I have tried with VirtualHost directive of Apache Web Server without > success!!! > If your just trying to create a short URL, why not create an Alias in httpd.conf? i.e. Alias /icons/ "/usr/local/apache/icons/" Alias /sqwebmail/ "absolute path to cgi-bin/sqwebmail" Restart apache. Assuming the web server is the same box as mail.te.astro.it. I hope I understand what your asking.
Re: url of sqwebmail too long!!!!
Massimo Quintini writes: > How can I use an URL short (like mail.te.astro.it) instead of > mail.te.astro.it/cgi-bin/sqwebmail > > I have tried with VirtualHost directive of Apache Web Server without > success!!! > Although it has nothing to do with qmail, you can create an index.html (or whatever your directory index is) in the document root of mail.te.astro.it which has a frame pointing to http://mail.te.astro.it/cgi-bin/sqwebmail (or whereever you sqwebmail binary is). Regards, Ahmad Ridha