shopping cart, shopping cart software, shopping cart system, ecommerce shopping cart, agora shopping cart, free shopping carts, agoracart
The Official Website of AgoraCart and Agora.cgi
Home Free Downloads Online Manuals Support Forum Help & Support Join Now! Members Only

AgoraCart

> About
> Features
> Talking Guide
> Supported Gateways
> Free Download

In Action

> Online Cart Demos
> Shop Live Agora Sites

Cart Add-ons

> Add-ons & Downloads
> DBwizz Database Mgr.
> Security Updates
> Buy it @ Pro Shop

Help & Support

> Online Documentation
> Installation Guide
> User Support Forum
> Become a Member
> Customizations
> Help & TechSupport
> ASP Service Providers

Members Only

> Info & Benefits
> Join Today!
> AgoraCartPro.com
> Members Home Page
> Members Only Forum
> Member Downloads

Merchants Corner

> Merchant Accounts
> Payment Gateways
> Web Hosting Search
> Cool Resources
> Advertise in AgoraCart
> "Powered by" Logos

ASPP Program

> Authorized Providers
> Get ASPP Authorized

AgoraCart Project

> Project Team
> Make a Donation
> Founders Club
> Investment Opps

Installing the Wrappers

LINUX:

Linux does not allow the SUID bit to be set for scripts on older kernels. You can use pre-complied wrappers for these older kernals (links below) After un-tarring, move the files to the appropriate directories and follow the steps starting with step 2 listed for wrap_mgr.c and wrap_agc.c respectively. (the compilation step is done already) You will need TELNET or SSH access to complete the compiling steps. In some cases, you can use the commando screen uif your store manager is able to run. The command to un-tar the files compiled under slackware 3.4 (2.0 series kernels and 2.2 kernals) is:


Pre-Compiled 2.0 kernal Wrappers - linux_20_wrap.tar

Pre-Compiled 2.2 kernal Wrappers - linux_22_wrap.tar


you may also try the manual compiling method outlined below on newer Linux systems:

PART 1: Directions for wrap_agc.c:

1a) upload wrap_agc.c (ascii mode) to same location as the agora.cgi file. In newer versions it is already there.

1b) Compile this C program (use cc if you don't have gcc):

gcc -o wrap_agc.o wrap_agc.c

2) Set permissions on the wrapper so it runs under your id:

chmod 555 wrap_agc.o
   or chmod 4555 wrap_agc.o (some servers this works also/instead)
chmod a+s wrap_agc.o (some servers this works OK)

3) Agora.cgi will detect the wrapper and use it automatically if it is properly placed in the same directory.


PART 2: Directions for wrap_mgr.c:

1a) upload wrap_mgr.c (ascii mode) to same location as the manager.cgi file ...
in the store's /protected directory. In newer versions it is already there.

1b) Compile this C program (use cc if you don't have gcc):

gcc -o wrap_mgr.o wrap_mgr.c

2) Set permissions on the wrapper so it runs under your id:

chmod 555 wrap_mgr.o
   or chmod 4555 wrap_mgr.o (some servers this works also/instead)
chmod a+s wrap_mgr.o (some servers this works OK)

3) Manager.cgi will detect the wrapper and use it automatically if it is properly placed in the same directory.




SOLARIS:

You probably do not need a wrapper program, as modern Solaris kernels have the code to allow for SUID bit to be properly set on your scripts in case your web server does not automatically do that for you. From your TELNET or SSH session or commando in the store manager, use the commands:

chmod a+s agora.cgi (from the main directory)
chmod a+s manager.cgi (from the ./protected directory)

That should enable scripts to run under the acct owner's id, provided that those files are "properly owned" by the account owner. Also, this assumes your http server allows SUID programs to be executed. If your web server does not allow the execution of SUID programs, you can then compile and install the wrappers.




FreeBSD and Other Unix or Unix-like OS:

Try to use the SUID bit on the script, or ask your system administrator if the SUID bit works with scripts. If it does not or you prefer to use the wrapper program, just follow the directions in the comments at the top of each wrapper program. If that doesn't work consult your system administrator or tech support dept. at your hosting company. Use Telnet or SSH access to complete the comiling process. In some cases, you can use the commando screen uif your store manager is able to run.

Manual Wrapper compile Directions for wrap_agc.c:

1a) upload wrap_agc.c (ascii mode) to same location as the agora.cgi file. In newer versions it is already there.

1b) Compile this C program (use cc if you don't have gcc):

gcc -o wrap_agc.o wrap_agc.c

2) Set permissions on the wrapper so it runs under your id:

chmod 555 wrap_agc.o
chmod a+s wrap_agc.o (some servers this works OK)

3) Agora.cgi will detect the wrapper and use it automatically if it is properly placed in the same directory.


Directions for wrap_mgr.c:

1a) upload wrap_mgr.c (ascii mode) to same location as the manager.cgi file ...
in the store's /protected directory. In newer versions it is already there.

1b) Compile this C program (use cc if you don't have gcc):

gcc -o wrap_mgr.o wrap_mgr.c

2) Set permissions on the wrapper so it runs under your id:

chmod 555 wrap_mgr.o
chmod a+s wrap_mgr.o (some servers this works OK)

3) Manager.cgi will detect the wrapper and use it automatically if it is properly placed in the same directory.


Site Meter