| Usage |
The standard PRW.NET account setup places
'uncgi.cgi' on your cgi-bin directory. You should then place any scripts to be
executed using UnCGI on the same directory. If you are using FTP, the hostname
will be home.prw.net and the directory: |
/home/username/html/cgi-bin |
for personal accounts and |
/home/domainname/cgi-bin |
for business accounts. If you need to pass
the fields of a form to a program called "myscript.cgi" via environment
variables, set these form parameters: |
METHOD=POST ACTION=/cgi-bin/uncgi.cgi/myscript.cgi |
Note that there is no "uncgi.cgi"
subdirectory. UnCGI uses what is passed after the "/" on the URL to
determine the script to be executed and any additional path information (if applicable).
Attached is a basic form you can use an an example. To see how to use uncgi as a
frontend to an operating system command press here. In
case you want to test whether UnCGI is working properly, we have included a sample
CGI script called 'env.cgi' that dumps your environment variuables. To use it,
temporarily substitute the script you are running with: |
ACTION=/cgi-bin/uncgi.cgi/env.cgi |
To see how to use uncgi as a frontend to an
operating system command press here. Note that if you want
to use UnCGI embedded on a 'C' program, you will need its
source code. If you have any
questions or problems using UnCGI feel free to send us a message to
support@prw.net . |