Thanks for all of your help,
I got it working.
I just had to put the following in the httpd.conf file.

ScriptAlias /cgi-bin/ /var/www/html/somesite.com/htdocs/cgi-bin
ScriptAlias / /var/www/html/somesite.com/htdocs/


and uncomment out 
AddHandler cgi-script .cgi


Thanks again for all of your help!

:-----------------------:
   Anthony Minero
   Creative Director
   PencilFight Design
   PENCILFIGHT.COM
   2518 Lincoln Blvd.
   Los Angeles, CA. 90291
   310.403.6599
:-----------------------:

> From: [EMAIL PROTECTED] (julie wang)
> Date: Thu, 2 Aug 2001 13:07:38 -0700
> To: "Anthony @ PencilFight Design" <[EMAIL PROTECTED]>
> Subject: RE: Perl on Apache
> 
> type:  whereis perl
> at your unix prompt and it should tell you the path to perl and type:
> 
>> perl -v
> 
> This shows you the perl version and if it setup correctly it'll tell you.
> If you see anything else or any error, your perl is install incorrectly.
> 
> -----Original Message-----
> From: Anthony @ PencilFight Design [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, August 01, 2001 4:41 PM
> To: julie wang
> Subject: Re: Perl on Apache
> 
> 
> Sorry to sound like such a newbie but how do I find out what my perl path
> is? I mean where it is set up?
> right now it is pointing to  /usr/bin/perl
> 
> No I'm not sure it is set up correctly, How would I check?
> :-----------------------:
> Anthony Minero
> Creative Director
> PencilFight Design
> PENCILFIGHT.COM
> 2518 Lincoln Blvd.
> Los Angeles, CA. 90291
> 310.403.6599
> :-----------------------:
> 
>> From: [EMAIL PROTECTED] (julie wang)
>> Date: Wed, 1 Aug 2001 16:41:34 -0700
>> To: "Anthony @ PencilFight Design" <[EMAIL PROTECTED]>
>> Subject: RE: Perl on Apache
>> 
>> did you check your perl path to see if you're using the right one?  You
> sure
>> your perl is working and install properly??
>> 
>> -----Original Message-----
>> From: Anthony @ PencilFight Design [mailto:[EMAIL PROTECTED]]
>> Sent: Wednesday, August 01, 2001 4:30 PM
>> To: [EMAIL PROTECTED]
>> Subject: Perl on Apache
>> 
>> 
>> Hello all,
>> I'm having trouble reading a .cgi file on a virtual domain on my server.
>> When I go to the file through a browser I just see the text but it does
> not
>> execute it. I checked the permissions and they all are OK so I figured may
>> be I don't have Perl installed properly.
>> 
>> I'm running Red Hat 7.1
>> 
>> Is there any way to check the set up. May be in the httpd.conf file to see
>> if it's set up correctly?
>> :-----------------------:
>> Anthony Minero
>> Creative Director
>> PencilFight Design
>> PENCILFIGHT.COM
>> 2518 Lincoln Blvd.
>> Los Angeles, CA. 90291
>> 310.403.6599
>> :-----------------------:
>> 
>> 
>> 
> 
> 
> 

Reply via email to