| |||
| |||
|
|
|
Home:
Support:
Manual:
CGI:
Where:
Where Should I Put CGI's ? Standard CGIs reside in the cgi-bin subdirectory. Your CGIs may reside anywhere - but you must name them with the extension .cgi.
Since the server will determine if a file is a CGI by the file extension, ALL CGI SCRIPTS MUST END WITH THE EXTENSION ".CGI" For example, A CGI script named "form" should be named "form.cgi" on the server. The path of this CGI script will look something like "/www/htdocs/company/cgi/form.cgi" . Although you can put your CGI scripts anywhere, we suggest placing them in a directory called "cgi" (NOTICE: you can not name this directory "cgi-bin") In this scenario, if your domain name is company.com, you would then access your scripts as http://www.company.com/cgi/form.cgi.
|