cgi help
I am trying to move one of my sites to my newly purchased server, but the problem is that the cgi wont work. I have updated the nameservers and uploaded all the files but the cgi is not working. am i missing something. Yes cgi is installed.
Help.
Mark Hensler posted this at 04:43 — 5th July 2006.
He has: 4,048 posts
Joined: Aug 2000
Is the path to perl the same (first line of the cgi files, usually like: #!/usr/bin/perl)?
Do the cgi files have execute permission (rwxr-xr-x)?
benf posted this at 09:59 — 5th July 2006.
They have: 426 posts
Joined: Feb 2005
oh yes, to give them execute permission do i change the files to 777?
benf posted this at 13:51 — 5th July 2006.
They have: 426 posts
Joined: Feb 2005
I have found out that cgi files need to be chmod to 755, but what do the directories need to be chmod to? I am having trouble and need some help.
CptAwesome posted this at 12:53 — 6th July 2006.
He has: 370 posts
Joined: Dec 2004
directories depends on the server's user/group permissions. if Apache and FTP have the same permissions, 700 will work, if they are in the same group 770 will, and if neither 777. Files which need to be edited need to be chmoded to 600/660/666 (again, depending on owner/group.)
Want to join the discussion? Create an account or log in if you already have one. Joining is fast, free and painless! We’ll even whisk you back here when you’ve finished.