PCG Hosting is your complete web hosting service. Scalable, affordable, simple, reliable & fast web hosting. We have specialzed in small and medium sized business web hosting and email services since 1997. Our job is to help you and your business thrive on the Internet, whether just starting out or if you already have an established presence on the web. PCG Hosting Support
Contact PCG Hosting
Order Now!
PCG Hosting Homepage Services News & Offers About PCG Hosting Search PCG Hosting Site Map
 

PCG Hosting Support

Control Panel

Support FAQ

Domain Names

E-Mail Questions

FrontPage Help

FTP Upload Help

CGI Information

Anonymous FTP

Web Site Statistics

E-Commerce Help

Request More Help

 

 

PCG Hosting CGI Configuration Information

RELATED INFORMATION

CGI Index

CGI Basics

CGI Config Info

FormMail

Server Side Includes (SSI)

CGI Resources

Legal Disclaimers

 

Configuring your cgi scripts on Unix

If your cgi script outputs HTML, references to images and HTML pages must begin with a slash "/", such as:

<imgsrc="images/logo.jpg">

The full system path to your Web hosting directory is:

/home/provID/www
where "provID" is your Web account login username.

The full system path to your local cgi-bin directory is:

/home/provID/cgi-bin

The system path to the cgi-bin directory is equivalent to the URL:

http://www.your_domain/cgi-bin

We offer the most recent full release versions of Perl and its patches.

  • The path for Perl version 5 is: /usr/bin/perl
  • The path for sendmail is: /usr/sbin/sendmail
  • The path for date is: /bin/date

Configuring your cgi scripts on Windows NT / 2000

  • We offer the most recent full release versions of Perl and its patches.
  • Cgi scripts should be placed in the directory called /cgi-bin. Remove the path statement from scripts on the NT servers.
  • The extensions .pl and .cgi are associated with the Perl program on the server, so Perl automatically gets launched.
  • While the NT server does not have sendmail, it does have ASP Mail. Documentation on ASP Mail is coming soon!