in reply to XAMPP and Perl

I hardly ever work in windows anymore, so this is only a SWAG. But that usually means, in a linux environment, either that the script is not executable, or that the directory from which it is served, is not one enabled in the apache configuration as permitting the execution of cgi scripts. I have no idea whether that advice might translate to your environment.

-- Hugh

if( $lal && $lol ) { $life++; }

Replies are listed 'Best First'.
Re^2: XAMPP and Perl
by zhouzhen (Novice) on May 21, 2008 at 19:28 UTC
    It might be a directory problem... Any way (direct or roundabout) that I can check where the proper directory might be? Since it's a home server, I don't have a cgi-bin file structure... maybe in Apache's httpd.conf?
      Checking the config file is a good start. Another place would be the defaults, usually found by executing the main executable with a -v option (win32 might call it /verbose or somesuch). Documentation is a third place. Apache's is unusually good.

      My criteria for good software:
      1. Does it work?
      2. Can someone else come in, make a change, and be reasonably certain no bugs were introduced?
        I found this in the XAMPP control panel:

        PERL 5.8.8
        Apache module: PERL/2.0.3
        Extensions: .pl
        Document root: \htdocs\modperl\
        Configuration files: \apache\conf\perl.conf + \apache\conf\startup.pl


        Extensions: .cgi
        Document root: \cgi-bin\
        Configuration files: \apache\conf\httpd.conf

        So maybe create a CGI-bin folder there and try it?

        Apache configuration files and documentation had no info regarding this.