Damn, it happened again :-)
Yeah, it is a bug (re-introduced many times), in standalone.c
opening ports happen after setuid(), and should before.
On 04/10/2007, Tom Eckhart <[EMAIL PROTECTED]> wrote:
>
> Hi all,
>
> my quest for a simple httpd with ssl, auth and cgi-support nears the
> end, shttpd looks very nice!
>
> Everything I tested so far works fine but it seems that if a
> "runtime_uid" / username is specified that does not resove to uid=0,
> e.g. httpd = uid 5000 shttpd cannot bind to ports <1024 any more as it
> does setuid() too early for that.
>
> Is that intended / do I miss something in configuration?
>
> Thanks,
>
> Tom
>
> -------------------------------------------------------------------------
> This SF.net email is sponsored by: Splunk Inc.
> Still grepping through log files to find problems? Stop.
> Now Search log events and configuration files using AJAX and a browser.
> Download your FREE copy of Splunk now >> http://get.splunk.com/
> _______________________________________________
> shttpd-general mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/shttpd-general
>
-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems? Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
shttpd-general mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/shttpd-general