Ken, I've just checked & mod_rewrite is installed on the server in question. I think this is the most elegant, as well as fool-proof solution. I don't know much about mod_rewrite (yet!), but I'm guessing the RewriteCond checks to make sure the host is whatever.domain.com. The RewriteRule transfers the remainder of the path to the new host. Is this right? I managed to find Ralf's tutorial on mod_rewrite on his website (Cool design BTW Ralf!). The URL is: http://www.engelschall.com/pw/apache/rewriteguide/ "Ken Y. Clark" wrote: > i'm just learning about the beautiful magic of the RewriteEngine. could > this be a good solution for you? in order to make sure cookies always > work properly on http://mp3.boston.com which is aliased as > http://music.boston.com, we use the following RewriteRule: > > RewriteEngine on > RewriteCond %{HTTP_HOST} !^mp3\.boston\.com [NC] > RewriteRule ^/(.*) http://mp3.boston.com/$1 [L,R] -- Drew Taylor Vialogix Communications, Inc. 501 N. College Street Charlotte, NC 28202 704.370.0550 http://www.vialogix.com
- Re: [slightly OT] Problem with cookies Drew Taylor
- Re: [slightly OT] Problem with cookies Drew Taylor
- Re: [slightly OT] Problem with cookies ___cliff rayman___
- Re: [slightly OT] Problem with cookies Kee Hinckley
- Re: [slightly OT] Problem with cookies Drew Taylor
- Re: [slightly OT] Problem with cookie... Christopher Taranto
- Re: [slightly OT] Problem with c... Rusty Foster
- Re: [slightly OT] Problem with c... Randal L. Schwartz
- Re: [slightly OT] Problem with c... Drew Taylor
- Re: [slightly OT] Problem with c... Ken Y. Clark
- Re: [slightly OT] Problem with c... Drew Taylor
- Re: [slightly OT] Problem with c... Randal L. Schwartz
- Re: [slightly OT] Problem with c... Jim Winstead
- Re: [slightly OT] Problem with c... Perrin Harkins
- Re: [slightly OT] Problem with c... Drew Taylor
- RE: [slightly OT] Problem with c... Jeff Stuart
- RE: [slightly OT] Problem with c... Kee Hinckley
- Re: [slightly OT] Problem with c... Randal L. Schwartz
- Re: [slightly OT] Problem with c... Ask Bjoern Hansen
- Re: [slightly OT] Problem with c... Kee Hinckley
- Re: [slightly OT] Problem with c... Christopher Taranto