|Cgi-bin or cgibin?|
|Cgi-bin or cgibin?|
Author Claudio Gennari on 04-12-2001 at 02:51 (EST)
I have been trying to get my order page ‘processorder.html’ to work using the ‘ushop_cgiscript.pl’ script without success. I have tried all suggestions available on the FAQ and technical support page to no avail.
While fiddling with the ushop_cgiscript.pl I noticed that the special characters parser subroutine parses out of existence my ‘-‘ in my cgi-bin subdirectory name, thus making the path invalid (see sample below as the content of the variable ‘$orderpage’ is printed out together with the error message).
On my server, the Perl script can only be executed from the ‘cgi-bin’ directory (the name includes the – (minus) sign), if the parser removes the minus sign, as per example below we’ll never get home. (Please note that I have no problem in executing the script and getting the standard reply using the cheat method i.e.:
If this is not the reason please help I have ran out of ideas.
All the best…
NB. The ‘xxx’ in message below are my footprint in the ushop_cgiscript.pl
xxxUnknownxxx Order Page
Unable to locate order page: /www.mendels.com.au/mainfiles/cgibin/processorder.html
|Messages In This Discussion|
| 1. RE: Cgi-bin or cgibin?|
Author Bill Weiner on 04-12-2001 at 06:57 (EST)
|THIS RESPONSE PERTAINS TO USHOP 2.X|
The recommended thing to do with uShop 2.x is to put your order.template page (I believe you called it "processorder.html") in the same directory as your ushop_cgiscript.pl file...and then set the "order_page" parameter to:
< PARAM NAME="order_page" VALUE="order.template" >
(As described in Section 6.4 on this uShop 2.x Reference Page: http://www.uburst.com/uShop/reference2/security.html )
If the script is having trouble locating the "order.template" page in the same directory as your ushop_cgiscript.pl, then you may indeed need to use the full directory path.... but as you described, our validating subroutines will strip out the "-" if you try to specify the full path via the "order_page" applet parameter. Instead, you should try putting that full directory path in as your $order_directory setting (in configuration question #10 at the top of the uShop 2.x script).
| 2. cgi-bin|
Author Claudio on 04-12-2001 at 20:27 (EST)
Thanks for your reply. Tried all your suggestions… several times, but no luck.
Any chance for you to have a peep at my script and html code to see where I’m going wrong, surely someone must have similar problem as I have. If yes do you have an email address for this purpose?
Much obliged, cheers…
| 3. Re: cgibin|
Author Joseph Pishgar on 04-13-2001 at 11:55 (EST)
|Send your script on in to firstname.lastname@example.org and fill out a support request using the form.|
Microburst Technologies, Inc.