Squid configuration directive url_rewrite_host_header
Available in: 3.3 3.2 3.1 2.7 3.HEAD 2.HEAD 3.0 2.6
Configuration Details:
| Option Name: | url_rewrite_host_header | 
|---|---|
| Replaces: | redirect_rewrites_host_header | 
| Requires: | |
| Default Value: | url_rewrite_host_header on | 
| Suggested Config: | 
 | 
    
To preserve same-origin security policies in browsers and prevent Host: header forgery by redirectors Squid rewrites any Host: header in redirected requests. If you are running an accelerator this may not be a wanted effect of a redirector. This directive enables you disable Host: alteration in reverse-proxy traffic. WARNING: Entries are cached on the result of the URL rewriting process, so be careful if you have domain-virtual hosts. WARNING: Squid and other software verifies the URL and Host are matching, so be careful not to relay through other proxies or inspecting firewalls with this disabled.  | 
    |
Search
Introduction
- About Squid
 - Why Squid?
 - Squid Developers
 - How to Help Out or Donate
 - Getting Squid
 - Squid Source Packages
 - Squid Deployment Case-Studies
 - Squid Software Foundation
 
Documentation
- Configuration:
 - FAQ and Wiki
 - Guide Books:
 - Non-English
 - More...
 
Support
- Security Advisories
 - Bugzilla Database
 - Mailing lists
 - Contacting us
 - Commercial services
 - Project Sponsors
 - Squid-based products
 
Miscellaneous
- Developer Resources
 - Related Writings
 - Related Software:
 - Squid Artwork
 
