2 Help U
- For Unix servers
This page
Help page to install ONLY the EA 1.5+
Advise, Comments & Tips are always welcome.
Text Editor
It's very important that you get a suitable text editor to edit scripts.
-
Arachnophilia & UltraEdit
All in one editors. Works fine for me.
Download them from:
Arachnophilia
and
UltraEdit
-
Recommended by others
Textpad
Standard configuration
-
#!/usr/bin/perl
This must point to the Perl version on your server. If you don't know, ask
your host.
In most cases
#!/usr/bin/perl
or
#!/usr/bin/perl5
works OK.
-
$config{'basepath'} = '/xxxx/xxxx/xxxx/';
This is your basepath. The EA script will create your "category", "closed" and
"reg" directories automatically in this path (data directory). Trailing slash
"/" is needed.
For data security reasons, it must be out of the web. See FAQ "What is basepath"
ANOTHER POSSIBILITY FOR SECURITY
If you want to place the data directory in a web-accessible section you can
do so BUT you must have the .htaccess file with the text "deny from all" in
that
same directory.
So you create a file with the text DENY FROM ALL and save it as .htaccess
and upload it in your data directory.
You can get to know your basepath in 3 ways
(1) Telnet and issue the command PWD
(2) ask your host and
(3) with the scripts, basepath.cgi, perldive.cgi or servercheck.cgi
Download them from the FAQ page.
-
$config{'closedir'} = 'closed';
Closed auctions will be moved to this directory (leave this 'closed' "as is" for now)
-
$config{'regdir'} = 'reg';
The data of all registered user will be in this directory (leave this 'reg' "as is" for now)
-
$config{'adminpass'} = 'auction';
The password for deleting posted items
-
$config{'mailprog'} = '/usr/lib/sendmail -t';
,
$config{'mailhost'} = 'localhost';
OR
/usr/sbin/sendmail -t
The mail program on your server. Try one at a time by commenting (to comment
add # in front and to uncomment remove the #. If still unsuccesful, ask your
host or see FAQ to get it yourself.
-
$config{'admin_address'} = 'xxxxxx@xxxxx.xxx';
Your email address
-
$config{'scripturl'} = 'xxx.xxxx.xxx';
Your domain - eg. www.auction.com
-
$config{'sitename'} = 'xxxxxx';
Your site name - The name of your auction.
-
Save your script when done with the above mentioned STANDARD CONFIGURATION.
PS: Some servers require CGI scripts. In that case, just rename auction.pl to
auction.cgi
-
Make a directory out of the WEB. (your base directory) and chmod it 777.
-
Make a directory in your cgi-bin directory and upload the script with ASCII
there and then chmod it 755
-
Finished
To Chamod with FTP program
After starting up your ftp program go to the cgi-bin directory then select the
script file and make a right click. Select Chmod (unix) , select 755 and click
OK..
Do the same to chmod your data directory 777. In this case you have to select
the directory.
chmod 755
|
chmod 777
|
Miscellaneous
To call the script : eg.
http://www.yourdomain.com/cgi-bin/auctiondirectory/auction.pl
To go to the admininstration section of the script : eg.
http://www.yourdomain.com/cgi-bin/auctiondirectory/auction.pl?action=admin
CVS Tutorial
Another way to download and update the script.
No help
Distribute free scripts
Redistribute free scripts
Sell free scripts
Download free scripts for others
Take responsibility for damage(s) caused by free scripts.
Good luck
Home
NT Server
FAQ
© Copyright 2000 All Rights Reserved