Escaping ip ranges for apache and can the rule be applied to only 1 file?
I'm setting a variable with Apache for incoming IP address. I have a feeling the IP escaping is missing something.

    SetEnvIf Remote_addr 123\.456\.789\.0/26 something=great

Can someone please advise.

Also, can this variable be set only when the specified IPs users are viewing a certain file only?

Something like...

    <Files certain.file>
    SetEnvIf Remote_addr 123\.456\.789\.0/26 something=great
    </Files>

Escaping ip ranges for apache and can the rule be applied to only 1 file?
===

I'm setting a variable with Apache for incoming IP address. I have a feeling the IP escaping is missing something.

    SetEnvIf Remote_addr 123\.456\.789\.0/26 something=great

Can someone please advise.

Also, can this variable be set only when the specified IPs users are viewing a certain file only?

Something like...

    <Files certain.file>
    SetEnvIf Remote_addr 123\.456\.789\.0/26 something=great
    </Files>
