TV202 Prosper202 Tracking202 Export202 WorldProxy202 Meetup202 | Blog Forum Newsletter Twitter | Advertise
Login · Register
Home About Docs Scripts Blog Forums Hosting Donate Download
Before Posting, Have You Read the FAQ? And Have You Searched? If Not Please Do!

Attn: The 202 Support Forum will now be revised
Within the next few weeks the Tracking202 Support Forum will be revised. Some threads will be shut down or reorganized. New rules will be put in place to accommodate those who need help. The 202 team wants to make the forum a more user friendly place for new and old affiliates. We want to make this forum a place for affiliates to help each other be successful.

Installing P202 on Rackspace Cloud Sites

Post new topic Reply to topic Prosper202 Forum Index » Prosper202 Installing & Upgrading
New Posts Search Forum
Author Message
bostonseom


Joined: Jul 31st, 2008
Posts: 14

Post Posted: Sep 12th, 2009 at 4:44pm Post subject: Installing P202 on Rackspace Cloud Sites Reply with quote

Hi,

First, thanks to the p202 team for giving us such a great product.

I recently decided to switch hosting to Rackspace Cloud Sites. I also decided to start with a fresh install of p202 rather than port everything over.

The problem is that all my visitor IPs are the same when I look in Spy View.

I asked the Rackspace support, and they told me that the IP that I'm seeing is one of their load balancers.

So here's what's happening: user clicks my ad, goes to a landing page rotation script hosted on my p202 domain, and then gets sent to my landing page where the p202 js is executed.

My question is: where in the code is the visitor IP address determined? I'd like to maybe try using a different _SERVER variable.

Thanks again!

Back to top
cpprmnbi
Website


Joined: Nov 22nd, 2008
Posts: 7

Post Posted: Sep 14th, 2009 at 6:10pm Post subject: Re: Installing P202 on Rackspace Cloud Sites Reply with quote

Hi bostonseom,

may I ask you about your experiences with Rackspace?

Would you recommend it for the installation of Prosper202?

Also, did you resolve the problem of just seeing the load balancer IP?

Cheers!

Back to top
kahega71


Joined: Oct 5th, 2009
Posts: 1

Post Posted: Oct 6th, 2009 at 12:09am Post subject: Re: Installing P202 on Rackspace Cloud Sites Reply with quote

Hey bostonseom,

The reason for this is due to the way the cloud works. I have used mosso (now known as rackspace cloud) for awhile now.

The $_SERVER['REMOTE_ADDR'] variable is different on the cloud, need to change it to one of these 2:

$_SERVER['HTTP_X_CLUSTER_CLIENT_IP'] - NON SSL

$_SERVER['HTTP_X_FORWARED_FOR'] - SSL

Back to top
Post new topic Reply to topic Page 1 of 1

Creative Commons License This work (Prosper202, Tracking202 and Export202) is licensed under a
Creative Commons Attribution-Noncommercial-Share Alike 3.0 Unported License.