httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Doug MacEachern <>
Subject Re: [PATCH] add -C and -c switches (take 3)
Date Sun, 11 Jan 1998 20:00:36 GMT
Rodent of Unusual Size wrote:

> I haven't been able to really test anything for a while, and probably
> won't be able to for a while longer, so these questions may have simple
> answers that I just haven't been able to get at.
> Can multiple switches be given on either/both UNIX and Win32?  I.e.,
>   httpd -c "<Directory />" -c " Options None" -c "</Directory>"

Syntax error in command: `<Directory /'
Missing </Directory> directive at end-of-file

Location and VirtualHost, and anyone who calls srm_command_loop do the same.

> If not, it seems to me that we're working towards a need for
> a directive delimiter (so multiple directives can be inlined like
> "<Directory />;Options None;</Directory>")..
> What happens if there's an error in one of the directives?  How is
> it referred to in the error message, since there isn't a line number?
> Should we log the processing of these beasties at DEBUG level?
> I'm still wondering whether
>   httpd -c "<VirtualHost foo>" -C "</VirtualHost>" -d /apache
> would have the expected result.

nope.  I think we could use a custom parms->config_file structure to make
these directives work as expected, perhaps with your delimiter idea.


View raw message