Thursday, October 15, 2009

How To Create A Simple CGI Wrapper

Overview
This feature allows you to run CGI scripts from your /scgi-bin/ directory using your uid (user) to run the script. This means that you, or your web pages can run cgi scripts if they are placed in the /scgi-bin/ directory.

Steps
1 To access the CGI Center, click on the icon above the words CGI Center on the main screen of your cPanel interface.

2 To enable the wrapper, click on the words Simple CGI Wrapper.

3 Place any scripts in /home/username/public_html/scgi-bin that you wish to be able to access from the web. (except /username/ will be your cPanel username)

Troubleshooting

Make sure that the scripts you have placed in /scgi-bin/ have the correct permissions and filenames to be run properly on your system.

No comments:

Post a Comment