Being a replica server becomes more attractive when there is a more direct
benefit for helping an origin server out. If the origin owner of a web-site
offers the proceeds of the advertisements on his site to the replica's server
owner in return for the replica server delivering pages.
Google has developed Adsense, a
method where advertisements can be added to web-pages. Whenever a page is
requested by a browsing user, then Google provides an advertisement, and
accredites awards to the web-site owner. Here we explain how, instead of
always the owner of the web-site you can accredit the proceeds of the
advertisements to the owner of the server which serves the page.
First, both web-site owner and replica server owner should obtain an account
for Google AdSense.
Or if a replica-server does not wants advertisement proceeds he can choose
either to let the origin server keep the proceeds or
For the web-site owner / origin server:
The web-site owner should of course include the appropriate AdSense
HTML/JavaScript in his pages. However this code should be a bit different
from the default HTML snippet as AdSense provides. To allow the proceeds to
be shared, Adsense would normally propose to insert something like:
in your HTML. To use AdSense with Globule proceeds sharing then you should
change this.
Within the <HEAD>...</HEAD> section a similar
part as above indicating the default AdSense identity of the web-site owner:
Which allows replica server to suppress the ad, when the AdSense id is set to
- (a single hyphen).
Furthermore, origin site owners should also follow the description for replica
servers, but insert this in the exporting section.
For replica server owners:
Use the FancyServerName directive to set your own Google AdSense
identification. This FancyServerName can be set on each separate web-site.
If you have a replica server which for the site www.revolutionware.net and
your Google AdSense identification is pub-5345587347057115 then you would add: