Announcement

Collapse
No announcement yet.

Network Settings on a Windows 2012R2 box running IIS8

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

    Network Settings on a Windows 2012R2 box running IIS8

    Hi

    Could anyone help me with network settings for a Windows box?
    1. Who is your host? Own Server (colocated)
    2. Is it unix or windows hosting? Windows 2012R2 running IIS8
    3. Is the permission on the cgi-bin set to 755?
    4. Is the permission on the acatalog folder set to 777?
    5. Is this your first upload? Has it worked in the past? First upload to this box - previosuly worked on an older Windows version
    6. Have you compacted the database in the housekeeping menu? No
    7. Have you changed the cgi number in network setup and tried to reupload? Yes changed from 1 to 5
    8. Have you run the network wizard? what was the result? Yes - it appears as if your web server is configured in such a way that you do not have access to your web root directory

    USERELATIVECGIURLS false
    PATHTOPERL c:\perl\perl\bin
    USEENHANCEFTP true
    FTPBUFFERSIZE 4
    FTPCLIENTTIMEOUT 15000
    FTPRETRYDELAY 3000
    FTPKEEPALIVEINTERVAL 30000
    FTPSILENT false
    FTPMAXRETRIES 3
    FTPCONNECTTIMEOUT 25000
    COMPRESSIONPACKETSIZE 1024
    COMPRESSEDUPLOAD true
    CATALOGURL http://www.test.domain.com/acatalog/
    ONLINESTOREFOLDERNAME acatalog
    CGIBINURL http://www.test.domain.com/cgi-bin/
    PATHFROMCGITOCATALOG ../acatalog/
    FTPHOST www.test.domain.com
    PATHTOCGIBIN /cgi-bin/
    USEPASSIVEFTP true
    FTPPATHFROMCGITOCATALOG



    Many thanks

    J-B

    #2
    The first thing that comes to mind is your test sub domain. Have you tried FTP'ing into the test domain using the username and password you've set up and are you able to copy files to and from the server from your PC?
    -----------------------------------------

    First Tackle - Fly Fishing and Game Angling

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

    Comment


      #3
      Well I have sorted the binding out correctly and can load pages via an FTP client and browse.

      If I run the Network setup wizzard it get stuck on "Trying Perl Guesses"

      Perl is working on the server as I have tried the hello world test script

      Any pointers appreciated

      Thanks

      J-B

      Comment


        #4
        I've never been a great fan of the wizard. It always seemed to go wrong somewhere whenever I tried it.

        The settings you posted originally look to be in the right ballpark. What happens if you use them and run a network test?
        -----------------------------------------

        First Tackle - Fly Fishing and Game Angling

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

        Comment


          #5
          Hi Mike

          We get "The web server returned an unexpected error. The server response was 502 - Bad Gateway. Run Web | Configure Web Site Details... to review your web site configuration"
          502 - Web server received an invalid response while acting as a gateway or proxy server.

          There is a problem with the page you are looking for, and it cannot be displayed. When the Web server (while acting as a gateway or proxy) contacted the upstream content server, it received an invalid response from the content server.

          Any ideas

          J-B

          Comment


            #6
            I think that's saying there's still a problem with your server setup. One of the things sellerdeck does when testing the setup is to upload a page of html and then check if it can see it online. I think it's this bit that is failing as the message looks to me like it's coming from the server saying it's unable to get the content that's being asked for.

            I'd probably check this using ftp to put a simple html page onto the server and then making sure you can browse it using the url you've entered into sellerdeck.
            -----------------------------------------

            First Tackle - Fly Fishing and Game Angling

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

            Comment


              #7
              Ok - so Im slowly getting there...... The specified CGI application misbehaved by not returning a complete set of HTTP headers. The headers it did return are "Can't use 'defined(@array)' (Maybe you should just omit the defined()?) at C:\Domains\test.com\cgi-bin\ts000005.pl line 607. ".

              Line 607 is if (!defined @Filelist ||

              Any ideas knowledgable people?

              Thanks

              J-B

              Comment


                #8
                This indicates that the version of Perl on your server no longer allows the defined test to be used on arrays.

                See e.g. https://github.com/kost/nmapxml/issues/1

                It the Test Settings script that's failing due to this.

                You could try uploading in the hope that defined isn't used in a similar fashion in the Perl that SD uses for live pages.

                Norman - www.drillpine.biz
                Edinburgh, U K / Bitez, Turkey

                Comment


                  #9
                  Hi Norman

                  Which version of perl works ?

                  Ive installed the latest version of Strawberry Perl - which clearly doesnt tick all the boxes

                  J-B

                  Comment

                  Working...
                  X