Asheesh,

        It looks like mod_perl is ok. This information can be gathered here
http://www.netcraft.com/whats/?host=http%3A%2F%2Fwww.mathjmendl.org&Examine=
Wait

www.mathjmendl.org is running Apache/1.3.9 (NetRevolution Advanced Extranet
Server/Linux-Mandrake) PHP/3.0.13 mod_perl/1.21 
        
Well this is what I need from you in order to help.

1. do a "whereis perl" You should get the following. "perl: /usr/bin/perl
/usr/man/man1/perl.1.bz2" if you do not get this or something different
reinstall perl.

2. Look at the perl script make sure the first line says " #!/usr/bin/perl "
without the quotes of course. If the script dose not match what came up with
the whereis command change it to reflect the out put of the command i.e.
/usr/bin/perl.

if that still dose not help attach a "snippet" of your httpd error log and
the perl script, and I'll take a look at it, and see if I can help at all.
Also since you are running php, there are some real nice guest books for
php. Take a look at http://www.freshmeat.net or http://www.freecode.com


cheers,
--------------------------------------------
Eric Peters     Mail:[EMAIL PROTECTED]
System Admin Network Operations
Inherent Technologies Inc.   
office (503)224-6751 ext 224
--------------------------------------------

> -----Original Message-----
> From: Asheesh Laroia [mailto:[EMAIL PROTECTED]]
> Sent: Monday, June 19, 2000 10:15 PM
> To: Jean-Michel Dault
> Cc: [EMAIL PROTECTED]
> Subject: Re: [expert] Apache + CGI = Error?
> 
> 
> Wow.  Thanks so much.
> 
> I know I can't imagine Microsoft saying, "Oh, ASP isn't 
> working on your
> IIS?  Well, I wrote IIS, so send me your error log and we'll 
> see what we 
> can do."
> 
> Wow.  Thanks.
> 
> But anyway, you said that the /perl directory isn't really CGI.  So, I
> reinstituted my /cgi-bin directory.  If you want the 
> httpd.conf file, just
> ask.
> 
> In the error log, when I try to POST to
> www.mathjmendl.org/cgi-bin/visitorbook.pl, it says, "Premature end of
> script headers."
> 
> If you need/want that script as well, just ask.
> 
> Again, thanks so much for your reply!
> 
> Sincerely,
> 
> Asheesh Laroia.
> 
> 
> On Sat, 17 Jun 2000, Jean-Michel
> Dault wrote:
> 
> > 
> > On Sat, 17 Jun 2000, Asheesh Laroia wrote:
> > 
> > > Serving static HTTP content works great.  However, perl 
> scripts were
> > > always a huge problem.  Since I didn't modify anything 
> before trying
> Perl,
> > > I was wondering what steps some of you have taken to 
> allow a Mandrake Air
> > > server to dish out dynamic (perl-based) content.
> > 
> > Your server looks okay. Have a look at
> > http://AsheeshEnterprises.com/perl/test.pl
> > 
> > This is the default test script, all seems okay. However, 
> the scripts
> > installed in the /perl directory are made to run perl as a 
> cgi and not
> > mod_perl. mod_perl is very strict on what it runs.
> > 
> > Your visitorbook.pl churns an internal error, I would need 
> your error_log
> > to diagnose it.
> > 
> > You can mail me personnaly at [EMAIL PROTECTED] if 
> you would like
> > me to check it out. You can trust me, my name is in 
> > http://AsheeshEnterprises.com/index.shtml ;-)
> > 
> > Jean-Michel Dault
> > Corporate Developer
> > MandrakeSoft (Montreal)
> > 
> 
> 

Reply via email to