I have a production site with lots of rules which look like:
location "/someplace/*.ext" { pass }
location "/someplace/something.ht*" { block }
Paul Pace wrote:
> I just discovered that location block rules in httpd.conf can only be on
> separate lines. For example, the following does not pass the syntax test
> (httpd -n):
>
> location "foo" { block, no log }
>
> But this passes:
>
> location "foo" {
> block
> no log
> }
>
> However, server block rules can contain more than one rule on a line.
> For example:
>
> tcp { backlog 128, no sack }
>
> I was just wondering if this is the expected output for httpd.conf.
>
> Thank you,
>
>
> Paul
>
No comments:
Post a Comment