Test offline

greenspun.com : LUSENET : S-Mart Shopping Cart : One Thread

I'm newbee in CGI/Perl and, befor try the script online, i would try it offline (...sure, I have installed Apache and configured it to run CGI) on a win98 system. When I use smartadmin.cgi it works (almost fine), but when i launch the test smart.cgi?command=review I receive: "500 Internal server error.....". What's wrong? Please help an italian man on trouble with CGI (and english). If you need more information I can try to tell you more. Thanks in advance, Marco.

-- Marco Ragazzi (mazzo@crosswinds.net), February 12, 2000

Answers

The access permission for all related files has not been changed. Please do the following:

chmod 755 *.cgi chmod 755 *.lib chmod 777 demo.db chmod 755 *.html

God bless!

-- Patrick Chan (patrickccf@hotmail.com), February 13, 2000.


Thank you Patrick for your interesting about my problems. I'm working on Win98 platform and the access permission are not supported (I think). The error message is: "premature end of headers". If you have any idea about it, please contact me by mail or in the forum. Thank you again.

Marco

-- Marco Ragazzi (mazzo@crosswinds.net), February 14, 2000.


Moderation questions? read the FAQ