At 07:29 PM 04/06/00 -0400, Rusty Foster wrote:
>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>

Why not reverse the order of these virtual host sections so people without
a Host: host go to the www.huro5hin.org virtual host?  Their URL will read
wrong, but not much you can do about that.

Bill Moseley
mailto:[EMAIL PROTECTED]

Reply via email to