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"

Need help with Linux Server or WordPress? We can help!

Leave a Reply

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