You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by Pizu <pi...@gmail.com> on 2022/04/05 08:29:46 UTC

[users@httpd] Virtualhost if statement (Multiple Subnets)

Hi,

Currently I am using the below in the virtual host

        <If "-R '10.15.0.0/16'" >
                ...
        </If>


I know that I can use the ElseIf in order to add more subnets but is it
possible to read a file instead? Which will include all the subnets I want
and just maintain the list from that file? Or maybe you can suggest
something else.

Regards,

David