PDA

View Full Version : CGI problem.


Thrik
07-13-2002, 05:47 PM
I couldn't get CGI scripts to work, so I messed around and completely screwed up the directories as far as I can tell. I point to my cgi files and (no matter where I put it and what I say in my control panel) it doesn't work.

Can Valuehost please fix it so that my htdocs/ and all contents can run CGI scripts? I'd appreciate it as I can't even begin to describe what I could have done wrong to cause the problem.

Happy Axe
07-13-2002, 07:53 PM
you need to set your permissions on your cgi scripts, Called CHMOD(CHanging access MODe) so your site can use them.
you can do this via your ftp program or the control panel

:)

Thrik
07-13-2002, 08:41 PM
I knew about that, or I thought I did.

I was setting everything to chmod 666, turns out I needed 777. :X

Happy Axe
07-13-2002, 11:37 PM
try not to use 777!!!!
try using 755, the reason for this is 777 gives access to your cgi to everyone on the www!!! 777 is good to see if your scripts work, but make sure you move them down.(although some do need 777, mainly where the users input needs to write to a file.)

i have posted more info on this somewhere else in the forum in the how to's section. title- does value host support CGI ?
hope this helps.:)