Differentiating between multiple sites served on the same vhost
Brandon Barkley <[email protected]> Fri, 28 Jan 2005 11:28:19 -0500
| Newsgroups | gmane.comp.apache.mod-log-sql |
|---|---|
| Message-ID | <[email protected]> |
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! _______________________________________________ Download the latest version at http://www.outoforder.cc/projects/apache/mod_log_sql/ To unsubscribe send an e-mail to mod_log_sql-unsubscribe-7qY7E20V6GW73k+5HYS8LQqVMODqnSLI@public.gmane.org