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

Re: CGI



Welll fisrt things first.. do you have ANY working cgi's on your system ?

if not.. you could go here http://www.reedmedia.net/projects/systemstatus/
I'm just using this one becuase I know it works for me..

and get a simple system stats cgi.. and put it in the cgi dir.. if it doesn't work from a browser
you can go via the console (telnet ssh whatever) and in that dir type


perl (name of script)

if it runs perl should be ok..

if it runs .. then I 'm back to the other question .. do you have a line in your httpd.conf file that says this

AddHandler cgi-script .cgi

??


Dave



At 04:33 PM 8/1/2001 -0700, you wrote:
OK,
I've just realized that maybe PERL isn't set up properly on my server. CGI
may be working but I have a file written in PERL and instead of executing it
I just see the code. I checked all the permissions and it should work.

Is there a place to check if it is set up properly?
httpd.conf?

If so what should it say?
:-----------------------:
   Anthony Minero
   Creative Director
   PencilFight Design
   PENCILFIGHT.COM
   2518 Lincoln Blvd.
   Los Angeles, CA. 90291
   310.403.6599
:-----------------------:

> From: Dave Lewis <dave dsl-co com>
> Reply-To: redhat-install-list redhat com
> Date: Wed, 1 Aug 2001 16:35:38 -0400 (EDT)
> To: redhat-install-list redhat com
> Subject: 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
>>
>
>
>
> _______________________________________________
> Redhat-install-list mailing list
> Redhat-install-list redhat com
> https://listman.redhat.com/mailman/listinfo/redhat-install-list
>




_______________________________________________
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]