Gossamer Forum
Home : Products : Links 2.0 : Installation -- Unix :

cgiwrap error HELP

Quote Reply
cgiwrap error HELP
hello,

i encountered this error when opened the admin.cgi file :
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.
If you are not the owner of this script, please forward this error and the URL that caused it to the script owner. That is often the component in the URL right after /cgiwrap/.

absolute path ; /home/sites/www.frenchsurf.net/web

my links.cg :
$db_script_path = "/home/sites/www.frenchsurf.net/cgi-bin/annuaire/admin";
$db_dir_url = "http://www.frenchsurf.net/cgi-bin/annuaire/admin";

# URL of User CGI directory. No Trailing Slash.
$db_cgi_url = "http://www.frenchsurf.net/cgi-bin/annuaire";

please help me!! thanks

Quote Reply
Re: cgiwrap error HELP In reply to
You are using the wrong path in the $db_script_path.

It should be:

Code:
$db_script_path = "/home/sites/www.frenchsurf.net/web/cgi-bin/annuaire/admin";

Regards,

------------------
Eliot Lee....
Former Handle: Eliot
Anthro TECH, L.L.C
anthrotech.com
* Check Resource Center
* Search Forums
* Thinking out of the box (codes) is not only fun, but effective.


Quote Reply
Re: cgiwrap error HELP In reply to
thanks

yes but the cgi-bin file is not in web. /web is jjust for html files. I ha ve created cgi-bin on /home/sites/www.frenchsurf.net/cgi-bin/



------------------
Quote Reply
Re: cgiwrap error HELP In reply to
Well, you posted the absolute path for your files, and I saw that it was inconsistent with the $db_script_path variable configurations.

The problem with your admin.cgi resides with not setting the complete absolute path for the links.cfg in the require line in that file AND/OR you are not using the correct absolute path for path variables in your links.cfg file.

-OR-

You have not set the permissions properly for your .cgi files.

Best of luck finding a solution...I have provided all the suggestions I have at this time.

Regards,

------------------
Eliot Lee....
Former Handle: Eliot
Anthro TECH, L.L.C
anthrotech.com
* Check Resource Center
* Search Forums
* Thinking out of the box (codes) is not only fun, but effective.




[This message has been edited by AnthroRules (edited May 11, 2000).]