Setting directories within your CGI Scripts

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". Obviously, each script may vary, but this should provide you with some basic idea:

$basedir = "/home/yourlogin/public_html/wwwboard";
$baseurl = "";
$cgi_url = " /";

Most scripts come with documentation on how to set these directories. Please make sure you read and understand it before configuring the script.

  • 22 Users Found This Useful
Was this answer helpful?

Related Articles

What Is CGI and how is it going to help me?

CGI is translated as Common Gateway Interface. It's used to provide interactivity and turn static...