|
Unix Instalation
I have included a script that will give you some help
getting the paths to your server, perl, sendmail and other environments... This
script will just get the Environments and print them out for you so if you are
unsure of what the full path to something is, you can run this script and it
will tell you...
Unix: upload the getenv.pl file to your cgi-bin and then CHMOD to 755.. Then
just go the url of the script...
http://www.yoursite.com/cgi-bin/getenv.pl
Unix Installation: (Also see NT Installation)
STEP 1:
- Create a directory on your server under your cgi-bin called "adspro" or whatever
you want...
- Create another directory on your server under the adspro directory called "files" or
whatever you want...
- Create another directory on your server under the images directory
called "adspro" or whatever you want...
/path to your cgi-bin/adspro
/path to your cgi-bin/adspro/files
/path to your images/adspro
CHMOD on the "adspro" directory to 755
CHMOD on the "files" directory to 777
Unix Server
Lets say your full path to your cgi-bin is
/home/r/a/randall1/public_html/cgi-bin ..
- Create a folder under the cgi-bin called "adspro" or whatever you want...
- Now create another directory under the "adspro" directory called "files" or
whatever you want...
- Now create another directory under the "images" directory called "adspro" or
whatever you want...
Now you have three directories
/path to your cgi-bin/adspro
/path to your cgi-bin/adspro/files
/path to your images/adspro
CHMOD on the "adspro" directory to 755
CHMOD on the "files" directory to 777
STEP 2:
- Open the settings.pl file with a text editor like notepad or wordpad...
- Change the editable variable $filesdir to the path of the folder which has
write permissions...
The rest of the script is configured from within a self setup script.
- You might also need to open each pl file and change the 1st line to the path to perl. #!/usr/bin/perl is usually the path but you might need
to change this to #!usr/sbin/perl or something like that
*** Make sure you put the full path to the directory in the $file_dir
that you created in step 1... If this path does not point to a write able
directory, your script will not work... Make sure you CHMOD to 777
on this directory...***
STEP 3:
- Upload all the pl file to the /cgi-bin/adspro directory... Unix does not
require the ntmail.pl file...
If you are on a UNIX server, CHMOD to 755 on all the pl files.
- Upload all the images from the zip file to the
http://www.yoursite.com/images/adspro directory.
STEP 4:
- Now just go to the URL of the admin.pl file and set up your options...
http://www.yoursite.com/cgi-bin/adspro/admin.pl
That's it... Your done... IF you experience any problems, make sure that directories
your created are
write able... Also you can disable the file locking
and see if this fixes any problems...
If you are running one of the scripts from MHF Media, you can add your site
to my "Sponsors" sections for FREE... The Sponsors are
displayed on every page of my site... Free traffic to you!!!
Click
Here to Add Your Site
Any questions or comments?
Make suggestions or requests to:
Chris Bruce
support@mhfmedia.com
|