PDA

View Full Version : V8 > Hosted on Windows 2003 server using IIS6


peter
22-Nov-2007, 04:34 PM
Dear Community

My Network Settings pass all the tests but when I upload I get General script error when i try to buy something

Error: Error opening configuration file ../acatalog/prompt.fil. No such file or directory


I think the the site is having troubles getting from my cgi-bin to the acatalog dir?

The Host machine is
Hosted on Windows 2003 server using IIS6
Path to domain: F:\Domains\user\wwwroot
Path to CGI-BIN: F:\Domains\user\wwwroot\cgi-bin
Path to acatalog: F:\Domains\user\wwwroot\acatalog


My relevant network settings are:
SCRIPTID 1
SCRIPTEXT .pl
WEBSITEURL http://www.theurl.com
IGNOREPASSIVEERRORS true
USERELATIVECGIURLS false
PATHTOPERL /usr/bin/perl
CATALOGURL http://www.theurl.com/acatalog/
CGIBINURL http://www.theurl.com/cgi-bin/
PATHFROMCGITOCATALOG ../acatalog/
CODEBASE ./
PATHTOCGIBIN /wwwroot/cgi-bin/
FTPPATHFROMCGITOCATALOG


I've seen a few threads that suggest I shouldn't use a Windows Server. Anybody fixed this problem - got any advice?

Many Thanks as always.

peter
22-Nov-2007, 05:08 PM
hi all

just an update - i think i may have fixed though i'm not sure how.
For those that come after me this file is helpful

http://www.actinic.co.uk/hosting/docs/SetupOfIIS6.pdf

I have a hunch changing the perl extention to .plx helped somehow as my other settings remained the same.

just hope i haven't spoken too soon.

fergusw
22-Nov-2007, 05:20 PM
Hi Peter,

I would suggest you look at your

PATHTOCGIBIN /wwwroot/cgi-bin/
FTPPATHFROMCGITOCATALOG

It should be more like

PATHTOCGIBIN cgi-bin/
and
PATHFROMCGITOCATALOG ../acatalog/

Also make sure your path to perl is correct for your server
e.g.
PATHTOPERL C:\Perl\bin\

The .plx might be a red herring as you only need .pl, .pm and .cgi to be executed within the IIS6 server for perl.exe