[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: [cobalt-users] user and password files!!
- Subject: RE: [cobalt-users] user and password files!!
- From: "Steve Churcher" <steve@xxxxxxxxxxxxxxx>
- Date: Wed Oct 18 15:03:57 2000
- List-id: Mailing list for users to share thoughts on Cobalt products. <cobalt-users.list.cobalt.com>
>> 2) when they have logged in, is there a way to find out what
>> domain name the username is linked to?
>
>You can interrogate the environment variable HTTP_HOST. If you're using
>Perl, you'd get at this using:
>
>$this_server = %ENV{HTTP_HOST};
This would show the domain name they are entering from would it not??
Basically Im trying to get from a site like support.domain.com which will
use the login/password details the same as the virtualservers on the RAQ3,
and when they are in, we can match the login name to what server they have..
the .htaccess answer you supplied worked a treat, its not when they entered
I need to find a way of knowing what virtual server is theirs?
Thanks for your help
steve