which processor are you using? im pretty sure epoch has as .htaaccess file ... or you could try using a cookie? or using
http://members.domain.com/ and setting a cookie.. then you won't have to worry about if they have
http://domain.com or
http://www.domain.com