Author Brad Giosa on 07-07-2000 at 17:02 (EST)
|ok i am running my own win2k server and i have my chopping cart in wwwroot/cgi-bin. everything is contained inn that folder. i downloaded Activeperl. and i set the script properties in IIS 5.0 to .pl -->c:perlbinperl.exe and |
.cgi---> c:perlbinperl.exe and when ever i try to test my ordering everything works except the command just hangs nothing happens. i even went to the command line and type: perl ushop_cgiscript.cgi (also tried pl) with the cmd=write and all that and all it does is hang nothing happens. is there anyone who can help??
thanks brad giosa
please reply by emailing me email@example.com
|Messages In This Discussion|
| 1. RE: CGI/perl.exe|
Author Bill Weiner on 07-08-2000 at 08:13 (EST)
|If you've never executed Perl scripts on your server before, I would suggest that you try installing the very basic Perl script described at:|
This test script is actually on the reference pages for one of our other products (called uStorekeeper), but the concept is the same. By following the instructions to install this very basic Perl script, you should be able to see how Perl scripts are installed/executed on your server, as well as verify that it is indeed setup properly to execute Perl scripts. Once you get that test script working....installing the uShop CGI script should be much easier.
| 2. cgi/perl.exe|
Author brad g. on 07-08-2000 at 16:16 (EST)
|ok i did everythingng it told me too. still doesn't show a test page. could it be that my iis 5.0 setting are wrong or not installed properly?|
in iis 5.0 i have the .pl document point toward c:perlbinperl.exe. is this correct or are my server settings incorrect???
| 3. RE: cgi/perl.exe|
Author Bill Weiner on 07-10-2000 at 06:33 (EST)
|If the very basic test script doesn't run on your NT server, then the server settings may indeed be wrong. Unfortunately, Iím not really familiar with configuring NT servers, but perhaps this excerpt from someone else configuring an NT server will help:|
"For those of us who run our own NT servers, you might consider adding this to your troubleshooting area... If the script tries to download (or is displayed) rather than ran. You say the directory may not be configured to run CGI scripts. And that is true, however the directory must have execute permission, but the site is what must be configured to execute scripts by mapping the perlis.dll to each site that will use it. At site root directory in IIS Console, properties, home directory tab, configuration, App Mappings tab, add. This is true for both IIS 4 on NT 4.0 and IIS5 on Windows 2000 beta."
| 4. perl/cgi mapping|
Author brad g on 07-10-2000 at 10:02 (EST)
| i have tried to map the .pl and .cgi files at the root of my dir in iis 5.0 and scripts and executables are enabled, i have the following mapped:|
.pl mapped to c:perlbinperlis.dll
.cgi mapped to c:perlbinperlis.dll
the does not download and does not show, it only hangs on my browser as if it is doing something.