in reply to New to CGI, but having problems

CGI-BIN: Maybe, it depends on how the webserver is configured. Place a .pl/.cgi script someplace else and go to it, if you get the sourc of the file then you know its not set up to execute there, if you get anything else then you can use scripts there.

Write Access: Html file can be set to have public read/write, how are you changing your permissions?

Replies are listed 'Best First'.
Re: Re: New to CGI, but having problems
by mzfp (Initiate) on Apr 26, 2002 at 12:57 UTC
    i change it using CHMOD commands on my FTP programs, it allows me to normally change persmission of script files, but the HTML file .. well it changes it, then after a while it goes back to normal!

      If it goes back to normal after a while, without you changing it either intentionally or accidentally, implies that the server admin is running something to stop people having world-writable files. Odd, but I can see the use for either security, or people asking "Why can't I see my .html files in my browser?" when the file's not world-readavle.

      Just as an experiment try and set the permissions to something more restrictive, such as 000. You won't be able to view the file anymore with a browser, but you can see if there is something odd with .html files.