[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: CGI



Easy..

each virtual host has a <VirtualHost> section right.. in there you add

ScriptAlias /cgi-bin/ /home/HOMEDIR/cgi-bin

for each one... and that should do it...



Dave





On Wed, 1 Aug 2001, Anthony @ PencilFight Design wrote:

> Okay.
> I have a bunch of virtual sites set up and I would like to run cgi within
> each one. Each site would have it's own cgi-bin where the cgi scripts would
> run.
> 
> Would I add this some where in the http.conf file for each virtual domain?
> 
> 
> :-----------------------:
>    Anthony Minero
>    Creative Director
>    PencilFight Design
>    PENCILFIGHT.COM
>    2518 Lincoln Blvd.
>    Los Angeles, CA. 90291
>    310.403.6599
> :-----------------------:
> 
> > From: Chris Raper <chris raper hartslock org uk>
> > Organization: http://hartslock.org.uk
> > Date: Wed, 01 Aug 2001 21:09:21 +0100
> > To: anthony pencilfight com
> > Subject: Re: CGI
> > 
> > On 1 Aug 2001 21:08:16 +0200, in linux.redhat.install you wrote:
> >> I just moved to a new server running Red Hat 7.1 and I thought that CGI was
> >> automatically set up.
> > 
> > Hi Anthony
> > 
> > I had similar problems when I started a few weeks ago but I think I
> > got around it by making sure the apache configuration file
> > (httpd.conf) was pointing to where I had the perl scripts and made
> > sure they were executable.
> > 
> > The best test is to do a 'hello world' perl script and run it at a
> > shell prompt - if it runs then there is no reason why you can't get
> > apache to run it - other than apache has to know which folder the CGI
> > scripts are in! :-)
> > 
> > Best wishes,
> > Chris R.
> > 
> 
> 
> 
> _______________________________________________
> Redhat-install-list mailing list
> Redhat-install-list redhat com
> https://listman.redhat.com/mailman/listinfo/redhat-install-list
> 





[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]