Domain Registration from
$12.50/year
Domain Registration from
$12.50/year

The Best Web Hosting Deal Special

Only $17.95 / mo

CGI

Using cgiwrap to Run CGI Scripts

Normally, a CGI script runs as the user www. This means that you may not be not able to update files created by your CGI script, and that permissions on files your CGI script needs to access must be set to allow everyone to read them.

 

Because this is not always appropriate, a CGI wrapper has been installed. This wrapper will allow you to run CGI scripts using your own username. This means that you will have full control over files created by your CGI scripts, and that you can have tighter control over other files your script needs.

 

To use cgiwrap to run a CGI script, the script must be placed in a directory of your public_html called: cgibin.  Then, you simply use a slightly modified URL to access the script by passing it through the wrapper.

 

For example, if the URL for your CGI script is: http://www.yourdomain.com/cgibin/script.cgi

 

You would use this URL to access the script using cgiwrap: http://www.yourdomain.com/cgi-bin/~username/script.cgi

 

In other words, remove "cgibin" from the path, and replace it with "cgi-bin/~username".

HELPDESK

WEB HOSTING SOFTWARE VERSIONS

  • 4.4.9, 5.2.28

  • 4.1.22. 5.0.67

  • 11

  • 2.11

  • 4.4.9, 5.2.28

  • 4.1.22. 5.0.67

  • 11

  • 2.11

top


SecurityMetrics Credit Card Safe

Developed by