While the nosuid makes it so any program trying to suid will not work on
that partition. Mine fstab file is

/dev/wd0a / ffs rw 1 1
/dev/wd0e /home ffs rw,nodev 1 2
/dev/wd0d /tmp ffs rw,nodev,nosuid 1 2
/dev/wd0f /usr ffs rw,nodev 1 2
/dev/wd0g /var ffs rw,nodev 1 2

I have qmailadmin in /home/httpd/cgi-bin/qmailadmin

Maybe the standard apache is preventing it from running too I know apache
runs in a jailed enviroment. read
http://www.openbsd.org/faq/faq10.html#httpdchroot My suggestion is to remove
the standard apache (httpd) and compile one by hand. It makes it alot easier
and you can add tons of modules.

Chris


----- Original Message ----- 
From: "darren david" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, October 20, 2003 17:59
Subject: Re: [qmailadmin] OpenBSD 3.4-snapshot / premature end of script
headers


> hey chris-
>
> hrm. no luck there. i had already removed suid from var, but removing it
> from home didn't seem to make a difference. would suid explain why i can
> get html output from the binary from the command line but not when
> accessing it through the webserver?
>
> darren
>
> > What you have to do is remove suid from /etc/fstab and reboot. The
reason
> > this is happening is your /home partition is not allowing programs to
use
> > suid. If you install qmailadmin somewhere else then you might have to
> > check
> > var as that partition will also have it.
> >
> >
> > Chris Hallgren
> >
> > ----- Original Message -----
> > From: "darren david" <[EMAIL PROTECTED]>
> > To: <[EMAIL PROTECTED]>
> > Sent: Monday, October 20, 2003 17:09
> > Subject: Re: [qmailadmin] OpenBSD 3.4-snapshot / premature end of script
> > headers
> >
> >
> >> Hi Tom-
> >>
> >> I'm running version 1.0.6. Is there a newer version/patch i might try?
> >>
> >> Thanks,
> >> darren
> >>
> >> > On Monday, October 20, 2003, at 01:54  PM, darren david wrote:
> >> >> seems like another case of the "Premature end of script headers"
> >> error
> >> >> in
> >> >> apache -- with no additional information in the error_log. In my
> >> case,
> >> >> i
> >> >> can't even get to the login screen; i get a 500 error on the initial
> >> >> page.
> >> >> I /can/ run the binary from the command line, and the output looks
> >> >> fine.
> >> >
> >> > What version of QmailAdmin?  I recently fixed a problem related to
> >> > environment variables set by the web server.
> >> >
> >> > --
> >> > Tom Collins  -  [EMAIL PROTECTED]
> >> > Note: The Tom Logic offices will be closed October 23 to November 18.
> >> > QmailAdmin: http://qmailadmin.sf.net/  Vpopmail:
> >> http://vpopmail.sf.net/
> >> > Info on the Sniffter hand-held Network Tester: http://sniffter.com/
> >> >
> >> >
> >> >
> >>
> >>
> >>
> >
> >
> >
>
>
>


Reply via email to