This Confluence has been LDAP enabled, if you are an ASF Committer, please use your LDAP Credentials to login. Any problems file an INFRA jira ticket please.

Page tree
Skip to end of metadata
Go to start of metadata

The conf_remap plug-in

The conf_remap plug-in allows you to override configuration directives dependent on actual remapping rules. This plug-in replaces older legacy functionality which allowed to achieve a similar behaviour previously by configuring remap rules for example with switches like "@pristine_host_hdr=1" in your remap configuration. The plugin is built and installed as part of the normal Apache Traffic Server installation process.

If you want to achieve this behaviour now, configure a remap rule like this:

remap.conf
map http://cdn.example.com/ http://some-server.example.com @plugin=conf_remap.so @pparam=/etc/trafficserver/cdn.conf

where cdn.conf would look like records.config, for example:.

cdn.conf
CONFIG proxy.config.url_remap.pristine_host_hdr INT 1

Doing this, you will override your global default configuration on a per mapping rule. For now, those options may be overridden through conf_remap:

  • proxy.config.url_remap.pristine_host_hdr
  • proxy.config.http.chunking_enabled
  • proxy.config.http.negative_caching_enabled
  • proxy.config.http.negative_caching_lifetime
  • proxy.config.http.cache.when_to_revalidate
  • proxy.config.http.keep_alive_enabled
  • proxy.config.http.keep_alive_post_out
  • proxy.config.net.sock_recv_buffer_size_out
  • proxy.config.net.sock_send_buffer_size_out
  • proxy.config.net.sock_option_flag_out
  • proxy.config.http.anonymize_remove_from
  • proxy.config.http.anonymize_remove_referer
  • proxy.config.http.anonymize_remove_user_agent
  • proxy.config.http.anonymize_remove_cookie
  • proxy.config.http.anonymize_remove_client_ip
  • proxy.config.http.anonymize_insert_client_ip
  • proxy.config.http.append_xforwards_header
  • proxy.config.http.response_server_enabled
  • proxy.config.http.insert_squid_x_forwarded_for
  • proxy.config.http.send_http11_requests
  • proxy.config.http.cache.http
  • proxy.config.http.cache.ignore_client_no_cache
  • proxy.config.http.cache.ignore_client_cc_max_age
  • proxy.config.http.cache.ims_on_client_no_cache
  • proxy.config.http.cache.ignore_server_no_cache
  • proxy.config.http.cache.cache_responses_to_cookies
  • proxy.config.http.cache.ignore_authentication
  • proxy.config.http.cache.cache_urls_that_look_dynamic
  • proxy.config.http.cache.required_headers
  • proxy.config.http.insert_request_via_str
  • proxy.config.http.insert_response_via_str
  • proxy.config.http.cache.heuristic_min_lifetime
  • proxy.config.http.cache.heuristic_max_lifetime
  • proxy.config.http.cache.guaranteed_min_lifetime
  • proxy.config.http.cache.guaranteed_max_lifetime
  • proxy.config.http.cache.max_stale_age
  • proxy.config.http.keep_alive_no_activity_timeout_in
  • proxy.config.http.transaction_no_activity_timeout_in
  • proxy.config.http.transaction_no_activity_timeout_out
  • proxy.config.http.transaction_active_timeout_out
  • proxy.config.http.origin_max_connections
  • proxy.config.http.connect_attempts_max_retries
  • proxy.config.http.connect_attempts_max_retries_dead_server
  • proxy.config.http.connect_attempts_rr_retries
  • proxy.config.http.connect_attempts_timeout
  • proxy.config.http.post_connect_attempts_timeout
  • proxy.config.http.down_server.cache_time
  • proxy.config.http.down_server.abort_threshold
  • proxy.config.http.cache.fuzz.time
  • proxy.config.http.cache.fuzz.min_time
  • proxy.config.http.response_server_str
  • proxy.config.http.cache.heuristic_lm_factor
  • proxy.config.http.cache.fuzz.probability
  • No labels