The documentation says that only Windows NT 2000 is supported.
However, I have implemented this on Windows 98, NT 4.0 and Linux
(Slackware) successfully. It appears the main reason it does not
work is some code that looks like this:
($scriptname, $args) =
split /\?/, $0;
The problem is that in Windows 98 and NT 4.0,
short filenames are returned in full paths in "$0" (at least in
ActiveState Perl releases). I am not sure about cygwin versions of
Perl, since I don't use it. Replace the above code with the following
to make it work properly with Apache 1.3.xx in Windows 98, NT 4.0, and
even in Linux:
$scriptname =
$ENV{'SCRIPT_FILENAME'};
$args =
$ENV{'QUERY_STRING'};
This makes use of the standard
environment variables supplied by Apache. If you are using another
webserver, you should check your documentation for similar
environment variables.
I found the code in the following
modules:
Directory: /home/httpd/os_allcommerce/cgi-
bin/om
cart.cgi
hint.cgi
inbound.cgi
myaccount.cgi
search.cgi
sid.cgi
track.cgi
welcome.cgi
wrapper.cgi
Directory:
/home/httpd/os_allcommerce/cgi-
bin/om/admin
admin_object.cgi
inventory.cgi
linkage.cgi
login.cgi
order.cgi
promotion.cgi
statsman.cgi
Directory:
/home/httpd/os_allcommerce/cgi-
bin/om/ssl
checkout.cgi
Directory:
/home/httpd/os_allcommerce/cgi-
bin/wms
asn.cgi
custserv.cgi
orders.cgi
packship.cgi
pf_pick.cgi
po.cgi
probleminv.cgi
pullback.cgi
receiving.cgi
skel.cgi
sku.cgi
stats.cgi
So
far Windows 98 & NT 4.0 have been working as well as my Linux
installation! Wish me luck! ;-)
Logged In: YES
user_id=410174
It appears this issue applies to Win2000 as well as NT4 and
98:
I finally got everything set up on my Win2000 server box
but couldn't get past the Admin login page without an
error - then I tried the above substitutions. Problem
fixed. Software is now working on my Windows 2000 server.
Thanks and good luck, Thomas Straub!
Note: I also had to change the path.pm package to include
absolute paths to my install (I had to add "d:/cygwin" to
the front of each path entry - my NT partition is D:) .