Announcement

Collapse
No announcement yet.

CGI-BIN URL or Path incorrect - First Time Upload

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    CGI-BIN URL or Path incorrect - First Time Upload

    Hello,

    I am making the first time upload to the server and I am using the Wizard and making all check steps.

    I get an error message when I get to:
    CGI-BI Address point
    Reffering that: "The specified CGI-BIN URL or possibly the path to the CGI-BIN is no...[...] The Web Server returned (404) Not Found"

    This is my current configuration:
    HTTPPROXYMODE 1
    HTTPPROXYADDRESS
    HTTPPROXYPORT 80
    HTTPPROXYUSER
    HTTPPROXYPASSWORD
    FTPPROXYMODE 1
    FTPPROXYADDRESS
    FTPPROXYPORT 21
    FTPPROXYUSER
    FTPPROXYPASSWORD
    SCRIPTID 1
    SCRIPTEXT .cgi
    SMTPHOST smtp.portugalfoto.com
    WEBSITEURL http://www.portugalfoto.com
    IGNOREPASSIVEERRORS true
    USERELATIVECGIURLS false
    PATHTOPERL usr/bin/perl
    USEENHANCEFTP true
    FTPCLIENTTIMEOUT 15000
    FTPRETRYDELAY 3000
    FTPSILENT false
    FTPMAXRETRIES 3
    FTPCONNECTTIMEOUT 25000
    SMTPAUTHREQUIRED true
    SMTPUSERNAME info@portugalfoto.com
    SMTPPASSWORD (removed)
    SSLCATALOGURL https://www.portugalfoto.com/acatalog/
    SSLCGIBINURL https://www.portugalfoto.com/cgi-bin/
    SSLPATHFROMCGITOCATALOG ../public_html/acatalog/
    SSLCODEBASE ./
    SSLFTPHOST ftp.portugalfoto.com
    SSLFTPUSERNAME (removed)
    SSLFTPPASSWORD (removed)
    SSLPATHTOCGIBIN /public_html/cgi-bin/
    SSLUSEPASSIVEFTP false
    CATALOGURL http://www.portugalfoto.com/acatalog/
    CGIBINURL http://www.portugalfoto.com/cgi-bin/
    PATHFROMCGITOCATALOG ../public_html/acatalog/
    CODEBASE ./
    FTPHOST ftp.portugalfoto.com
    FTPUSERNAME (removed)
    FTPPASSWORD (removed)
    PATHTOCGIBIN /public_html/cgi-bin/
    USEPASSIVEFTP false
    FTPPATHFROMCGITOCATALOG /public_html/acatalog/


    When accessing to the Host (www.microeuropa.pt) account, to the Domain root, this is the structure:
    root
    logs
    public_html
    acatalog (permition 777)
    cgi-bin (permition 755)
    ...
    tmp
    usr


    It seams that i am placing an incorrect CGI-BIN URL... but using the HTTP://
    the "http://www.portugalfoto.com/cgi-bin/" looks correct, so ...

    Tips/ help is apreciated!!

    Tks,
    Luís Silva

    #2
    PATHTOPERL usr/bin/perl

    looks suspect, Try

    PATHTOPERL /usr/bin/perl
    Norman - www.drillpine.biz
    Edinburgh, U K / Bitez, Turkey

    Comment


      #3
      Just tried that but it made no difference.

      Just tried that but it made no difference.
      I think I haven't arrived to that step yet.

      Must be something else.
      Any ideas ?

      :-] Luís Silva

      Comment


        #4
        It may help a lot if you tell us the name of your hosting provider as there may be others here using the same service.
        Norman - www.drillpine.biz
        Edinburgh, U K / Bitez, Turkey

        Comment


          #5
          Originally posted by Y_lucass
          PATHFROMCGITOCATALOG ../public_html/acatalog/

          When accessing to the Host (www.microeuropa.pt) account, to the Domain root, this is the structure:
          root
          logs
          public_html
          acatalog (permition 777)
          cgi-bin (permition 755)
          ...
          tmp
          usr


          It seams that i am placing an incorrect CGI-BIN URL... but using the HTTP://
          the "http://www.portugalfoto.com/cgi-bin/" looks correct, so ...

          Tips/ help is apreciated!!

          Tks,
          Luís Silva
          I would question whether you need /public_html in that path. It looks like the path is up one level and into acatalog, so that would be ../acatalog/
          Bill
          www.egyptianwonders.co.uk
          Text directoryWorldwide Actinic(TM) shops
          BC Ness Solutions Support services, custom software
          Registered Microsoft™ Partner (ISV)
          VoIP UK: 0131 208 0605
          Located: Alexandria, EGYPT

          Comment


            #6
            Hosting Service

            Not sure if there is someone else there...
            My hosting is (www.microeuropa.pt) and according to them I can run CGI in any directory of my hosting (public or not).
            And I am able to check (CUTE FTP) that the permitions are correct.

            At this time I am trying to run the test again.

            :-] LS

            Comment


              #7
              PATHFROMCGITOCATALOG changed ... testing

              Hello,
              PATHFROMCGITOCATALOG changed to ../acatalog/
              running test now.

              Still I have the same error.

              I have placed an:
              http://www.portugalfoto.com/cgi-bin/index.html

              Page there and the result is quite obvious:
              ##############################
              Not Found
              The requested URL /cgi-bin/index.html was not found on this server.

              Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.
              --------------------------------------------------------------------------
              Apache/2.0.52 (Unix) mod_ssl/2.0.52 OpenSSL/0.9.7g PHP/4.3.11 mod_perl/2.0.1 Perl/v5.8.4 Server at www.portugalfoto.com Port 80
              ##############################

              breggg.. strange..

              :-] LS

              Comment


                #8
                Keep Bill's change as I'd agree that's right. You should also try clearing the FTPPATHFROMCGITOCATALOG as there's no way it's what you have entered.

                If the blank entry doesn't work try ../acatalog/


                Mike
                -----------------------------------------

                First Tackle - Fly Fishing and Game Angling

                -----------------------------------------

                Comment


                  #9
                  I would remove the SSL related entries and get the basic site working, then re-introduce the SSL stuff when you have a working upload.

                  At the moment, it just complicates things.

                  Try
                  SCRIPTID 1
                  SCRIPTEXT .pl
                  SMTPHOST smtp.portugalfoto.com
                  WEBSITEURL http://www.portugalfoto.com/
                  IGNOREPASSIVEERRORS true
                  USERELATIVECGIURLS false
                  PATHTOPERL /usr/bin/perl
                  USEENHANCEFTP true
                  FTPCLIENTTIMEOUT 15000
                  FTPRETRYDELAY 3000
                  FTPSILENT false
                  FTPMAXRETRIES 3
                  FTPCONNECTTIMEOUT 25000
                  SMTPAUTHREQUIRED true
                  SMTPUSERNAME info@portugalfoto.com
                  SMTPPASSWORD (removed)
                  SSLCATALOGURL
                  SSLCGIBINURL
                  SSLPATHFROMCGITOCATALOG
                  SSLCODEBASE
                  SSLFTPHOST
                  SSLFTPUSERNAME
                  SSLFTPPASSWORD
                  SSLPATHTOCGIBIN
                  SSLUSEPASSIVEFTP
                  CATALOGURL http://www.portugalfoto.com/acatalog/
                  CGIBINURL http://www.portugalfoto.com/cgi-bin/
                  PATHFROMCGITOCATALOG ../acatalog/
                  CODEBASE ./
                  FTPHOST ftp.portugalfoto.com
                  FTPUSERNAME (removed)
                  FTPPASSWORD (removed)
                  PATHTOCGIBIN /public_html/cgi-bin/ *********edited
                  USEPASSIVEFTP false
                  FTPPATHFROMCGITOCATALOG /public_html/acatalog/ OR blank ******edited

                  Can you confirm the index.html brochure page we see now at www.potugalfoto.com/ is inside the public_html folder? I am basing the above setting on that assumption.
                  Last edited by wjcampbe; 07-Mar-2006, 07:42 AM. Reason: Looked again at the ftp settings
                  Bill
                  www.egyptianwonders.co.uk
                  Text directoryWorldwide Actinic(TM) shops
                  BC Ness Solutions Support services, custom software
                  Registered Microsoft™ Partner (ISV)
                  VoIP UK: 0131 208 0605
                  Located: Alexandria, EGYPT

                  Comment


                    #10
                    Bill, are you sure about that FTPPATHFROMCGITOACATALOG ? Using /public_html/acatalog/ from the cgi-bin would imply the path is

                    /cgi-bin/public_html/acatalog which can't be right.

                    Mike
                    -----------------------------------------

                    First Tackle - Fly Fishing and Game Angling

                    -----------------------------------------

                    Comment


                      #11
                      What I did, Mike, was to create a new subdomain on my webspace and then do a setup into a public_html folder in that new domain using the wizard - I expected FTPPATHFROMCGITOACATALOG to remain blank, but it did not - it autofilled with the /public/acatalog/.

                      Luis - Mike is right to question this setting, and if you click the test button in Advanced | Network Setup with these setting and fail, the first thing I would do is empty that box and try again.
                      Bill
                      www.egyptianwonders.co.uk
                      Text directoryWorldwide Actinic(TM) shops
                      BC Ness Solutions Support services, custom software
                      Registered Microsoft™ Partner (ISV)
                      VoIP UK: 0131 208 0605
                      Located: Alexandria, EGYPT

                      Comment


                        #12
                        Updates...

                        Ok.
                        Gone a step further... Now that I look to the correct configuration, it looks simple.. eh eh eh
                        [...]
                        CATALOGURL http://www.portugalfoto.com/acatalog/
                        CGIBINURL http://www.portugalfoto.com/cgi/
                        PATHFROMCGITOCATALOG ../public_html/acatalog/
                        CODEBASE ../public_html/
                        [...]
                        PATHTOCGIBIN /public_html/cgi/
                        USEPASSIVEFTP false
                        FTPPATHFROMCGITOCATALOG ./acatalog/
                        [...]

                        The "cgi-bin" was an issue!!!
                        The "-" was not well understood. So I renamed everithing to "cgi".
                        Up and running... But... there is always a "but"

                        Now the problem is with the: PATHTOPERL
                        The "PATHTOPERL /usr/bin/perl" is not the used on Microeuropa.pt

                        I'm now cheking with my Host what would be the correct Path.

                        Will follow up this here.

                        Thanks for all the help so far!

                        :-] Luís Silva

                        Comment


                          #13
                          FTPPATHFROMCGITOCATALOG ./acatalog/
                          Doesn't seem to tie up with the:-
                          CATALOGURL http://www.portugalfoto.com/acatalog/
                          CGIBINURL http://www.portugalfoto.com/cgi/

                          These imply that

                          FTPPATHFROMCGITOCATALOG ../acatalog/

                          see that extra dot. What you have in post#12 implies an acatalog directory within your cgi-bin, not up one level and at the same level as cgi-bin.

                          PS Perl was working earlier on your site. You may have inadvertantly changed the SCRIPTEXT to .cgi when it should be .pl
                          Norman - www.drillpine.biz
                          Edinburgh, U K / Bitez, Turkey

                          Comment


                            #14
                            More Configs....

                            Hello,

                            This process is really complicated... Well back to work.

                            Scripts must be .cgi acording to Host Provider
                            Correct Path to Perl used. I have confirmed with them:
                            "root@neptune:~# which perl
                            /usr/bin/perl
                            root@neptune:~# /usr/bin/perl -v

                            This is perl, v5.8.4 built for i486-linux"

                            I supose the problem can now be related to the error message:
                            ".... This error could also occur if your web site is out of disk space or your web server is not configured to accept POSTs to CGI scripts."

                            Off couse it's not disk space... so I have asked for the "POST" situation...

                            :-] LS

                            Comment


                              #15
                              Well I need a radical approach on this

                              Hello...

                              No change on the situation and no reply from my Host.. Soo...
                              I need a radical approach on this.

                              I have to start working and sellling!!

                              Can anyone supply-me a hosting service that is 100% compliance with Actinic ?
                              Please send me the URL or Name and the packadge.

                              Thanks,
                              :-] LS

                              Comment

                              Working...
                              X