httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ben Sewell" <ben_sewell_...@hotmail.com>
Subject Re: [users@httpd] Internal Server Error
Date Sun, 09 May 2004 01:23:54 GMT
Okay I uncommented the first line at all pl files including the one I showed 
you. It was #!/usrc/bin/perl but now it is !usr/bin/perl. is that correct 
assuming it uses the same way to ignore lines like apache?

I am not sure about cgi-bin directories for DirectoryIndexing but I have 
attached my httpd.conf. As far as I can tell it is configured right. :-/

cutecast.pl is the installation script I have to run for the forum I want. 
therefore I can call it directly to set it up. That's what I've been trying 
to get working from the begining.

The difference between the cgi-bn URL and the non cgi-bin URL is that I 
didn't think that pl files could execute in normal folders. It was specified 
this has to be in the cgi-bin according to the readme for the forum.

That above line is my normal email sginature that I found amusing a long 
time ago. I found it abit catchy but I did the email in my linux machine but 
I forgot to get rid of it. Sorry you got warned.

Ben

>From: BAO RuiXian <ruixian.bao@pp.inet.fi>
>Reply-To: users@httpd.apache.org
>To: users@httpd.apache.org
>Subject: Re: [users@httpd] Internal Server Error
>Date: Sat, 08 May 2004 20:17:24 +0300
>
>
>
>Ben Sewell wrote:
>
> > Okay I change followed that and the result was /usr/bin/perl. I'm not
> > sure where apache keeps a record of where perl is located but I
> > assumed it is /etc/httpd/conf~/perl.conf
>
>
>Never used perl.conf, but usually people use the first line like
>#!/usr/bin/perl in your CGI script.
>
> > . I uncommented several lines to do with Alias stating /usr/bin/perl
> > which followe each other. Was this correct?
>
>Guess then the alias is correct in your perl.conf file.
>
> >
> > Anyways this is interesting. I include a whole copy of the error log
> > but it is saying file not found yet it does exist with 755
> > permissions.:-/
> >
> > Sat May 08 02:25:46 2004] [error] [client 218.102.237.124] Directory
> > index forbidden by rule: /home/pectabyte/www/cutecast/
>
>Somewhere in your configuratio file, this directory is not allowed
>DirectoryIndexing. Please check it.
>
>
> > [Sat May 08 02:44:35 2004] [error] [client 218.102.237.124] Directory
> > index forbidden by rule: /home/pectabyte/www/cutecast/
> > [Sat May 08 03:55:33 2004] [error] [client 218.102.237.124] script not
> > found or unable to stat: /var/www/cgi-bin/cutecast.pl
>
>
>What you are trying to do? What is your calling URL?
>
> > [Sat May 08 03:56:49 2004] [error] [client 218.102.237.124] Premature
> > end of script headers: cutecast.pl
> > [Sat May 08 03:57:23 2004] [error] [client 218.102.237.124] Premature
> > end of script headers: cutecast.pl
> > [Sat May 08 09:33:01 2004] [error] [client 218.102.237.124] File does
> > not exist: /home/pectabyte/www/cutecast/cutecast.pl
>
>
>What is the difference between /home/pectabyte/www/cutecast/cutecast.pl
>and /var/www/cgi-bin/cutecast.pl?
>
> > [Sat May 08 09:33:18 2004] [error] [client 218.102.237.124] Premature
> > end of script headers: cutecast.pl
> > [Sat May 08 10:15:38 2004] [error] [client 64.30.129.203] Premature
> > end of script headers: cutecast.pl
> > [Sat May 08 10:15:40 2004] [error] [client 64.30.129.203] File does
> > not exist: /home/pectabyte/www/favicon.ico
> > [Sat May 08 10:58:06 2004] [error] [client 62.108.10.74] Premature end
> > of script headers: cutecast.pl, referer:
> > http://marc.theaimsgroup.com/?l=apache-httpd-users&m=108402583327503&w=2
>
>Are you calling this URL? Can you first make a simple CGI script to make
>it work first? Then you can start to run complicated ones.
>
> > [Sat May 08 12:12:27 2004] [error] [client 218.102.237.124] Premature
> > end of script headers: cutecast.pl
> >
> > I did the change to perl.conf before the last line and then used my
> > windows machine to try the result.:-/
> >
> > Ben
> >
> > <html><DIV>
> > <P>&nbsp;</P>
> > <P><STRONG><FONT color=#0033ff>If you fuck me off then standby,
> > </FONT><BR><FONT
>
>What is the above line? for fun? You did not get a warning from apache
>mailing list. I got one by following your post.
>
>
>Best
>
>Bao
>
> > size=4><EM>Ben</EM></FONT></STRONG></P></DIV></html>
> >
> >
> >
> >
> >> From: BAO RuiXian <ruixian.bao@pp.inet.fi>
> >> Reply-To: users@httpd.apache.org
> >> To: users@httpd.apache.org
> >> Subject: Re: [users@httpd] Internal Server Error
> >> Date: Sat, 08 May 2004 18:44:55 +0300
> >>
> >>
> >>
> >> Ben Sewell wrote:
> >>
> >>> Marty,
> >>> I don't know how to verify the location of Perl but I am open for
> >>> suggstions on how. I
> >>
> >>
> >>
> >> Type 'which perl' on your command line.
> >>
> >> Best
> >>
> >> Bao
> >>
> >>> run Red Hat Linux 9 and had Perl installed during setup. I then used
> >>> up2date to update my system.
> >>>
> >>> The pl file that I gave reference to that isn't working is part of a
> >>> forum I downloaded. The forum has been around for about 2 years so I
> >>> doubt they have made a bug in the code to generate the error I got.
> >>> I have chmoded everything as 755.
> >>>
> >>> Ben
> >>>
> >>>
> >>>> From: Marty Landman <MLandman@face2interface.com>
> >>>> Reply-To: users@httpd.apache.org
> >>>> To: users@httpd.apache.org
> >>>> Subject: Re: [users@httpd] Internal Server Error
> >>>> Date: Sat, 08 May 2004 10:17:06 -0400
> >>>>
> >>>> At 09:46 AM 5/8/2004, Ben Sewell wrote:
> >>>>
> >>>>> I'm having a similar problem. my url is
> >>>>> http://pectabytestudios.no-ip.com:8080/cgi-bin/cutecast/cutecast.pl
> >>>>
> >>>>
> >>>>
> >>>> Ben,
> >>>>
> >>>> At the risk of stating the obvious, my debugging procedure would be
> >>>> about the same as suggested to Muhammad.
> >>>>
> >>>> Marty
> >>>>
> >>>>
> >
>
>
>---------------------------------------------------------------------
>The official User-To-User support forum of the Apache HTTP Server Project.
>See <URL:http://httpd.apache.org/userslist.html> for more info.
>To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
>    "   from the digest: users-digest-unsubscribe@httpd.apache.org
>For additional commands, e-mail: users-help@httpd.apache.org
>

_________________________________________________________________
Stop worrying about overloading your inbox - get MSN Hotmail Extra Storage! 
http://join.msn.com/?pgmarket=en-us&page=hotmail/es2&ST=1/go/onm00200362ave/direct/01/

Mime
View raw message