From the Class Manager, choose the Programs tab.
The CGI Directory window appears.
In the URL Prefix field, type the URL prefix to use for this directory. The text you type appears as the directory for the CGI programs in URLs.
For example, if you type cgi-bin as the URL prefix, then all URLs to these CGI programs have the following structure:
The URL prefix you specify can be different from the real CGI directory you specify in the previous step.
In the CGI Directory text field, type the location of the directory as an absolute path. This directory doesn’t have to be under your document root. This is the reason that you need to specify a URL prefix in the next step.
Save and apply your changes.
To remove an existing CGI directory, click that directory’s Remove button in the CGI Directory form. To change the URL prefix or CGI directory of an existing directory, click that directory’s Edit button.
Copy your CGI programs into the directories you’ve specified. Remember that any files in those directories will be processed as CGI files, so don’t put HTML files in your CGI directory.