Boston Linux & Unix (BLU) Home | Calendar | Mail Lists | List Archives | Desktop SIG | Hardware Hacking SIG
Wiki | Flickr | PicasaWeb | Video | Maps & Directions | Installfests | Keysignings
Linux Cafe | Meeting Notes | Linux Links | Bling | About BLU

BLU Discuss list archive


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Apache Question... mod_rewrite or redirect???



True, except that some people like me turn on the "Allow cookies only
from this server" to avoid the likes of Doubleclick. :-)

Mike Bilow wrote:
> 
> You could do all of this, but why not just tie the cookie to some object
> on the page with an explicit domain?  That is, you could do an 'IMG
> SRC="http://xyz.com/...' and then tie the cookie to THAT.  This is how
> Doubleclick.Net and similar operations do cookie tracking, and it is a
> more general solution.  You can have the content split across different
> physical servers, and you can preserve the appearance of the original URL
> if that is important for business branding reasons.
> 
> -- Mike
> 
> On 2000-11-14 at 10:36 -0500, Phil Buckley wrote:
> 
> > Well, they do all point to the same set of docs, but I also need them
> > to physically rewrite the URL to be abc.com, otherwise, the cookie
> > scheme can get screwy because cookies are held to a different
> > domain...
> >
> > Phil
> >
> >
> > On 11/14/00 at 10:29 AM Derek Atkins wrote:
> >
> > >Do you want all of abc.com, def.com, et. al. to all server the same
> > >content?  If so, then you don't need to do anything other than point
> > >all of those names at your one server.  Otherwise, if you want to
> > >serve different content, you could just use the <VirtualHost>
> > >directive based on the different names and point them to different
> > >content.
> > >
> > >I don't think you need to Rewrite or Redirect in this case.
> > >
> > >-derek
> > >
> > >"Phil Buckley" <phil at 1918.com> writes:
> > >
> > >> I'm just starting my long journey today into having multiple domains all point and actually re-write themselves into a common url - for cookies that track a shopper through an ecommerce site...
> > >>
> > >> Here's my question, the client has 8 or ten domains that all point to a single directory, I want to use apache 1.3.9 to rewrite:
> > >> abc.com, def.com, ghi.com jkl.com all to xyz.com
> > >>
> > >> Here's what I think might work, but I wondering if someone else already has done some of this and can see a glaring mistake
> > >>
> > >>  RewriteEngine        on
> > >>  RewriteLogLevel      9
> > >>  RewriteLog logs/www.salvytheflorist.com-rewrite_log
> > >>  RewriteRule ^/abc.com([^/]+)/?(.*)       /xyz.com/$1/$2
> > >>
> > >> Thanks,
> > >> Phil
> 
> -
> Subcription/unsubscription/info requests: send e-mail with
> "subscribe", "unsubscribe", or "info" on the first line of the
> message body to discuss-request at blu.org (Subject line is ignored).

-- 
Drew Taylor
Software Engineer
Phone: 617.351.0245
Fax 617.350.3496
OpenAir.com - Making Business a Breeze!
Open a free account today at www.openair.com

-
Subcription/unsubscription/info requests: send e-mail with
"subscribe", "unsubscribe", or "info" on the first line of the
message body to discuss-request at blu.org (Subject line is ignored).




BLU is a member of BostonUserGroups
BLU is a member of BostonUserGroups
We also thank MIT for the use of their facilities.

Valid HTML 4.01! Valid CSS!



Boston Linux & Unix / webmaster@blu.org