[squid-users] Strip Prefix from URL GET REQUEST

From: Steve Searles <steve@dont-contact.us>
Date: Mon, 8 Nov 2004 21:20:53 -0500

Does anyone know of a way to make squid strip the following from the
access.log? (Squid is running in http accel mode)

Get requests currently look like this.

X.X.X.X - [08/Nov/2004:11:01:32 -0500] "GET
http://www.XXXXXX.com/includes/js/top_nav_script.js HTTP/1.1" 200

I would like them to look like this.

X.X.X.X - [08/Nov/2004:11:01:32 -0500] "GET
/includes/js/top_nav_script.js HTTP/1.1" 200

This is the last thing I need to do before my iplanet log emulation is
complete. I don't know if my only option is to do it with a perl script
(The way I am doing it now), or if squid can do it internally. I thought
I would ask here.

Thanks in advance.

Steve Searles
Received on Mon Nov 08 2004 - 19:20:54 MST

This archive was generated by hypermail pre-2.1.9 : Wed Dec 01 2004 - 12:00:01 MST