cgi error, any help?

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • sickkittens
    I am a meat popsicle.
    • Jul 2002
    • 25100

    #1

    cgi error, any help?

    Hi all,

    I edited my mail.cgi file and when I went to go upload it and access that file in my browser, the file does not come up? Does anyone know what I need to do w/ that file? permissions, etc.

    HIGHEST PAYOUTS FOR NO-CONSOLE TOURS IN THE ENTIRE INDUSTRY!

    THIS SIG CAN BE YOURS FOR $200 - ICQ: 78881543
  • pantymaniac
    Confirmed User
    • Feb 2003
    • 1192

    #2
    upload ascii huh ?
    This place is for RENT

    Comment

    • p00p
      Confirmed User
      • Dec 2002
      • 5125

      #3
      Originally posted by sickkittens
      Hi all,

      I edited my mail.cgi file and when I went to go upload it and access that file in my browser, the file does not come up? Does anyone know what I need to do w/ that file? permissions, etc.
      what error are you getting?
      Also, chmod 755
      ICQ: 316365783
      <a href="http://www.hostultra.com/~p00p" target="_blank">TEST</a>

      Comment

      • LuSiD
        Confirmed User
        • Dec 2002
        • 434

        #4
        If the permissions are the problem you are having, then setting them to chmod 755 should correct your problem.

        Hope this helps. Later.
        I bought a dog the other day... I named him Stay. It's fun to call him... "Come here, Stay! Come here, Stay!" He went insane. Now he just ignores me and keeps typing.

        Comment

        • sickkittens
          I am a meat popsicle.
          • Jul 2002
          • 25100

          #5
          I used both 755 and then 777 for that file and still doesn't show up. The error is that I get redirected to my 400+ files. (403,404, etc)

          HIGHEST PAYOUTS FOR NO-CONSOLE TOURS IN THE ENTIRE INDUSTRY!

          THIS SIG CAN BE YOURS FOR $200 - ICQ: 78881543

          Comment

          • p00p
            Confirmed User
            • Dec 2002
            • 5125

            #6
            Originally posted by sickkittens
            I used both 755 and then 777 for that file and still doesn't show up. The error is that I get redirected to my 400+ files. (403,404, etc)
            404 means page not found. 403 means access forbidden.
            And, if you leave your .cgi's chmod 777 please give me the URL to all of them. I am bored....
            ICQ: 316365783
            <a href="http://www.hostultra.com/~p00p" target="_blank">TEST</a>

            Comment

            • sickkittens
              I am a meat popsicle.
              • Jul 2002
              • 25100

              #7
              What I mean is I set all my error pages to go to one URL.

              ICQ me - 78881543

              HIGHEST PAYOUTS FOR NO-CONSOLE TOURS IN THE ENTIRE INDUSTRY!

              THIS SIG CAN BE YOURS FOR $200 - ICQ: 78881543

              Comment

              • p00p
                Confirmed User
                • Dec 2002
                • 5125

                #8
                Originally posted by sickkittens
                What I mean is I set all my error pages to go to one URL.

                ICQ me - 78881543
                I don't have ICQ.
                While you are setting up this script, disable your redirection. It will be less frustrating. Also, if you have access to Apache error logs, that will tell you exactly what is wrong.
                If you are not getting a 500 internal error message, it is not your script.
                You have to find out which 40* error message you are getting. If it is a 404, then it means that the page can't be found.
                ICQ: 316365783
                <a href="http://www.hostultra.com/~p00p" target="_blank">TEST</a>

                Comment

                • sickkittens
                  I am a meat popsicle.
                  • Jul 2002
                  • 25100

                  #9
                  Got AIM?

                  Just found out its a 500 Internal Error....

                  HIGHEST PAYOUTS FOR NO-CONSOLE TOURS IN THE ENTIRE INDUSTRY!

                  THIS SIG CAN BE YOURS FOR $200 - ICQ: 78881543

                  Comment

                  • andi_germany
                    Confirmed User
                    • Oct 2002
                    • 768

                    #10
                    Check what you changed. It is always something mondaine like a forgotten ;

                    ALos if you call your script using telnet or SSH you will see the error message and the line where it occured.
                    SIG TOO BIG! Maximum 120x60 button and no more than 3 text lines of DEFAULT SIZE and COLOR. Unless your sig is for a GFY top banner sponsor, then you may use a 624x80 instead of a 120x60.

                    Comment

                    • sickkittens
                      I am a meat popsicle.
                      • Jul 2002
                      • 25100

                      #11
                      Actually, the only thing I changed was the name of my mailing list (just added a couple letters).

                      Wasn't anything major (or code related).

                      HIGHEST PAYOUTS FOR NO-CONSOLE TOURS IN THE ENTIRE INDUSTRY!

                      THIS SIG CAN BE YOURS FOR $200 - ICQ: 78881543

                      Comment

                      • p00p
                        Confirmed User
                        • Dec 2002
                        • 5125

                        #12
                        Check the permissions on the directory the .cgi is in. If it isn't directly in the cgi-bin, or in a directory such as /cgi-bin/mail you may have to change the /mail directory to 777
                        Double check your paths in the cgi file. A wrong path can give a 500.
                        If there are any text files that have to be written to, make sure the permissions are set properly on them.
                        If you can access apache error_logs, it will tell you exactly what is wrong.
                        ICQ: 316365783
                        <a href="http://www.hostultra.com/~p00p" target="_blank">TEST</a>

                        Comment

                        • sickkittens
                          I am a meat popsicle.
                          • Jul 2002
                          • 25100

                          #13
                          path is ok...

                          cgi-bin/mail.cgi

                          Again, it was ok befire and all that I changed was 1 word (the title), weird.

                          HIGHEST PAYOUTS FOR NO-CONSOLE TOURS IN THE ENTIRE INDUSTRY!

                          THIS SIG CAN BE YOURS FOR $200 - ICQ: 78881543

                          Comment

                          • funkmaster
                            So Fucking Banned
                            • Sep 2001
                            • 7938

                            #14
                            ... it´s been posted before, the sollution is:

                            "upload ascii huh ?"

                            Comment

                            • p00p
                              Confirmed User
                              • Dec 2002
                              • 5125

                              #15
                              Originally posted by sickkittens
                              path is ok...

                              cgi-bin/mail.cgi

                              Again, it was ok befire and all that I changed was 1 word (the title), weird.
                              What word?
                              Change it back and see if it works.
                              ICQ: 316365783
                              <a href="http://www.hostultra.com/~p00p" target="_blank">TEST</a>

                              Comment

                              • sickkittens
                                I am a meat popsicle.
                                • Jul 2002
                                • 25100

                                #16
                                the title of the page, from kitten to kittens. hmmmm

                                HIGHEST PAYOUTS FOR NO-CONSOLE TOURS IN THE ENTIRE INDUSTRY!

                                THIS SIG CAN BE YOURS FOR $200 - ICQ: 78881543

                                Comment

                                • NetRodent
                                  Confirmed User
                                  • Jan 2002
                                  • 3985

                                  #17
                                  Setting everying to 777 may be easy but its a generally bad idea.

                                  Directories should be set to 755
                                  Scripts should be set to 755
                                  Files (read only) should be set to 644

                                  Files that you want to write to are the only grey area. If you know the uid of the process writing to the file set them to 644. If you do not know, or you have multiple uids writing to the same file set it to 777.

                                  --

                                  Also if you've got shell access, and the script is in perl, go into the directory where you uploaded the file and type 'perl -c mail.cgi'. That might tell you what's going wrong.

                                  Odds are you just didn't upload the file in ascii mode.
                                  Last edited by NetRodent; 04-06-2003, 02:13 PM.
                                  "Every normal man must be tempted, at times, to spit on his hands, hoist the black flag, and begin slitting throats."
                                  --H.L. Mencken

                                  Comment

                                  • sickkittens
                                    I am a meat popsicle.
                                    • Jul 2002
                                    • 25100

                                    #18
                                    I uploaded in ASCII and Chmodded. Still no luck.

                                    HIGHEST PAYOUTS FOR NO-CONSOLE TOURS IN THE ENTIRE INDUSTRY!

                                    THIS SIG CAN BE YOURS FOR $200 - ICQ: 78881543

                                    Comment

                                    • Babaganoosh
                                      ♥♥♥ Likes Hugs ♥♥♥
                                      • Nov 2001
                                      • 15841

                                      #19
                                      ICQ me or use one of the contacts at http://www.adultdevil.com I will square it away for you (no, no charge).
                                      I like pie.

                                      Comment

                                      • NetRodent
                                        Confirmed User
                                        • Jan 2002
                                        • 3985

                                        #20
                                        What does your webservers error log say?
                                        "Every normal man must be tempted, at times, to spit on his hands, hoist the black flag, and begin slitting throats."
                                        --H.L. Mencken

                                        Comment

                                        Working...