httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Dirk.vanGulik" <Dirk.vanGu...@jrc.it>
Subject Re: command block distinction
Date Thu, 13 Jun 1996 06:52:09 GMT
> On Wed, 12 Jun 1996, Dirk.vanGulik wrote:
> 
> > When one allows the same command directove to appear in both the
> > access.conf file as well as in the srm.conf file, how do you
> > distingisish them:
> 
> [...]
> 
> > char *anon_set_anon_logfile_1 (cmd_parms *cmd, 
> > 	anon_auth_config_rec *sec, char *arg) 
> 
> Look at cmd->path. If it's NULL, it's a server config directive. If
> cmd->path contains a directory (or location, actually), it's a per-dir
> config directive (this includes <Directory>, <Location> and .htaccess
> files, if the command applies to them).
> 

Thanks, that does work. Btw why does the sec not point to the per-module
configuration ?

Dw.

Mime
View raw message