![]() |
|
|
|
Proweb CGI WrapWhat 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 |