Rusty and Kee,
The dual VirtualHost configuration is exactly the solution I will take! It
will also apply it to the main domain as well - thinkstock.com, .org, and
.net. That will solve my problem, as well as any future ones, and I can
just be done with this stupid cookie problem! You just made my night better
(and my morning too)!
Yes, cookies are neat (and I thought it was better than session tracking
via URL), but you are right when you say they are a pain!!
Thanks a million!
> At 05:29 PM 04/06/00 -0400, you wrote:
>
>I had a similar problem with cookies on kuro5hin.org. I needed to set a
>session=blah cookie for www.kuro5hin.org, and a *different* session
>cookie for scoop.kuro5hin.org. So I couldn't use .kuro5hin.org as the
>domain. But I wanted people who came to http://kuro5hin.org/ to go to
>www.kuro5hin.org by default.
>
>What I ended up doing was targeting cookies at a host (i.e.
>domain=www.kuro5hin.org), and setting up VirtualHost sections as
>follows:
>
>NameVirtualHost 216.181.35.174 # IP of www.kuro5hin.org
>
># Redirect all hostless requests to www VHost
><VirtualHost 216.181.35.174>
> ServerName kuro5hin.org
> Redirect permanent / http://www.kuro5hin.org/
></VirtualHost>
>
># Proper URI for www.kuro5hin.org
><VirtualHost 216.181.35.174>
>. ServerName www.kuro5hin.org
> ...etc...
></VirtualHost>
Drew Taylor
Vialogix Communications, Inc.
501 N. College Street
Charlotte, NC 28202
704.370.0550
http://www.vialogix.com