Announcement

Collapse
No announcement yet.

CGI-BIN to acatalog directory (hosted on IIS6)

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

    CGI-BIN to acatalog directory (hosted on IIS6)

    Currently testing on a dedicated MS2003 Server with 1and1

    The site (root) is located at:

    d:\MyFTP\scientificwire\ftp-swc776

    with following folders:

    d:\MyFTP\scientificwire\ftp-swc776\acatalog
    d:\MyFTP\scientificwire\ftp-swc776\cgi-bin

    NTFS Folder permissions:
    everyone = Modify, Read & Execute, Read/Write
    for folders ftp-swc776, acatalog, cgi-bin (probably wrong - opened it up to much)

    so, user ftp-swc776 logins and sees at root:

    acatalog
    cgi-bin
    index.html

    The "Path from CGI-BIN"... parts of network setup are both:
    ../acatalog/

    Doing a full refresh, the site uploads without problems. ## However the site's links to cgi-bin would bring up a "general script error" screen with "Error: Invalid path."

    When I do a "update website", everything is ticked, but an error message about the "cgi-bin to the acatalog directory is incorrect"

    I've tried various combinations of putting in the full "D:\Myftp..." location and it wouldn't even upload, except with the current setting.

    What am I doing wrong?

    surely "../acatalog/" is correct? - I've even went to the cmd prompt and gone to the cgi-bin folder, typed "cd ../acatalog/" and it works.

    Is this a bug??

    My initial tests had it as "./acatalog" - which I must say all tests passed without errors, however, uploading it created an acatalog folder within cgi-bin... which is wrong.

    ...cannot find the IIS6 Setup Guide, I think it's been removed from actinic's site... need to make sure all the permissions on the folders are correct.

    Thanks.
    Rgds, Tak.

    #2
    Hi,

    Try ../acatalog/ in the 'Path from CGI-BIN to acatalog directory' (on the left) and ./acatalog/ in the 'Path from CGI-BIN to acatalog directory as viewed by the FTP server' (on the right).

    The correct permissions for a windows server can be found in this knowledgebase article.
    Last edited by KB2; 22-Mar-2010, 05:00 PM. Reason: Updating kb links
    ********************
    Tracey
    SellerDeck

    Comment


      #3
      I've deleted the items in both cgi-bin & acatalog, and used "../acatalog/" on the left, and "./acatalog/" on the right (as viewed by FTP Server).

      I did a "test" and got message with "The directory specified as the path from CGI-BIN to the acatalog directory does not exist on the web server" and a second window appears after clicking ok with "The script does not have permission to write to the web site directory", and then a third window after that with the details:

      ==================================================

      CGI-BIN Working Directory: "D:/MyFTP/scientificwire/ftp-swc776"
      CGI-BIN Working Directory Contents
      .
      ..
      acatalog
      ActinicWebSiteTest.html
      cgi-bin
      index.html

      An error occurred trying to read "../"
      An error occurred trying to read "../acatalog/"
      The path to the web site directory you specified (../acatalog/) points to a file.

      The web site directory is not readable.
      The web site directory is not writable.
      Unable to create a file in the web page directory.
      No such file or directory

      Unable to create a sub-directory in the web site directory.
      No such file or directory
      ==================================================

      Then a fourth window:

      Your Catalog URL appears to be invalid.
      The files uploaded to the given 'Path from cgi-bin to acatalog directory',
      can not be downloaded via the browser on the given Catalog URL.
      These two access routes don't point to the same destination on the server.
      ==================================================

      I then did a "Refresh Website", and it uploaded but created "acatalog" directory in the cgi-bin directory & uploaded files to
      cgi-bin/acatalog/ (files uploaded)
      cgi-bin/ (files uploaded)
      acatalog/ (empty)

      Help!

      Thanks.

      Comment


        #4
        Just to give more info:

        Hosting on: Windows 2003 R2 Standard Server x64 Edition w/SP2
        Perl: ActivePerl v5.10.0 1004 x64
        Actinic Version: v8.53 IDHB

        [Tried: uninstall ActivePerl x64, and install ActivePerl x86 version, but it won't create the .pl script mapping & doesn't create the "Perl CGI Extension" in IIS's Web service Exstensions, reverted back to x64]

        Thanks.

        Comment


          #5
          Sorry Tak, I've just realised that I've got the fields the wrong way round (it's such a long time since I've dealt with Windows server settings so can you try ./acatalog/ in the 'Path from CGI-BIN to acatalog directory' (on the left) and ../acatalog/ in the 'Path from CGI-BIN to acatalog directory as viewed by the FTP server' (on the right).
          ********************
          Tracey
          SellerDeck

          Comment


            #6
            Phew! It works!

            Thanks.

            and now for some more testing...

            Comment


              #7
              What is it with women and their left and rights

              Comment


                #8
                One of these days I'll get it right (or is that left).
                ********************
                Tracey
                SellerDeck

                Comment

                Working...
                X