ROCKCI HOME 
DIY Virtual Servers 
 

User Manual   
Chapter 1 Introduction 
Chapter 2 Getting Started 
Chapter 3 Features 
Chapter 4 Security 
Appendix A Administrative 
Appendix B add-ons 
Appendix C facilities 

 
SEARCH FOR YOUR DOMAIN
www.
.com
.net
.org

Powered by ROCKCI DIY

ROCKCI DIY Virtual Server User Manual Chapter 3-4-7 ROCKCI DIY Virtual Server Features -
Running YOUR CGI Scripts on your Virtual Server
ROCK Capital Interactive 
Chapter 3-4-7 ROCKCI DIY Virtual Server Features 
Running YOUR CGI Scripts on your Virtual Server   

Whether you write your own CGI scritps in PERL or you find a great script on the web you would like to use on your website, you will need to configure it to run properly on your ROCKCI DIY Virtual Server. 

ROCKCI DIY Virtual Servers fully support CGI scripts based on Perl, Unix SH, KSH, CSH, and C languages. CGI is configured to run in any directory. Perl 5 (and Perl 4 for older applications) are located on the server for your use. 
 
PERL 5 
Most of the programs you will write or use will be the latest version of PERL which is PERL 5 . The path to PERL 5 is /usr/local/bin/perl . 
The first line in PERL 5 applications should therfore look like this: 
#! /usr/local/bin/perl 

PERL 4 
There are a few older scripts which will not run on PERL 5. This is very rare. You will almost always want to be using PERL 5 as described above. However PERL 4 is also installed for those rare cases when you need it. The path to PERL 4 is /usr/bin/perl 

Scripts Calling An Email Program 
ROCKCI DIY Virtual servers use the Sendmail replacement program EXIM
The path to EXIM /Sendmail is: /usr/sbin/sendmail  Scripts using mail should have a reference similar to the following: 
mail_program = "/usr/sbin/sendmail"  

System Path of Your domain's root directory 
As you know from reading 3-1-2  Your Home Directory   of this manual, 
The system path of your domain's root directory is /usr/local/www/data/yourname  Where yourname is replaced by your login name. 

SUEXEC 
For security purposes, ROCKCI DIY Virtual Servers use the Apache suEXEC feature   . 
 

Previous Table of Contents Next
Powered by ROCKCI DIY
Powered by ROCKCI DIY Virtual Servers

This Web Page © Copyright 1999 ROCKCI ,Cleveland, OH. All rights reserved.
Last edit 3/18/99 by webmaster@rockci.com