Dave Wreski wrote on 2023/04/12 01:39:
> In case I wasn't clear, simply removing the caret was not enough to make this 
> work. The "Require env SOMENAME2" was enough to begin blocking every page on 
> the site with a 403, not just the RSS feeds or the bots, but every legitimate 
> request.
> 
> I'm going to do more research on RequireAll, but isn't that essentially 
> saying AND? Require all AND Require not env SOMENAME1 AND Require env 
> SOMENAME2? How can that ever match?
> 
> I suppose that also means it wouldn't be RequireAny because it would always 
> match the Require all.

The purpose of this is to include related keywords, and I wrote it without 
understanding the logic required for actual operation.
There might be a funny reversal going on somewhere.

Is this correct? :)

<RequireAny>
  <RequireAll>
    Require all granted
    Require not env IS_BOT
  </RequireAll>
  Require env IS_RSS
</RequireAny>

Regards.


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org
For additional commands, e-mail: users-h...@httpd.apache.org

Reply via email to