Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: Apache: Dev

Zero Config

 

 

Apache dev RSS feed   Index | Next | Previous | View Threaded


rbowen at rcbowen

Nov 13, 2009, 4:15 AM

Post #1 of 3 (441 views)
Permalink
Zero Config

On Nov 13, 2009, at 06:39 , Igor Galić wrote:

>
> It's been a long time now, but I still remember Rich asking for a
> Apache httpd starting *without* a config.
> I'm not sure this is easily doable, but I'm pretty confident that
> we can slim down the basic config (httpd.conf) to a very minimalistic
> level and put all the fluff in extra

Of course it's doable. Easily? I don't know. But certainly doable. You
define and document default values for everything, and then config
directives are only ever needed when things differ from the default.
Lots of products do this.

The default for LoadModule could be that you load all modules in
HTTPD_ROOT/modules unless there are LoadModule directives specifying
otherwise. We could (and should) protect <Directory /> by default, and
allow access to HTTPD_ROOT/htdocs by default. And so on. Much of the
stuff that's in those configs you referenced can already be omitted
and fall back to default values.

--
Rich Bowen
rbowen [at] rcbowen


m.watts at eris

Nov 13, 2009, 4:20 AM

Post #2 of 3 (404 views)
Permalink
Re: Zero Config [In reply to]

On Fri, 2009-11-13 at 07:15 -0500, Rich Bowen wrote:
> On Nov 13, 2009, at 06:39 , Igor Galić wrote:
>
> >
> > It's been a long time now, but I still remember Rich asking for a
> > Apache httpd starting *without* a config.
> > I'm not sure this is easily doable, but I'm pretty confident that
> > we can slim down the basic config (httpd.conf) to a very minimalistic
> > level and put all the fluff in extra
>
> Of course it's doable. Easily? I don't know. But certainly doable. You
> define and document default values for everything, and then config
> directives are only ever needed when things differ from the default.
> Lots of products do this.
>
> The default for LoadModule could be that you load all modules in
> HTTPD_ROOT/modules unless there are LoadModule directives specifying
> otherwise. We could (and should) protect <Directory /> by default, and
> allow access to HTTPD_ROOT/htdocs by default. And so on. Much of the
> stuff that's in those configs you referenced can already be omitted
> and fall back to default values.

+1, and can we _please_ default RewriteEngine to "on".

Mark.

--
Mark Watts BSc RHCE MBCS
Senior Systems Engineer, Managed Services Manpower
www.QinetiQ.com
QinetiQ - Delivering customer-focused solutions
GPG Key: http://www.linux-corner.info/mwatts.gpg
Attachments: signature.asc (0.19 KB)


rbowen at rcbowen

Nov 13, 2009, 4:24 AM

Post #3 of 3 (404 views)
Permalink
Re: Zero Config [In reply to]

On Nov 13, 2009, at 07:20 , Mark Watts wrote:

> +1, and can we _please_ default RewriteEngine to "on".



+1

Yes, that would be very nice. If I have a RewriteRule, don'tcha think
I want it to run?

--
Rich Bowen
rbowen [at] rcbowen

Apache dev RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.