Can't get script working on NT servergreenspun.com : LUSENET : S-Mart Shopping Cart : One Thread |
I have the script working on a Unix server, but I can't get it to work on a secure NT machine running the Netscape Enterprise Server. I changed the .cfg file to the NT setting but still no luck. Do the hash marks have to go the opposite way? For example, on the $basepath setting, do I have to put "\\store" or "/store". And for the $tmp directory, do I put "\\tmp" or "/tmp". Does the script even work on this type of server?
-- Brian Cernosek (brian@sitenames.com), February 20, 1998
Brian, I am also having problems getting the script running on NT. When try to run the script, I get the error message:HTTP/1.0 500 Server Error (/path/smart.cgi is not a valid Windows NT application.)
Please let me know if you find the answer. Thanks.
-- Lyman Hardeman (lhardem@erols.com), February 20, 1998.
I had the same problem. Refer to the following document for solution:www.geocities.com/area51/cavern/4503/perl_nt.htm
-- Hamid Torabi (hamid@centuryhost.com), April 03, 1999.
Change the extension of the file from CGI to PL and it will work. This is for NT machines running IIS, not sure about Netscape. NT complies Perl differently. Also be sure to upload in ASCII.
-- Dale Castaldi (ntmcse@usa.net), June 22, 1999.