[Mod_log_sql] Differentiating between multiple sites served on the same vhost

Brandon Barkley brandon at totalinternetid.com
Fri Jan 28 11:28:19 EST 2005


We are running a solution where we a large amount of user accounts 
serving off of one default vhost that uses a general mod_rewrite to 
guide the user to the right place. The problem is I have not found a way 
to log the domain of the request rather than the domain of the vhost.

In PHP $_SERVER["SERVER_NAME"] is the vhost name and 
$_SERVER["HTTP_HOST"] is the name in the request. So what I am asking is 
if is there any way in this module to log the value that gest to sent to 
$_SERVER["HTTP_HOST"]?

We're using apache 1.3 so we're running 1.18 of the product, but if 
there is a solution for a newer version of the product that doesn't 
exist in 1.18 please still tell me so I know for reference.

Thank you!



More information about the Mod_log_sql mailing list