Apache Location

To only allow requests from a specific IP to a location, use

  Require ip 59.92.71.53 51.38.246.115




  Require ip 59.92.71.53 51.38.246.115

Add custom headers based on location

  Require ip 59.92.71.53 51.38.246.115
  Header edit Location ^/browse /internal/stream/browse
           AddOutputFilterByType INFLATE;SUBSTITUTE;DEFLATE text/html text/plain text/xml
           Substitute "s#\"/(fields|browse|machine|entries)#\"/internal/stream/$1#i"
Advertisement
Add a comment

Leave a Reply

Your email address will not be published. Required fields are marked *

Keep Up to Date with the Most Important News

By pressing the Subscribe button, you confirm that you have read and are agreeing to our Privacy Policy and Terms of Use
Advertisement