|
Configuring Your CGI Script |
|
Configuring Your CGI Script What are the paths to common server programs? Perl Path: #!/usr/bin/perl Sendmail Path: /usr/sbin/sendmail Domain directory: /home/username/public_html/ Non web directory path: /home/username/ Cgi-bin path: /home/username/public_html/cgi-bin/ Cgi Wrapper path: /home/username/public_html/scgi-bin Uploading Your CGI ScriptWhat transfer mode should I use when FTP'ing my files? You must transfer the file using the ASCII transfer mode in your FTP program. Where do I put my CGI files? You should upload CGI files to your /cgi-bin directory. You can use the extension .cgi and put the cgi program in whatever directory you wish. An example would be to use index.cgi to have your main index page be a cgi script." Using Your CGI Script How do I call my CGI scripts? To call your CGI scripts from the web use http://www.yourdomain.com/cgi-bin/filename.pl Can I run CGI scripts in all directories? Yes, you can run CGI scripts in all directories using the .cgi or .pl extensions. Can I get telnet or ssh access to configure my CGI scripts? We do not offer telnet or ssh access for security purposes.
|