1 message in net.sourceforge.lists.courier-users[courier-users] [PATCH] webadmin.pl
FromSent OnAttachments
Milan ObuchMar 25, 2005 6:50 am 
Actions with this message:
Paste this link in email or IM:
Paste this link in email or IM:
Atom feed for this thread
Paste this URL into your reader:
Subject:[courier-users] [PATCH] webadmin.plActions...
From:Milan Obuch (mil@dino.sk)
Date:Mar 25, 2005 6:50:40 am
List:net.sourceforge.lists.courier-users

I am using courier 0.49 with slightly modified webadmin. Basically, I have

ScriptAlias / "/usr/local/www/cgi-bin/webadmin/"

in my web server's config, so I use just https://mail.dino.sk/ in my web browser to access webadmin. Some simple modification shown below is necessary, otherwise browser just loops over itself.

Milan

--- webadmin.pl.orig Fri Mar 25 15:31:28 2005 +++ webadmin.pl Fri Mar 25 15:29:24 2005 @@ -716,7 +716,7 @@

my $form=$cgi->path_info();

-if ($form) +if ($form and $form ne '/') { if ($form =~ /^\/?([0-9A-Za-z\-_]+)$/) {