On Sun, Sep 18, 2016 at 1:11 PM, Adam <adam.v...@vestfarms.com.invalid> wrote:
> Specifically, I'm trying to limit accessibility to the mod_info page to only
> specific users/IP's. I thought I would be able to get away with that by
> doing something like:
>
> <If "-R 'ip.add.re.ss''">
>
>         Define me
>
> </If>
>
>
> Then do something like:
>
> <IfDefine me>
>
>         LoadModule info_module modules/mod_info.so
>
>         <Location "/server-info">
>
>                 SetHandler server-info
>
>         </Location>
>
> </IfDefine>


This mixes a lot of per-request things with non-per-request things --
like loading modules (and Define).

Why not just use Require ip ... inside of the Location block w/ SetHandler?


-- 
Eric Covener
cove...@gmail.com

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

Reply via email to