On 7 Apr 2000, Randal L. Schwartz wrote: > Rusty> NameVirtualHost 216.181.35.174 # IP of www.kuro5hin.org > > Rusty> # Redirect all hostless requests to www VHost > Rusty> <VirtualHost 216.181.35.174> > Rusty> ServerName kuro5hin.org > Rusty> Redirect permanent / http://www.kuro5hin.org/ > Rusty> </VirtualHost> > > Rusty> # Proper URI for www.kuro5hin.org > Rusty> <VirtualHost 216.181.35.174> > Rusty> ServerName www.kuro5hin.org > Rusty> ...etc... > Rusty> </VirtualHost> > > Rusty> This way, people who come in to http://kuro5hin.org/ get redirected > Rusty> right off the bat, and so far this seems to have solved the problem. > > Except that this requires HTTP/1.1. Anyone that doesn't send the > "host:" header goes into a permanent redirect loop. [...] Not if you do it right[tm] and have the "real" host be the default. - ask -- ask bjoern hansen - <http://www.netcetera.dk/~ask/> more than 70M impressions per day, <http://valueclick.com>
- Re: [slightly OT] Problem wi... Drew Taylor
- Re: [slightly OT] Problem wi... Ken Y. Clark
- Re: [slightly OT] Problem wi... Drew Taylor
- Re: [slightly OT] Problem wi... Randal L. Schwartz
- Re: [slightly OT] Problem wi... Jim Winstead
- Re: [slightly OT] Problem wi... Perrin Harkins
- Re: [slightly OT] Problem wi... Drew Taylor
- RE: [slightly OT] Problem wi... Jeff Stuart
- RE: [slightly OT] Problem wi... Kee Hinckley
- Re: [slightly OT] Problem wi... Randal L. Schwartz
- Re: [slightly OT] Problem wi... Ask Bjoern Hansen
- Re: [slightly OT] Problem wi... Kee Hinckley
- Re: [slightly OT] Problem wi... Christopher Taranto
- Re: [slightly OT] Problem with cookies Ian Struble
- Re: [slightly OT] Problem with cookies Drew Taylor
- Re: [slightly OT] Problem with cookies Randal L. Schwartz
- Re: [slightly OT] Problem with cookies Bill Moseley
- Re: [slightly OT] Problem with cookies Rusty Foster
- Re: [slightly OT] Problem with cookies Kee Hinckley
- Re: [slightly OT] Problem with cookies Randal L. Schwartz
- Re: [slightly OT] Problem with cookie... Kee Hinckley