My cgi files need to be made executable, how do I do this?

Your FTP client program will have built into it the ability to CHMOD. This is UNIX speak for making a file executable. Locate the CHMOD capability of your FTP program and then select the file you need to make executable, then click the CHMOD button (or however your FTP client program accomplishes this) and set the file to be executable using the numbers 755 or click the "x" box in first of the three columns of numbers that may be listed.


For example, using CuteFTP you would connect to the remote host you wish to upload files to and/or CHMOD selected files. Locate or upload the file you wish to CHMOD and then right click on the filename, then click on the 'Properties' text. Towards the bottom of the window you will see the 'Attributes' field and CHMOD value. Set the CHMOD value or select the individual attributes you wish to enable for the file selected. Once you are finished, click 'OK' on the bottom and you should be set!

You can also change your permissions through cpanel. Locate the file you need in your public_html directory within File Manager. Select your file, on the right hand side you will see 'Change Permissions'. Click it and then change your permissions to 755. Click Save.

 

 

close