>Why would you have form variables on the first time they hit the 
>site?  (And they'd have to be POST variables for it to matter, right?)

Because not all people come in the front door - such as banner ads that
implement a search, etc...

Not only that, but you would want to identify where they came in from.  We
use a GC code (standing for geography code) that allows us to tag a unique
identifier from different banners so we can get test our effectiveness of
our ads and end up with a conversion rate.


At 07:36 PM 04/06/00 -0400, you wrote:
>-----BEGIN PGP SIGNED MESSAGE-----
>Hash: SHA1
>
>At 4:09 PM -0700 4/6/00, Christopher Taranto wrote:
>>Hi Drew,
>>
>>My site has several domains that lead into it and I had the same problem
>>with cookies that I fixed this way.
>>
>>Here's how I ended up doing the redirections using mod_rewrite and a perl
>>script (which needed to be portable in my case).  This could have probably
>>been done simpler and more effectively but I needed to guarantee that all
>>FORM variables were passed along seemlessly to the target domain and have
>>the script run correctly.
>
>Why would you have form variables on the first time they hit the 
>site?  (And they'd have to be POST variables for it to matter, right?)
>
>But in any case.  The easiest solution is probably to create a 
>virtual domain in the config file and then specify a rule that 
>redirects all URL's for that domain.  Actually, now that I say this, 
>I just realized that, having just moved my sites back to an Apache 
>server, I'd forgotten to do it myself.  So you get here an example 
>that I have tested for all of about 2 minutes.
>
>So put this in the .conf file for Apache.
>
>#
># The actual name of the host managing the sites
>#
>NameVirtualHost sam.somewhere.com
>
>#
># Our catchall host.  While this will catch somewhere.com 
>specifically, it will also
># catch any other host names that happen to point at the same IP 
>address but that
># you didn't specifically set a virtual host for.  E.g. just an IP 
>address, or mail.somewhere.com if that's the
># same machine....
>#
><VirtualHost sam.somewhere.com>
>     ServerName somewhere.com
>     Redirect / http://www.somewhere.com/
></VirtualHost>
>
># Now we do the legitimate domains
>
><VirtualHost sam.somewhere.com>
>     ServerName www.somewhere.com
>     ServerAlias www.stage.somewhere.com
>
>- -- 
>
>Kee Hinckley - Somewhere Consulting Group - Cyberspace Architects(rm)
>
>I'm not sure which upsets me more: that people are so unwilling to accept
>responsibility for their own actions, or that they are so eager to regulate
>everyone else's.
>
>-----BEGIN PGP SIGNATURE-----
>Version: PGPfreeware 6.5.2 for non-commercial use <http://www.pgp.com>
>
>iQA/AwUBOO0fvSZsPfdw+r2CEQKrGwCfVMUCVW3+TfsH5RWXli6GKHS0rE8Anivt
>guYVKzV+OCCfXh1DVPxAB8VC
>=HkrY
>-----END PGP SIGNATURE-----
>
>

Reply via email to