httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Alexei Kosut <>
Subject Re: command block distinction
Date Wed, 12 Jun 1996 16:20:35 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).

At least, I think that'd work.

-- Alexei Kosut <>

View raw message