Simple CGI Wrapper

CGI scripts are pieces of software that can do many useful things for your website; for example, a CGI script can create a chat room or shopping cart.

The Simple CGI Wrapper creates a special folder, called /scgi-bin, inside the /public_html directory. When you add scripts to this folder, your web server knows to handle them as CGI scripts.

You can access information about the simple CGI wrapper in the CGI Center by clicking the appropriate link. CGI scripts will need to be placed in /public_html/scgi-bin for cPanel to handle them as CGI scripts. Once a script has been placed in this folder, it will run whenever a visitor uses a web browser to view, as an example, http://www.example.com/scgi-bin/examplescript.cgi. CGI scripts can also be embedded in a webpage using the <action> tag.

Please note that every CGI script will have unique setup needs; be sure to consult the script’s installation instructions. For example, URLs and variables may need to be defined. You can do this using cPanel’s File Manager, or from the command line interface (CLI). (To use the CLI, you will need SSH access to the web server as well as a command line text editor.)

note Note: Your web host may provide a feature called suEXEC that lets it run CGI scripts, making the Simple CGI Wrapper unnecessary for your website. Contact your web host or review the terms of your agreement to find out whether this is the case

  • 0 Users Found This Useful
Was this answer helpful?

Related Articles

Random HTML Generator

If you would like to show a different fact, quote, or other piece of text every time a visitor...

Simple GuestBook

cPanel can generate a simple guestbook for your website. Guestbooks allow visitors to leave...

Advanced GuestBook

 Note: The Advanced Guestbook is a deprecated feature and may not be enabled...

Counter (Add a Counter, Clock, or Date)

You can add a "hit counter" to your website, which tells you how many times your site has been...

Clock

Using this feature, you can create a clock for your...