squid doesn't write the query-string of URL to access log
Environment
- Red Hat Enterprise Linux
- squid
Issue
- squid doesn't write the query-string of URL to access log.
- I'd like to record a query-string on a log like apache https.
Resolution
As default, squid strips the query-string of URL.
To disable stripping it, please setstrip_query_terms option in /etc/squid/squid.conf as below:
strip_query_terms off
This solution is part of Red Hat’s fast-track publication program, providing a huge library of solutions that Red Hat engineers have created while supporting our customers. To give you the knowledge you need the instant it becomes available, these articles may be presented in a raw and unedited form.
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
