Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:
OK, newbie problem, and it's prolly something simple I've overlooked, but I can't seem to get cgi scripts to execute from the browser -- it always tries to download them. (ActivePerl 5.6.1.631, Apache 1.3.22, WinMe)
command line works fine; the script alias to cgi-bin is working since it finds the file to download it; if I deliberately muddle the shebang line I get a 500 error, so it seems apache is _trying_ to execute the script, and something is going wrong when it actually calls perl.exe.
I have tried it both with and without AddType and AddHandler (though I think I shouldn't need them since I'm working in the script-aliased cgi-bin?); I have tried using other directories (with AddType, AddHandler, and Options ExecCGI); I have tried the reg edit from this answer in the q&a section (which I think is really just for the MS-PWS, not apache?), all to no avail.
Any help will be most appreciated, I'm at wits end!
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: ActivePerl / Apache / WinMe config problem
by emcb (Beadle) on Feb 25, 2002 at 01:45 UTC | |
by Anonymous Monk on Feb 25, 2002 at 02:24 UTC | |
by emcb (Beadle) on Feb 25, 2002 at 02:44 UTC | |
by neuralnoise (Initiate) on Feb 25, 2002 at 03:37 UTC | |
|
Re: ActivePerl / Apache / WinMe config problem
by Dog and Pony (Priest) on Feb 25, 2002 at 13:04 UTC | |
by Anonymous Monk on Feb 26, 2002 at 04:55 UTC | |
|
Re: ActivePerl / Apache / WinMe config problem
by Anonymous Monk on Feb 26, 2002 at 04:30 UTC | |
by Anonymous Monk on Mar 05, 2002 at 03:12 UTC |