Hello [EMAIL PROTECTED],
I asked this awhile a go and my email never went though, so if this is a
second post, you are free to flame me.
Basically we have 2 or more virtual domains that point to the same
place. Say for example we have domain a.com and b.com.
When a user types in a.com in their web browser what they really get is
/usr/local/apache/htdocs/example/index.html, the same
happens when a user types in b.com. All that is setup correctly, named,
apache and so forth.
The problems lines in that we want to put a counter on the index.html to
see which domain names get used the most. If 100 people
are using the a.com domain name to access the site and 3 people used the
b.com domain to access the site, we could probably
sell off the b.com domain name.
I know how to do all the scripting in perl, expect how to get which
domain the users are really using... Is there an envoriment variable
that I could grab, or some abstact apache mod I could call... everything
else will be easy as soon as I can obtain this little peice of
information :)
Thanks,
Jack