http://qs1969.pair.com?node_id=147251


in reply to Re: Re: ActivePerl / Apache / WinMe config problem
in thread ActivePerl / Apache / WinMe config problem

Run through this to see you have everything set properly:

Your PATH contains the location to your perl/bin directory (most commonly installed to C:\perl\bin.

Your ScriptAlias looks something like : ScriptAlias /cgi-bin/ "C:/Path/To/Apache/cgi-bin/"

also could you post the contents of your script so i monks can take a look. There might be a code error.

Replies are listed 'Best First'.
Re: ActivePerl / Apache / WinMe config problem
by neuralnoise (Initiate) on Feb 25, 2002 at 03:37 UTC
    PATH contains the location to your perl/bin directory

    Yup. PATH=D:\Perl\bin

    ScriptAlias looks something like: ScriptAlias /cgi-bin/ "C:/Path/To/Apache/cgi-bin/"

    Yup: ScriptAlias /cgi-bin/ "D:/apache/cgi-bin/"

    I'm using a hello world script so the code shouldn't be an issue, unless there is perhaps a switch or something different I should do in the shebang? (I've tried it with back and forward slashes, tried etc\perl as well as etc\perl.exe, and tried several variations on capitalizatoin in case that matters (capitalization as below matches the o/s):

    #!D:\Perl\bin\perl
    print "Content-type: text/plain\n\n";
    print "hello, world!";

    thanks much for your help, this thing is making me nuts!