Content provided as an educational volunteer effort of the American Passenger Rail Heritage Foundation (APRHF), a 501(c)(3) non-profit organization.
Please help support the preservation and promotion of passenger rail heritage. Join the APRHF today! Website hosting made possible by our sponsors.

HOME APRHF TRAINWEB.COM .NET .ORG .US FORUM FACEBOOK NEWS RAILCAMS TRAVEL RAILFAN MODEL JOBS PARTY
TrainWeb Reports & Web Sites: Featured Today Past Highlights Previously Featured Slideshows The Big Stories Directory
















CGI Programming at TrainWeb.org
www.trainweb.com/tech/cgi.html

Information related to creating, uploading and running CGI programs in TrainWeb.org web accounts will be provided on this web page.

To run CGI programs in your web account at TrainWeb.org, they must be in the cgi-bin folder under public_html, or in a subfolder under the cgi-bin folder. If you do not already have a cgi-bin folder under public_html, you must click here to request that a cgi-bin folder be created in your web account. If you create a cgi-bin folder in your account yourself, your programs will not operate properly.

After you have uploaded your CGI programs, do not forget to set the protection on them so that the world can READ and EXECUTE them. If you forget this step, visitors will get an error message when they attempt to execute your CGI routines. If you read or write any files in your CGI program, be sure to set the proper protection on both the files and the directories in which the files are contained.

Useful Information:

  • SSI (Server Side Includes) can be used, but are not initially enabled
    Click here to request to turn them on.
  • The path to perl is /usr/bin/perl
  • The path to sendmail is /usr/sbin/sendmail

Click below for pages in the directory of TrainWeb sites:
0-9 A B C D E
F G H I J K
L M N O P Q
R S T U V W
X Y Z
CLICK HERE FOR THE FULL CATEGORY DIRECTORY
















Visit our Rail Magazine promotion trading partners:      (Click here to add your print rail magazine.)


ad pos61 ad pos63
ad pos62 ad pos64

TrainWeb Reports & Web Sites: Featured Today Past Highlights Previously Featured Slideshows The Big Stories Directory
HOME APRHF TRAINWEB.COM .NET .ORG .US FORUM FACEBOOK NEWS RAILCAMS TRAVEL RAILFAN MODEL JOBS PARTY

Newsletter | About Us | Contact Us | Advertise With Us | Silver Rails Country for Train Enthusiasts

click tracking
View Stats  | Page updated:08/28/2000  | Version 2018L09a  | Links  | ©2015-2019 NordiLusta, LLC