[Ilugc] Re: openwebmail-reg

  • From: tarundua@xxxxxxxxxxxxxxx (Tarun Dua)
  • Date: Thu Jul 8 16:48:52 2004

j. manikandan wrote:

i installed openwebmail in my system.
each time i want to check email.
i have to go like this.
 
ipaddres/cgi-bin/openwebmail/openwebmail.pl
 
is it possible to reduce the long link to short link
 
like that ipaddress/mail
if u i put ipaddress/mail
it will open the openwebmail screen.
You can use the URL rewriting in apache using something like this
RewriteEngine on
RewriteRule????^/mail ^/cgi-bin/openwebmail/openwebmail.pl 
RewriteRule????^/mail/$?^/cgi-bin/openwebmail [R]

... Disregard the other mail.
-Tarun
-- 
http://www.tarundua.net
Nothing you ever wanted to find about Tarun Dua

Other related posts: