cgi-bin question

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • alex79
    Confirmed User
    • Jun 2002
    • 996

    #1

    cgi-bin question

    when i try to access a file from my cgi-in folder i get an "The page cannot be found" error (mydomain.com/cgi-bin/xxx/yyy.cgi)
    the file path is correct becouse if i rename cgi-bin in cgi-bin1 and i try access the same file with the new path is working (mydomain.com/cgi-bin1/xxx/yyy.cgi) , but i ghet the cgi source of the file

    what is the problem? why i can't run cgi files on my server?
  • monro
    So Fucking Banned
    • Dec 2002
    • 787

    #2
    Be sure you have set the file permissions right.

    Comment

    • alex79
      Confirmed User
      • Jun 2002
      • 996

      #3
      Originally posted by monro
      Be sure you have set the file permissions right.
      how do i do that pls?

      Comment

      • monro
        So Fucking Banned
        • Dec 2002
        • 787

        #4
        In your ftp prgram you have a function doing that.
        Ftp into your cgi-bin lib.

        Highligt the .cgi file file and click the right mouse button.
        Choose "chmod this file"

        You will see three fields, "Owner" "Group" and "Other"

        Set the first one to read, write and execute
        Next ( Group ) to Read and Execute
        The last one to Read and Execute
        This will be chmod 755, it should work.

        This is done with the ws_ftp program.

        You can ICQ me if you want, 230743090

        Comment

        Working...