Nikolay Sturm wrote:
* JR Dalrymple [2005-06-21]:
I can get Openwebmail going on Freebsd using fairly standard procedures.
I want it running on OpenBSD. There is both a package and a port for
both, I've tried both with no luck.
This is not an exact description of the problem. Some relevant
information would be whether or not your apache is running chroot'ed or
not.
Sorry that my problem description is lacking. The 'symptom' is the error
message below when you try to browse to
http://mailserver/cgi-bin/openwebmail/openwebmail.pl.
The steps I've taken so far:
-install the port (or package, they basically come out the same)
-use the included c wrapper in a fashion similar to
stacy# perl wrapsuid.pl /var/www/cgi-bin/openwebmail/o*.pl
-set the permissions on the resulting wrapped scripts
stacy# chmod 4555 /var/www/cgi-bin/openwebmail/o*.pl
-remove nosuid from the fstab entry for /var and reboot
After doing all of this I can log in, I can run the scripts and get good
output as root, or as a generic user. For some reason though I'm still
being returned the error below when I try to "browse" to the script. (is
there something to do to apache to get it to parse the scripts?)
I've set the permissions etc. ran the 'wrapsuid.pl' script on the
^^^^^^^^^^^^^^^^^^^
I'd expect the package to take care of this. If it doesn't it's a bug in
the package.
I don't think there is a bug in the package, I think it's probably just
not documented well enough for a dummy like myself.
Internal Server Error
The server encountered an internal error or misconfiguration and was
unable to complete your request.
Please contact the server administrator, [EMAIL PROTECTED] and inform
them of the time the error occurred, and anything you might have done
that may have caused the error.
More information about this error may be available in the server error log.
^^^^^^^^^^^^^^^^
What does it say about all this?
I don't have error_log with me right now, but I'll post that as soon as
I can get to the machine. If I remember correctly it says something
about unexpected character in line ## or some such thing, which makes me
think maybe it's NOT parsing the script.
I'll also make sure that the noexec flag isn't set in the fstab for
/var, but I doubt it is, if it was it would seem like I wouldn't be able
to run the scripts as a user logged into the box.
Nikolay
Thanks for your guys' help and I'll get more info as soon as I can.