[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[cobalt-users] HTTP Header Info
- Subject: [cobalt-users] HTTP Header Info
- From: Cody Watkins <codyw@xxxxxxxxxxxxxxxxx>
- Date: Sun Nov 5 01:24:01 2000
- List-id: Mailing list for users to share thoughts on Cobalt products. <cobalt-users.list.cobalt.com>
Hi all!
Does anybody know how to strip the www. off of the HTTP_HOST info that the
Apache server on the raqs sends out? I am using it in a cgi-script and I
need to be able to remove the www. if it is present. So the script will
call domain.com out of the database instead of having www.domain.com and
domain.com in the database for the two different methods of accessing the
domain.
So is there a filter command I can use to remove the www. if it is present
in a certain variable?
Thanks!
Cody