7 messages in net.sourceforge.lists.courier-usersRe: [courier-users] Re: make fails on...
FromSent OnAttachments
DanAug 7, 2001 4:07 pm 
Sam VarshavchikAug 7, 2001 4:27 pm 
DanAug 8, 2001 4:46 am 
Sam VarshavchikAug 8, 2001 5:22 am 
Roland SchneiderAug 8, 2001 5:54 am 
DanAug 8, 2001 11:12 am 
Sam VarshavchikAug 8, 2001 2:44 pm 
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:Re: [courier-users] Re: make fails on NetBSD 1.5.1Actions...
From:Roland Schneider (rol@serv.ch)
Date:Aug 8, 2001 5:54:54 am
List:net.sourceforge.lists.courier-users

--Dan wrote on 08.08.2001 04:46 -0700:

I copied the webadmin file into my cgi-bin directory, but it didn't keep it's perms the same (they ended up r-xr-xr-x in after the copy). I changed the perms to be what I think are supposed to be (r-sr-xr-x) and touched $courier/etc/webadmin/unsecureok, but for some reason I still get the "Configuration error" page popping up. I tried some other cgi scripts and they seem to be working so I'm at a loss.

display_form("unsecure.html") unless $ENV{'HTTPS'} || $ENV{'REMOTE_ADDR'} eq $ENV{'SERVER_ADDR'} || -f "$sysconfdir/webadmin/unsecureok";

You created unsecureok in the wrong directory, or the file is not readable by the effective uid.

chown webadmin to root, and chmod to 04111, and next time just mv the file or use `cp -p` to preserve the attributes.

Roland