cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
505
Views
0
Helpful
3
Replies

CSS Keepalive HTTP - Modify the filed User-Agent

sjumel
Level 1
Level 1

Hello,

Can one modify the field Use-Agent: Mozilla/4.06 at the time of a requette Keepalive HTTP.

Indeed, the statistics of the server application are errone because of keepalive Http of CSS

Regards,

Sebastien

3 Replies 3

Gilles Dufour
Cisco Employee
Cisco Employee

Sebastien,

the only was is by using a script keepalive so you can send whatever data you want.

Gilles.

sjumel
Level 1
Level 1

Thank you Gilles,

have you an example of script with the field to use-agent to modify ?

Thank,

Sebastien

brian
Level 1
Level 1

You can also have all keep-alive requests kept out of your log by designating any hits with the host as the ip address of your server to be logged elsewhere (or to /dev/null)

Keep-Alive HTTP requests are HTTP 1.0 requests, so they have no Host header.

But you can use that to your advantage.