Re: Modifying CGI scripts

At 06:11 PM 1/25/95 +0100, Barry Kopulos wrote:
>I have  ahome page with a CGI script attached to it for mail and to 
>requrest forms and have modified the file with cgi extension with an 
>editor and then saved ita s ascii text.
>When I uploaded back to the directory where it was itnwo says error 403 
>Forbidden access. What should the permission priovileges be set on the 
>file and also was that the way to edit and save the file. Is there are 
>a more efficient way to handle it. I use Hyperedit for the HTML part.
>
>

If you're getting a 403 error, it means the script does not have the proper
rights. To give it the proper rights, type the following command at the
shell prompt while in the script's directory:

chmod a+x [script filename]


If after that you get a 500 error, it means you messed up the script. If the
script is a perl script, modifying it with an ascii editor is no problem.
I'm not familiar with other scripts, however.

I hope this helps.

Regards,

Cecilia

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
                *                                          *           
           ^ ^  ^  ^^^  ^^^  ^^^  ^^^    ^   ^   ^^^  ^^^  ^   ^
           ^^^  ^  ^ ^  ^ ^  ^^   ^ ^   ^ ^ ^ ^  ^^   ^  ^ ^  ^^^
           ^ ^  ^  ^    ^    ^^^  ^  ^ ^       ^ ^^^  ^^^  ^ ^   ^

     Web Page Development * WWW and Internet Consulting * Windows Help

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
             Cecilia Farell * Toronto, Canada * farellc@io.org          
   <a href="http://www.io.org/hippermedia/hipper.html">Hippermedia</a>  
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Received on Thursday, 26 January 1995 10:32:48 UTC