Hi, I'm a real newbie with CGI scripts. Just to learn more about it, I arranged webhosting that allows (own) CGI scripts. I downloaded a simple perl script (a guestbook) I adjusted a few parameters, like my URL and I uploaded it to my new server.
Now, after filling in the form to add to the guestbook, I get this message:
<< 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/.
>>
I tried every suggestion in this errormessage but nothing works
I read somewhere that I have to give the script "CHMOD rights" I understood that I have to do this with my FTP app, but i can't find how (I'm using Bulletproof FTP)
My questions are:
a) could that be the reason? (If not what could?)
b) how do I give these rights with Bulletproof FTP?
Now, after filling in the form to add to the guestbook, I get this message:
<< 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/.
>>
I tried every suggestion in this errormessage but nothing works
I read somewhere that I have to give the script "CHMOD rights" I understood that I have to do this with my FTP app, but i can't find how (I'm using Bulletproof FTP)
My questions are:
a) could that be the reason? (If not what could?)
b) how do I give these rights with Bulletproof FTP?