Search squid archive

Re: "user-agent" header in access.log

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Alejandro wrote:
> Dear all, I need to see the user-agent header in the access.log file
> from Squid in order to apply an acl browser to permiot only Mozilla
> browsers going through my proxy. Now I can see any user-agent header in
> my access.log file.
> 
> How can I do to see the user-agent header in the Squid's access.log file ???

look at the logformat directive in squid.conf. You'd use something like
"%{User-Agent}>h"

- --
A: Because it destroys the flow of conversation.
Q: Why is top posting dumb?
- --
Juan Nicolás Ruiz    | Corporación Parque Tecnológico de Mérida
                     | Centro de Cálculo Cientifico ULA
nicolas@xxxxxx       | Avenida 4, Edif. Gral Masini, Ofic. B-32
+58-(0)274-252-4192  | Mérida - Edo. Mérida. Venezuela
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFF/GDwmjsZS9ZBxv8RAspmAJ0X0PuJGtzJ8M/xhUK380Vka2jQ9ACeIfCG
qhRZL6ZrEwDet8O2o7EuLQw=
=ZNhX
-----END PGP SIGNATURE-----



[Index of Archives]     [Linux Audio Users]     [Samba]     [Big List of Linux Books]     [Linux USB]     [Yosemite News]

  Powered by Linux