Results 1 to 5 of 5

Thread: links in search don't redirect correctly

  1. #1
    Join Date
    Nov 2011
    Posts
    2

    Default links in search don't redirect correctly

    Hi using Flyingant and zoom to make cgi a searchable cd

    search function works fine
    but when clicking on link generated by search
    http://127.0.0.1:8091/zoom/P_CSQ_52_28(R-45).pdf#search="r 45"
    it doesn't take to the root directory website, stay stuck in the zoom directory
    if i manually take out the /zoom/ in the browser adresse bar the document opens fine
    http://127.0.0.1:8091/P_CSQ_52_28(R-45).pdf#search="r 45"

    I checked the zoom configuration files all is well
    tried tinkering with the configuration files and still no change...

    what am I doing wrong here....

    Please help

  2. #2
    Join Date
    Dec 2004
    Location
    Sydney, Australia
    Posts
    3,839

    Default

    It sounds like your base URL is incorrect.

    If you want to link to files one level up from the directory containing the CGI, then the base URL should be "../"

    Please see chapter 9.2 in the Zoom Users Guide ("Base URL for CD-ROM distribution") for a more detailed explanation and understanding of relative paths.
    --Ray
    Wrensoft Web Software
    Sydney, Australia
    Zoom Search Engine

  3. #3
    Join Date
    Nov 2011
    Posts
    2

    Default

    That is the base URL

    ./

    the error seems more along the lines of the CGI script, the page opens on a wrong redirect and seems to loop, no error messages come up.

    I need this up and working asap

    went back and started things from scratch using the Flyingant Zip
    still same errors.

  4. #4
    Join Date
    Dec 2004
    Location
    Sydney
    Posts
    4,307

    Default

    If it isn't too large can you place a copy of your CD somewhere online where we can download it and take a look. Or if not your full CD, just a cut down version with one or two documents would be OK.

  5. #5
    Join Date
    Dec 2004
    Location
    Sydney, Australia
    Posts
    3,839

    Default

    Quote Originally Posted by Ray View Post
    It sounds like your base URL is incorrect.

    If you want to link to files one level up from the directory containing the CGI, then the base URL should be "../"
    Quote Originally Posted by caroline View Post
    That is the base URL
    ./
    That is not the same base URL to what I suggested.

    There is a difference between two dots ("../") and your one dot ("./").

    One dot means current folder. Two dots refer to one level up.

    Please double check if this is correct. Again, I suggest reading the Users Guide chapter if you are not familiar with relative paths.
    --Ray
    Wrensoft Web Software
    Sydney, Australia
    Zoom Search Engine

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •