logo       
Google Custom Search
    AddThis Social Bookmark Button
-->

Re: ActivePerl & Xitami - CGI problems Continued: msg#00294

Subject: Re: ActivePerl & Xitami - CGI problems Continued
Peter van der Goes wrote:
This is a follow-up to my previous post requesting help with the subject combination. In the first post, I listed the content of a simple web page passing a short string to a simple CGI script. I very probably should have stated this the first time around, but the page and script work fine if the script is served from the web server provided by the author of the book where these beginner examples are published. So, I don't believe the script itself is the problem.

Are you saying that the author has a similar script that you copied and
it works fine on his site ?  That really means nothing since you can't
even be sure that the script is identical (although it probably is).
You're probably dealing with a config issue here.

I have tried some suggestions offered by helpful people with the following results: "Put the complete URL of the Web Server being asked to serve the CGI in the action line of the web page." Works correctly if I use the book author's URL, still fails when I try to use my local Xitami installation (get a blank page)

Forget the author's url for the time being.  What happens when you
bring up http://localhost/ or http://127.0.0.1/ ?

What happens when you bring up http://localhost/cgi-bin/testcgi or
http://localhost/cgi-bin/testperl.pl ?

"Active Perl only interprets .pl files, not .cgi."
Changed the extension of animal.cgi to animal.pl. No difference noted. Still get a blank page. If I change the extension on the simple, self-contained script that *will* run, it runs equally well with either .cgi or .pl as the extension.

ActivePerl will interpret any file extension - ignore that.  Stick with
.pl for now.

Have you checked all log files ?

Have you modified the default config ?

Have you examined the source (view source) from the browser to see what
it's getting ?

--
  ,-/-  __      _  _         $Bill Luebkert   ICQ=162126130
 (_/   /  )    // //       DBE Collectibles   Mailto:dbe@xxxxxxxxx
  / ) /--<  o // //      http://dbecoll.tripod.com/ (Free site for Perl)
-/-' /___/_<_</_</_     Castle of Medieval Myth & Magic http://www.todbe.com/

_______________________________________________
ActivePerl mailing list
ActivePerl@xxxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs



<Prev in Thread] Current Thread [Next in Thread>