ok slowly making progress - now header footer problem

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

All right, finally gave up on trying to install to Personal Web Server. Installed to UNIX server and everything is working well except getting the messages:

Could not open /cgi-bin/demoheader.html No such file or directory Could not open /cgi-bin/demofooter.html No such file or directory

yes...I have read past postings on this and tried various things like installing the html pages to another directory and coding the basepath to that directory but nothing has worked.

The following is my coding for this in the .cfg file:

# URL to this script: $cgiurl = "http://www.liquesphere.com/cgi-bin/smart.cgi"; $adminurl = "http://www.liquesphere.com/cgi-bin/smartadmin.cgi";

#$secureurl = "https://www.liquesphere.com/smart/smart.cgi";

# what is the base path to the directory where the files are (header,footer, order form)? $basepath= "/cgi-bin";

# what are your header and footer HTML docs? $header = "demoheader.html"; $footer = "demofooter.html";

# where is the order form HTML doc? $order = "order.html";

Thanks in advance for any help that can be provided.

-- Jess Dansereau (jessdansereau@hotmail.com), February 22, 2000

Answers

The base path should be the full path name from the root directory.

E.g. $basepath= "/pub/MyCart/cgi-bin/smart";

P.S. Very hard to configure in Personal Web Server.

-- God bless!

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


Moderation questions? read the FAQ