installation

AT CORE Installation



ATC is designed to be as accessible as possible.
Therefore it can be installed with just an FTP account.

1) download the following .zip file
http://www.aslicense.com/atc/dl/atc_img.zip


2) upload the contents of this zip file to http://www.yourdomain.com/atc/
This directory is a perfect place to write your toplists to,
so consider setting the permissions of the directory to 777


3) download the zip installation package that matches the Operating System (OS) of your server

Operating System Download Link ATC version
FreeBSD 5.4 - 32 BIT download ATC v1.04
FreeBSD 6.x - 32 BIT download ATC v1.04
FreeBSD 6.x - 64 BIT download ATC v1.04
FreeBSD 7.x - 32 BIT download ATC v1.04
FreeBSD 7.x - 64 BIT download ATC v1.04
LINUX package II - 32 BIT
supports: redhat 8-9, Fedora 1-2 centOS 3, debian 3
download ATC v1.04
LINUX package III - 32 BIT
suports: Fedora 4-6, debian 4
download ATC v1.04
LINUX package IV - 32 BIT
suports: CentOS 4, CentOS 5
download ATC v1.04
LINUX package III - 64 BIT
suports: Fedora 4-6, debian 4
download ATC v1.04
LINUX package V - 64 BIT
suports: CentOS 4, CentOS 5, redhat ES4, debian 5
download ATC v1.04
if your server OS isn't listed, contact us.


4) extract the .zip file and upload the contents in binary mode to http://www.yourdomain.com/cgi-bin/atc/


5) set the following permissions

Location Permission level  
directory /cgi-bin/atc/757 * 
directory /cgi-bin/atc/x757 * 
directory /cgi-bin/atc/d777 
directory /cgi-bin/atc/l777 
all files in /cgi-bin/atc/755 
all files in /cgi-bin/atc/x/755 
* If you wish to take advantage of the automatic updates functionality, it is neccesary to use 757.
If your server doesn't support 757 permissions in the cgi-bin dir, set the permission to 755 instead.


6) point your browser to
http://www.yourdomain.com/cgi-bin/atc/install.cgi
and follow the instructions



7) After completing the web-based installation, chmod the file cgi-bin/atc/install.cgi to 0
Login to the admin with user / pass, and go to Menu - ATC - Update, and click on update geo-ip database
Without the geo/ip database the program won't function correctly

Internal Server Error?
If you receive this error while loading the ATC admin,
one of the following 3 things has gone wrong
1) You have uploaded the cgi files in ascii mode instead of in binary mode.
Double check the settings of your FTP client
2) You have uploaded a package that isn't compatible with your server.
Try to upload a different installation package.
3) The file / directory permissions are incorrect.
On 99.9% of all servers, using 755 for the cgi files and the /atc/ atc/x/ dir will be correct.


AT CORE Configuration

1) Tracking incoming traffic

To track incoming traffic (and activate the program) include the following code on your index page

index.shtml pages
<!--#include virtual="/cgi-bin/atc/in.cgi" -->

index.php pages
<?php virtual ("/cgi-bin/atc/in.cgi"); ?>


2) Controlling outgoing traffic

To track outgoing traffic, pass all links to out.cgi
A regular link may look like this
<a href="http://www.adultsite.com/gallery/1/index.html"> xxx gallery </a>

To send the surfer through ATC, modify the link so it looks like this
<a href="/cgi-bin/atc/out.cgi?s=60&l=topgallery&c=1&u=http://www.adultsite.com/gallery/1/index.html"> xxx gallery </a>

You can pass several arguments to out.cgi to control the traffic.
Here's a quick overview of what they all mean and do
s=60 The surfer has a chance of 60% to be redirected to the gallery, 40% to see a trade  
c=0 sends the click always to a gallery
c=3 sends the first 3 click to a gallery
l=topgallery set the linktag to topgallery
gr=teens load trades from the group teens
id=15 credit trade id 15 with +1 out (toplist only!)
u=http://www.gallery.com sets the gallery url

The &u=http:// part must always be at the end of your link to out.cgi
Everything behind &u= is considered to be the gallery url.


3) Adding Trades

The settings for new trades are based on the profile called "newtrade".
First let's check the settings for this profile.
Go to menu - trades - accounts. Scroll down to current accounts
and click the edit link behind newtrade.
These settings are automatically filled in everytime a new trade is added via the signup form,
and when you add a trade via the admin. You may wish to change the trade type and the toplist settings for new trades.

Once you have reviewed the settings, go to menu - stats - main overview.
Locate the button add trade in the top left. Click it to open a pop-up window.
To add a trade, fill out at least the following settings
url: The url of the website you're going to send traffic to
in toplist: The trade will appear in the toplists on your site
trade type: Set this to full, at this point there's no reason to cap a trade
single force: Depending on your traffic levels, fill out something like 20 till 100 to start the trade
Click the submit button and the trade is added right away.
Don't forget to signup your own website with your new trade partner


4) Further reading

Visit http://www.arrowscripts.com/atc/docs/index.shtml to read more about specific features in ATC.
You can also contact support if you have a question or suggestion