Check with your web host to be sure whether or not you can run cgi scripts outside of the cgi-bin.
It does not matter whether you run the script inside or outside of the cgi-bin. Inside the cgi-bin does provide a bit more security, but not much. It is a bit more difficult to set up AgoraCart in the cgi-bin because special procedures need to be followed because files, other than .cgi or .pl files, cannot be served from within the cgi-bin.
You may want to make sure that your web host also meets the other requirements for running AgoraCart on their servers:
Server Requirements for running AgoraCart
- Unix, FreeBSD, OpenBSD or a Linux based hosting account (or server).
- Perl 5.8.x or higher. (most servers will satisfy this requirement)
- This Perl Module must be installed on your server for Version 5.2.x: LWP::Simple (most servers will have this installed)
- This Perl Module must be installed for Pro Version of the cart (Version 5.1.x): LWP::UserAgent (most servers will have this installed)
- This Perl Module must be installed on your server for Version 5.2.x: File::Copy
- This Perl Module must be installed on your server for Version 5.2.x: MIME::QuotedPrint
- This Perl Module must be installed on your server for Version 5.2.x: HTTP::Request
- This Perl Module must be installed on your server for Version 5.2.x: XML::Simple
- This Perl Module must be installed on your server for Version 5.2.x: Net::SSLeay
- FTP or online file manager access with the ability to set permissions on files.
- Run cgi scripts under your own user ID (most servers offer this now) AND/OR the ability to install the wrappers (yourself by SSH2 or by your server admin at your request).
If your current web host does not meet these requirements,
especially the one about running under your own ID,
you will need to obtain other web hosting.
If you've paid for a year upfront with your host,
you should be able to cancel your account and they would
refund you a prorated amount for the unused months of your service.
There are excellent web hosts listed at:
http://resources.scottcrew.com/host.htm
The "Premium" web hosts are verified to work with AgoraCart
Now, once you're sure that your web host will work with AgoraCart:
Download the FTP5.txt file and rename to FTP5.cgi.
Upload the file to your web host's server in ASCII mode.
CHMOD or set permissions of the FTP5.cgi file to 755.
Type the URL to the FTP5.cgi file in your web browser and follow the instructions on the screen.
Be sure to print the final "SUCCESS!!" page as it will contain instructions as to the next steps to take after the install.
HTH!
Last edited by scottcrew on Sat Mar 21, 09 5:50 pm; edited 1 time in total
_________________
God Bless!
Bonnie - AgoraCart Moderator
Get a Gold Membership