Welcome to Proweb (UK) Ltd, click the logo to return to our home page Proweb (UK) Ltd, talking your language
home products & services eshop support contact
Support
total
internet
solutions
for business
Welcome to Proweb (UK) Ltd
 
Click to select Network/Server Status Network/Server Status
Click to select Security Threats Security Threats
Click to select Connectivity Connectivity
Click to select Email Configuration Email Configuration
Click to select Web based Email Web based Email
Click to select FTP Service FTP Service
Click to select Mail Forms Mail Forms
Click to select CGI Wrap CGI Wrap
Click to select Jargon Buster Jargon Buster
Click to select New User Information New User Information
Click to select Domain Name WHOIS Domain Name WHOIS
Click to select Sender Policy Framework Sender Policy Framework
Click to select Contact Us Contact Us
Click to select Back to Home page Back to Home page

Proweb CGI Wrap

What is CGI-Wrap?

CGI-Wrap is a program that allows users to execute CGI scripts on their web sites, without any danger of changing any files outside their own web space. This means that security for individual users is greatly improved.

Why use CGI-Wrap?

CGI-Wrap is used because normal CGI scripts are all executed with one set of permissions, meaning that someone could accidentally over write someone else's webspace if they spelt a directory incorrectly for example. CGI-Wrap allows the scripts to run using the identity of the site owner, so that you can only modify the contents of your own webspace.

Please note : ProWeb does not offer free support for script authoring, installation or debugging. Assistance will be charged at the prevailing rate. Please contact support@proweb.net for further details.

How do I use CGI-Wrap to execute my script?

Firstly, upload the script to the webspace, in the www directory. Most people prefer to create a sub directory of the www folder, named cgi-bin to place all script files in.

It is very important that you modify the script to be executable. Please refer to the instruction for your ftp client for details on how to do this. Once you have modified the permissions, you need to refer to the script page using the following structure for the path.

There are two methods you can use to reference a CGI-wrap script.

From a Link:

     <a href="/cgi-bin/cgiwrap/username/ScriptName">

Or from a Form:

     <form method=post action=""/cgi-bin/cgiwrap/username/ScriptName">

Here are some program locations that you may find useful in writing scripts

sh - /bin/sh
perl5 - /usr/bin/perl or /usr/bin/perl5
mail - /bin/mail
sendmail - /usr/sbin/sendmail

Registered office: 18 Mansfield Road, Daybrook, Nottingham NG5 6AA. Registered in England No: 3162345 & 3570381