Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Newbie question....

Status
Not open for further replies.

cashcmail

Technical User
Jan 20, 2004
2
US
I am just learning how to use my cgi-bin on the server I am purchasing hosting on. I uploaded all of the files following all of the directions they gave me, even using ascii as opposed to binary format for the ftp. I can access the script for some reason. Can anybody help or have any suggestions.

The intructions:

To start the installation:

Thanks,
Greg
 
Did you set the file permissions?

Robert Carpenter
--------------------
"Isn't it funny how you are perfectly content with being alone until nobody else is?"
--------------------
robert@convertingchaos.com
convertingchaos.com
 
well it is there as Error 403 Forbidden appears (not Error 404 Not Found) so I would do as theEclipse suggests

you need to set the permissions to give read and execute permissions - this can be done using your FTP program - [red]SET PERMISSIONS[/red] - or on the command line

make sure you are in the correct directory...

[blue]chmod 755 init.cgi[/blue]


Kind Regards
Duncan
 
I did that. I even set the permissions to 777 just to make sure. I think the webhost doesn't allow me to run my own cgi programs? Does that make sense. Have you guys heard of that before. Thanks a lot for your time and help.

Greg
 
well, of course it is possible. Free webhosts dont usually let you run your own scripts. If you are paying for the service, I would object tho.

Usually if you had a cgi-bin when you first connected to the upload server then you are probably supposed to have cgi access.

I would check the permissions on your cgi-bin and if that doesnt work, You might want to call the webhost.

Robert Carpenter
--------------------
"Isn't it funny how you are perfectly content with being alone until nobody else is?"
--------------------
robert@convertingchaos.com
convertingchaos.com
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top