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

  • 5.2.x 5.3.x 5.4.x 5.5.x 5.6.x 7.0.x 7.1.x 7.2.x

  • 5.0.xx 5.1.x 5.5.x 5.7.x 10.x.x

  • 11.6x.x 11.70.x 11.72.x

  • 4.7.x (older versions available)

  • 5.2.x 5.3.x 5.4.x 5.5.x 5.6.x 7.0.x 7.1.x 7.2.x

  • 5.0.xx 5.1.x 5.5.x 5.7.x 10.x.x

  • 11.6x.x 11.70.x 11.72.x

  • 4.7.x (older versions available)

top

SecurityMetrics Credit Card Safe

Developed by