PDA

View Full Version : Network Setup problemo


wombatboy
10-Jun-2003, 05:18 PM
Hi there
I have set up my network settings as in the link below

http://www.westoncreative.net/images/preferences.gif

and i cant seem to make the cart work.
I get ...
Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request. Your administrator may not have enabled CGI access for this directory.

I guess this means i have put the wrong cgi path in but cant work out what i am doing wrong.

directory structure us....
<my site>/acatalog (all my shop files)
<my site>/cgi-bin (all my pl files)

can anyone suggest something obvious i am missing?
Many thanks

Matt Weston

wombatboy
11-Jun-2003, 09:52 AM
so i just regenerated my scripts to check and now i get a different error...


CGIWrap encountered an error while attempting to execute this script:

Error Message: Permission denied
Error Number: 13
This message usually indicates there is a problem with the script itself. Often this indicates either that the #! line of the script is incorrect, or the script was uploaded in binary mode instead of ascii mode. Check to make sure that the script does not have control-M's at the end of every line. That will prevent it from executing. An easy fix that takes care of this most of the time is to put '#!/.../perl --' instead of '#!/.../perl' on the first line of the script. This is typically a problem if the script was edited or uploaded from a DOS/Windows/Macintosh station to a unix based server.

wombatboy
11-Jun-2003, 09:59 AM
...the perl script and it says
#! /usr/bin/perl

which is the correct address to the perl on my server.

And the page says this part is uaually the fault but i dont think so!!!! help!!!!!

:mad:

cdicken
11-Jun-2003, 04:06 PM
Hi there

try entering

/cgi-bin

in the 'Path to cgi-bin' field in the right-hand side. The first error message you go would be because Actinic uploaded the scripts to the root of the site, but the server could not execute them from there.

wombatboy
11-Jun-2003, 05:13 PM
that worked a treat!