PHP HTTP_USER_AGENT seems incomplete or shortened for litespeed

#1
I have two web servers. One with litespeed, one with apache. If I compare PHP Variables [from phpinfo()] I see what seems to me a partial browser user agent for the server running litespeed. For that server I see:
_SERVER["HTTP_USER_AGENT"] Gecko/20100101 Firefox/24

However if I look on the server with apache I get what seems to be the full user agent. In this case I see:
_SERVER["HTTP_USER_AGENT"] Mozilla/5.0 (Macintosh; Intel Mac OS X 10.9; rv:24.0) Gecko/20100101 Firefox/24.0.

Is this the expected HTTP_USER_AGENT for a server running litespeed? Is there some configuration or settings I have incorrect?

Help,
staiano
 

mistwang

LiteSpeed Staff
#2
Maybe HTTP_USER_AGENT env was modified by a rewrite rule or something, LiteSpeed itself does not do post-processing of "User-Agent" header.
 
#3
There is no rewrite of the user agent that I can find as I am the one who wrote all the rewrites. I has to be something in litespeed as I can't find anything in php either.
 
Top