You'll need to add the following to your httpd.conf file.

AddHandler cgi-script .cgi

<virtualhost virtualdomain.com>
DocumentRoot /home/vhost/clientname/www
ScriptAlias /cgi-bin /home/vhost/clientname/www/cgi-bin ( or whatever )
.
.
.
</virtualhost>

To run cgi's out of the cgi-bin, i.e. anywhere, add the following to
access.conf

<Directory /home/vhost/*>
Options Indexes FollowSymLinks ExecCGI Includes
AllowOverride All
</Directory>

Hope that helps.

Mark
-----Original Message-----
From: Scott Skrogstad [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, August 01, 2000 12:33 PM
To: Red Hat Mailing list
Subject: CGI Question


I have virtual hosts running great on my 6.1 box but now one of my clients
want to use CGI.  How or what do I enable to do this?  All of my clients
files are in /home/vhost/clientname..

TIA,

Scott Skrogstad
Computer Integration Inc,
[EMAIL PROTECTED]
800-522-3475 Phone


--
To unsubscribe: mail [EMAIL PROTECTED] with "unsubscribe"
as the Subject.


-- 
To unsubscribe: mail [EMAIL PROTECTED] with "unsubscribe"
as the Subject.

Reply via email to