Support Home
Webmail Login
Server Status
Security Threats
Broadband Support
Email Configuration
Hosting Support
CGI Wrap
Mail Forms
 

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

  
Home Page | News | Sitemap | Terms & Conditions |
  W3C, Established Since 1994, ISPA Members W3C
Registered office: Proweb Uk Ltd, St James Business Park, Radcliffe on Trent, Nottingham, NG12 2JP. Registered in England No: 3162345 & 3570381