httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Alexei Kosut <>
Subject Re: mod_example and the API
Date Mon, 14 Apr 1997 01:25:19 GMT
On Sun, 13 Apr 1997, Dean Gaudet wrote:

> On Sun, 13 Apr 1997, Rodent of Unusual Size wrote:
> > >It's possible for your directives to implicitly know in which context they
> > >are supposed to operate.
> > 
> >     Oh?  How?
> According to the flags they're defined with they may be valid only in
> server-config or in per-dir config and not both... so it's implicit which
> structure they're supposed to modify.  That's how most of the stock
> modules with both per-dir and per-server configs work.

Hmm? But that's not always true. Take Redirect, which is valid in both
server-config and per-dir config. It just consults cmd->path, which is
defined for per-dir, but NULL for server. IMHO, that's the correct way
to do this.

Alexei Kosut <>      The Apache HTTP Server

View raw message