Computer House Home PageList of products and servicesDrivers, Utilities, Info and More!Learn more about Computer House

 How do I add a cgi-bin for a virtual host?

 
Answer
 
This feature will add a ScriptAlias to your srm.conf configuration file, and create the cgi-bin directory under /www/htdocs/virtualhostname To add a cgi-bin for a virtual host, follow the instructions below:

1. From the control panel, choose the "Create cgi-bin's for virtual host" option.

2. Enter the directory name of your virtual host.
This is the name of the directory in your htdocs directory, and not the full path. Just input the directory name.

3. Enter the Virtual Host Domain Name.
This is the domain name of the client account WITHOUT the http://www. All that is required is domain.com.

4. Click on "Make the Virtual Host's cgi-bin"

When virtual host call the scripts they have put into their cgi-bins they will need to call it using.

/clientdirectorycgi/script.pl

Your clients may now begin using the scripts in their cgi-bin.

Back to Index

The Computer House Technology Center, Inc.
740 South Sixth Avenue
Galloway, New Jersey 08205
(800) 372-6834 --- FAX: (609) 748-9776

Copyright © 2001 Computer House, Inc. All Rights Reserved.