Main Menu
Home
Open a Ticket
My Ticket History
Browse Knowledgebase
My Account
Back to CSMediaHosting.com

Login
 E-mail:
 Password:
Register | Forgot Password?

Knowledgebase
Search by keywords:


Contact Us
Cornerstone Media Group, Inc.
615 Beaver Ruin Rd NW
Suite A
Lilburn, Georgia 30047

Local Phone: 770.717.0837
Toll Free: 800.985.0996

Office Hours:
Monday - Friday 8:30AM - 6:30PM

Knowledgebase
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

Rating
Did you find this article helpful?