Ignore:
Timestamp:
Apr 23, 2017, 12:31:41 AM (5 years ago)
Author:
andersk
Message:
Provide a SCRIPTS_REMOTE_MITNET variable

This can be used by putting ‘Require env SCRIPTS_REMOTE_MITNET’ in .htaccess.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/server/fedora/config/etc/httpd/conf.d/scripts-special.conf

    r2835 r2839  
    5353    ErrorDocument 403 /__scripts/disabled.html
    5454</Directory>
     55
     56# Generated from http://kb.mit.edu/confluence/x/F4DCAg, 2017-04-23
     57SetEnvIf REMOTE_ADDR ^(18\.(\d\d?|1([0-37]\d|4[0-46-9]|5[024-9]|6[0135-9]|8[0-3679]|9[02389])|2(0[018]|1[248]|29|3[024589]|4[0-57-9]|5[0-245]))|128\.(3[01]|52))\. SCRIPTS_REMOTE_MITNET
Note: See TracChangeset for help on using the changeset viewer.