Setting directories within your cgi scripts
| Article ID: |
 |
000024 |
| Rating: |
 |
0.0 / 5.0 (0 votes)
|
| Views: |
 |
1450 |
|
When you configure a cgi script for "any" server, it may ask you to set variables such as the base, relative, and CGI directory/url settings. Here's an "example" using Matt Wright's wwwboard.pl script. Obviously, each script may vary, but this should provide you with some basic idea: $basedir = "/home/yourlogin/public_html/wwwboard"; $baseurl = "http://www.yoursite.com/wwwboard"; $cgi_url = "http://www.yoursite.com/cgi-bin/wwwboard.pl"; Most scripts come with documentation on how to set these directories. Please make sure you read and understand it before configuring the script. New to cgi? Here is a page with questions and answers to numerous questions evolving around the inns and outs of using cgi within your scripts: http://www.w3.org/Security/Faq/www-security-faq.html Another excellent site, which provides step by step chapters is: http://www.cgi101.com/class/
<< back
|