Announcement

Collapse
No announcement yet.

inncorect paths, irritating

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

    inncorect paths, irritating

    hello everyone

    (first off id like to appologise for the ammount of support queries ive posted here)
    here`s my problem
    im getting this error on the secure side of my site

    "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."

    my catalog url is this:
    https://www.thebagshopuk.com/acatalog/

    and the path is this:
    /var/www/vhosts/thebagshopuk.com/httpsdocs/acatalog/
    (the wizard says this is correct and if i change it i get this error message)

    "The directory specified as the path from the CGI-BIN to the acatalog directory does not exist on the web server. Check the path. Also see the on-line help for "Path from FTP server to Catalog"."
    followed by
    "The script does not have permission to write to the web site directory."
    then
    "CGI-BIN Working Directory: "/var/www/vhosts/thebagshopuk.com/cgi-bin"

    CGI-BIN Working Directory Contents
    .
    ..
    sts000001.pl
    cp000001.pl
    sa000001.pm
    bb000001.pl
    ca000001.pl
    cpi
    cm000001.pl
    md000001.pl
    mf000001.pl
    ms000001.pl
    nph-dl000001.pl
    nq000001.pl
    os000001.pl
    rs000001.pl
    se000001.pl
    sh000001.pl
    ss000001.pl
    ab000001.pm
    ac000001.pm
    ad000001.pm
    ae000001.pm
    al000001.pm
    ao000001.pm
    as000001.pm
    ax000001.pm
    cm000001.pm
    dc000001.pm
    dd000001.pm
    di000001.pm
    px000001.pm
    sc000001.pm
    sl000001.pm
    sm000001.pm
    ts000001.pl

    "/" Directory Contents
    .
    ..
    var
    dev
    proc
    sbin
    lib
    usr
    etc
    bin
    boot
    home
    initrd
    mnt
    opt
    root
    selinux
    sys
    tmp
    stunnel.rnd
    .rnd
    old
    .autofsck

    An error occurred trying to read "/www/"

    An error occurred trying to read "/www/vhosts/"

    An error occurred trying to read "/www/vhosts/thebagshopuk.com/"

    An error occurred trying to read "/www/vhosts/thebagshopuk.com/httpsdocs/"

    An error occurred trying to read "/www/vhosts/thebagshopuk.com/httpsdocs/acatalog/"

    The path to the web site directory you specified (/www/vhosts/thebagshopuk.com/httpsdocs/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

    As im using the same settings (including permissions) for the non secure side and the wizard has set these for my i find this irregular at best.

    Any ides would be highly appreciated.
    Thx billy.

    PS im running a pipex ubuntu-linux vps (virtual server) with apache and when i get this working il post the full network setting so hopefully you wont get so many silly posts in the future from newbies like me lol

    #2
    Check the permissions on the acatalog and cgi-bin directory are set to 777 or 755.

    Also export and paste your network settings here otherwise we're all just guessing on what might be wrong.

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

    First Tackle - Fly Fishing and Game Angling

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

    Comment


      #3
      network settings

      heres the network settings. im changing the permissions atm. strange that it doesnt work with the same permissions as the no secure side though!?

      HTTPPROXYMODE 0
      HTTPPROXYADDRESS
      HTTPPROXYPORT 80
      HTTPPROXYUSER
      HTTPPROXYPASSWORD
      FTPPROXYMODE 0
      FTPPROXYADDRESS
      FTPPROXYPORT 21
      FTPPROXYUSER
      FTPPROXYPASSWORD
      SCRIPTID 1
      SCRIPTEXT .pl
      SMTPHOST mail.thebagshopuk.com
      WEBSITEURL http://www.thebagshopuk.com/
      IGNOREPASSIVEERRORS true
      USERELATIVECGIURLS false
      PATHTOPERL /usr/bin/perl
      USEENHANCEFTP true
      FTPCLIENTTIMEOUT 15000
      FTPRETRYDELAY 3000
      FTPSILENT false
      FTPMAXRETRIES 2
      FTPCONNECTTIMEOUT 25000
      SMTPAUTHREQUIRED true
      SMTPUSERNAME itmanager@thebagshopuk.com
      SMTPPASSWORD xxxxxxx
      SSLCATALOGURL https://www.thebagshopuk.com/acatalog/
      SSLCGIBINURL https://www.thebagshopuk.com/cgi-bin/
      SSLPATHFROMCGITOCATALOG /var/www/vhosts/thebagshopuk.com/httpsdocs/acatalog/
      SSLCODEBASE ./
      SSLFTPHOST ftp.thebagshopuk.com
      SSLFTPUSERNAME bill
      SSLFTPPASSWORD xxxxxxxxx
      SSLPATHTOCGIBIN /cgi-bin/
      SSLUSEPASSIVEFTP false
      CATALOGURL http://www.thebagshopuk.com/acatalog/
      CGIBINURL http://www.thebagshopuk.com/cgi-bin/
      PATHFROMCGITOCATALOG /var/www/vhosts/thebagshopuk.com/httpdocs/acatalog/
      CODEBASE ./
      FTPHOST ftp.thebagshopuk.com
      FTPUSERNAME xxxxxxxxxxxx
      FTPPASSWORD xxxxxxxxxxxx
      PATHTOCGIBIN /cgi-bin/
      USEPASSIVEFTP false
      FTPPATHFROMCGITOCATALOG /httpdocs/acatalog/

      Comment


        #4
        PATHFROMCGITOCATALOG /var/www/vhosts/thebagshopuk.com/httpdocs/acatalog/
        This just looks completely wrong to me, yet your cgi-bin appears to be working.

        What happens if you just use ../acatalog/

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

        First Tackle - Fly Fishing and Game Angling

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

        Comment


          #5
          I know it seemed odd to me too but as i say its what the wizard gave me.
          when i try with say ../acatalog/ i get the same error message as above (and ive tried and still am trying with all varients of :
          "PATHFROMCGITOCATALOG/var/www/vhosts/thebagshopuk.com/httpdocs/acatalog/"

          ... Il jot it down again for you:

          first this:

          "The directory specified as the path from the CGI-BIN to the acatalog directory does not exist on the web server. Check the path. Also see the on-line help for "Path from FTP server to Catalog".

          then:

          "The script does not have permission to write to the web site directory."

          then finally last but deffinatly not least:

          CGI-BIN Working Directory: "/var/www/vhosts/thebagshopuk.com/cgi-bin"

          CGI-BIN Working Directory Contents
          .
          ..
          sts000001.pl
          cp000001.pl
          sa000001.pm
          bb000001.pl
          ca000001.pl
          cpi
          cm000001.pl
          md000001.pl
          mf000001.pl
          ms000001.pl
          nph-dl000001.pl
          nq000001.pl
          os000001.pl
          rs000001.pl
          se000001.pl
          sh000001.pl
          ss000001.pl
          ab000001.pm
          ac000001.pm
          ad000001.pm
          ae000001.pm
          al000001.pm
          ao000001.pm
          as000001.pm
          ax000001.pm
          cm000001.pm
          dc000001.pm
          dd000001.pm
          di000001.pm
          px000001.pm
          sc000001.pm
          sl000001.pm
          sm000001.pm
          ts000001.pl

          "../" Directory Contents
          .
          ..
          httpdocs
          httpsdocs
          error_docs
          cgi-bin
          anon_ftp
          bin
          conf
          pd
          web_users
          subdomains
          private
          lib
          usr
          etc
          tmp
          var
          statistics

          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

          Comment


            #6
            I have to ask this as there have been a number of threads. Did you get your hosting working without SSL first and what were your network settings then?

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

            First Tackle - Fly Fishing and Game Angling

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

            Comment


              #7
              Originally posted by olderscot
              I have to ask this as there have been a number of threads. Did you get your hosting working without SSL first and what were your network settings then?

              Mike
              Unfortunatly ive trawled throught the fourums here and nobody seems to use a linux vps from pipex or they havnt posted any details. (no suprise why they would want to avoid pipex if you have ever had the displeasure of speaking to there support team )
              Although i got everything working without SSL first the network settings are basically the same. ive posted the working Non-SSL site details below

              HTTPPROXYMODE 0
              HTTPPROXYADDRESS
              HTTPPROXYPORT 80
              HTTPPROXYUSER
              HTTPPROXYPASSWORD
              FTPPROXYMODE 0
              FTPPROXYADDRESS
              FTPPROXYPORT 21
              FTPPROXYUSER
              FTPPROXYPASSWORD
              SCRIPTID 1
              SCRIPTEXT .pl
              SMTPHOST mail.thebagshopuk.com
              WEBSITEURL http://www.thebagshopuk.com/
              IGNOREPASSIVEERRORS true
              USERELATIVECGIURLS false
              PATHTOPERL /usr/bin/perl
              USEENHANCEFTP true
              FTPCLIENTTIMEOUT 15000
              FTPRETRYDELAY 3000
              FTPSILENT false
              FTPMAXRETRIES 2
              FTPCONNECTTIMEOUT 25000
              SMTPAUTHREQUIRED true
              SMTPUSERNAME itmanager@thebagshopuk.com
              SMTPPASSWORD xxxxxxxxxxx
              CATALOGURL http://www.thebagshopuk.com/acatalog/
              CGIBINURL http://www.thebagshopuk.com/cgi-bin/
              PATHFROMCGITOCATALOG /var/www/vhosts/thebagshopuk.com/httpdocs/acatalog/
              CODEBASE ./
              FTPHOST ftp.thebagshopuk.com
              FTPUSERNAME xxxxxxxxx
              FTPPASSWORD xxxxxxxx
              PATHTOCGIBIN /cgi-bin/
              USEPASSIVEFTP false
              FTPPATHFROMCGITOCATALOG /httpdocs/acatalog/

              again these all work fine, the test passes etc. guess it wasnt such a silly thread after all, tho i doubt thats a good thing lol.
              *Bill bangs head against a brick wall with pipex graffited on it*
              Thanks for the help
              Billy Munroe

              Comment


                #8
                I think you're going to need help from someone who either uses pipex vps or knows the setting or who can go into your server and take a look. The settings aren't intuitive (or that logical) so the best I can suggest is that you log a support request with actinic here: http://www.actinic.co.uk/support/register.htm or call them if you have actinic cover.

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

                First Tackle - Fly Fishing and Game Angling

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

                Comment


                  #9
                  ok ill do that nw, thanks for the help. annoying its friday so im not able to do anymore tinkering till monday morning now. Hopefully the actinic people will have encounterd something like this before tho it wouldnt supprise me if pipex has simply installed the server wrong again, (for the 5th time, i wasnt liying when i said they where c**p lol)
                  thanks agaian
                  Billy Munroe
                  Last edited by bagshopuk; 22-Jun-2007, 04:07 PM. Reason: typo

                  Comment

                  Working...
                  X