Re: Apache theoretical questions (was Re: no thttpd.conf for OpenBSD?)

2008-06-19 Thread Marc Balmer
* Edwin Eyan Moragas wrote:
> On Fri, Jun 20, 2008 at 10:42 AM, Ted Unangst <[EMAIL PROTECTED]> wrote:
> > For better or worse, the base web server is Apache 1, and that's how
> > things are going to be.
> >
> >
> 
> Since the subject of apache came up, i was reminded of a
> thread some time back about improving (?) apache in base.
> anybody (aside from the obsd devs) doing that now?
> i think it was about code cleanups, etc.
> 
> are there any objections with overhauling apache's current design?
> (making apache not pre-fork, etc).
> 
> are there any roadmaps existing anywhere (even in the obsd's
> minds) of how apache in base will ideally look like?
> 
> yes, i'm blowing a lot of dust on this one. i'm just curious.

If you have any diffs that make httpd better, fix bugs, or make the
code more readable (KNF, see style(9)), please mail them.

But small steps, please.

- Marc Balmer



Apache theoretical questions (was Re: no thttpd.conf for OpenBSD?)

2008-06-19 Thread Edwin Eyan Moragas
On Fri, Jun 20, 2008 at 10:42 AM, Ted Unangst <[EMAIL PROTECTED]> wrote:
> For better or worse, the base web server is Apache 1, and that's how
> things are going to be.
>
>

Since the subject of apache came up, i was reminded of a
thread some time back about improving (?) apache in base.
anybody (aside from the obsd devs) doing that now?
i think it was about code cleanups, etc.

are there any objections with overhauling apache's current design?
(making apache not pre-fork, etc).

are there any roadmaps existing anywhere (even in the obsd's
minds) of how apache in base will ideally look like?

yes, i'm blowing a lot of dust on this one. i'm just curious.


-- 
garnet:jasmin:beryllium:gluon
90-12264
90-B



Re: no thttpd.conf for OpenBSD?

2008-06-19 Thread Ted Unangst
On 6/19/08, Anathae Townsend <[EMAIL PROTECTED]> wrote:
> Considering how small the program is, and the license (seems like a bsd
>  style license to my inexperienced eye) are there any reasons why this
>  couldn't be included in base?

For better or worse, the base web server is Apache 1, and that's how
things are going to be.



Re: no thttpd.conf for OpenBSD?

2008-06-19 Thread Theo de Raadt
> Considering how small the program is, and the license (seems like a bsd
> style license to my inexperienced eye) are there any reasons why this
> couldn't be included in base?

Sorry, but we are way too busy adding about 50 other small programs.



Re: no thttpd.conf for OpenBSD?

2008-06-19 Thread Anathae Townsend
Considering how small the program is, and the license (seems like a bsd
style license to my inexperienced eye) are there any reasons why this
couldn't be included in base?

Anathae



Re: no thttpd.conf for OpenBSD?

2008-06-19 Thread Ted Unangst
On 6/19/08, Juan Miscaro <[EMAIL PROTECTED]> wrote:
> I just installed the thttpd package on a recent snapshot (060408) and
>  noticed it only comes with two files:
>
>  $ pkg_info -L thttpd
>  Information for inst:thttpd-2.25bp1
>
>  Files:
>  /usr/local/man/man8/thttpd.8
>  /usr/local/sbin/thttpd
>
>  I then looked at the port's distfiles and there is something called
>  contrib/redhat-rpm/thttpd.conf:

Seeing how we're not building an rpm for redhat, you can imagine how
that file didn't make it into the package.  There's really no need for
it.  I've never used a config file with thttpd.



Re: no thttpd.conf for OpenBSD?

2008-06-19 Thread Stuart Henderson
On 2008-06-19, Juan Miscaro <[EMAIL PROTECTED]> wrote:
> I just installed the thttpd package on a recent snapshot (060408) and
> noticed it only comes with two files:

thttpd runs fine without a config file, just command-line options.
If you want to write a file, just look at the manual, it's a lot more
useful than the redhat sample config.



no thttpd.conf for OpenBSD?

2008-06-19 Thread Juan Miscaro
I just installed the thttpd package on a recent snapshot (060408) and
noticed it only comes with two files:

$ pkg_info -L thttpd
Information for inst:thttpd-2.25bp1

Files:
/usr/local/man/man8/thttpd.8
/usr/local/sbin/thttpd

I then looked at the port's distfiles and there is something called
contrib/redhat-rpm/thttpd.conf:

# This section overrides defaults
dir=/home/httpd/html
chroot
user=httpd# default = nobody
logfile=/var/log/thttpd.log
pidfile=/var/run/thttpd.pid
# This section _documents_ defaults in effect
# port=80
# nosymlink# default = !chroot
# novhost
# nocgipat
# nothrottles
# host=0.0.0.0
# charset=iso-8859-1

Am I supposed to bolt together my own config file or has there been an omission?


[0] ftp://ftp.openbsd.org/pub/OpenBSD/distfiles/thttpd-2.25b.tar.gz

/juan