PassMark Logo
Home » Forum

Announcement

Collapse
No announcement yet.

Two searches, one site

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

  • Two searches, one site

    I have indexed my full site with the CGI version of Zoom but have yet to install that search. In the meantime I want to run a Zoom search on a much smaller subsite within the same site. If Zoom uses the same names for its files, and I can only use the cgi-bin directory, how do I do this? I tried it with a folder within cgi-bin, but search was redirected to the root cgi-bin. (My testing page is here: http://thegef.org/participants/Assem...embly_new.html)

  • #2
    You should be able to make multiple sub-directories in your CGI bin directory and have multiple search functions installed.

    That is what we did here,
    http://www.wrensoft.com/cgi-bin/wikipedia/search.cgi

    Did you set any value for the 'link back URL' on the advanced tab in the Zoom configuration window?

    --------
    David

    Comment


    • #3
      link URL

      David,
      I didn't set a link-back URL. I presume you're not suggesting that I should have done.

      Comment


      • #4
        search results page also wrong

        I did some more testing.
        Even thought I am pointing Zoom at the sub-directory ("thegef.org/cgi-bin/assembly"), and upload in text mode, the results page that I get is an old one located in the root cgi-bin. This happens even though I am, for now, allowing Zoom to generate a basic search template.
        Very confusing!

        Comment


        • #5
          binary mode

          Correction: I meant to say that I uploaded in binary mode.

          Comment


          • #6
            old cgi?

            Having run the indexer yet again, one odd thing is that all files generated except search.cgi have a current "date modified". The cgi shows up as having been generated sometime last year. That would at least explain why it's not pointing to a current template. (I have since killed off the old template it was showing just to prove the point).

            Comment


            • #7
              I think there are multiple issues making things more confused than they need to be. So maybe we can deal with one problem at a time.

              The most obvious problem at the moment is that the execution of the search function here,

              http://thegef.org/cgi-bin/assembly/search.cgi

              gives this result,

              Content-type: text/html 'D:\websites\gefweb\cgi-bin\assembly\search.cgi' script produced no output.

              To start with read this page. It contains information about how to setup the CGI.
              http://www.wrensoft.com/zoom/support/faq_cgi.html

              It is very important to know what O/S you are running on the server. For example the Windows CGI will not run on a Linux machine and vice versa.

              I also have strong some doubts the server setup. It might be that the server is incorrectly executing the CGI as a Perl script. Our CGI is NOT a Perl script.

              Finally, as you now know, setting up a server to run a CGI is much harder than setting up for PHP or ASP. A lot of hosting companies don't know what they are doing and don't setup CGI correctly (especially on Windows servers as the setup is doubly complicated). So you should consider using ASP or PHP if you need a pain free install.

              ------
              David

              Comment


              • #8
                It could be that your web server is only configured to run CGI's from the cgi-bin root directory, and not from any subdirectories within cgi-bin (ie. "/cgi-bin/assembly/" in this case). You should check with your web host if this is the case.
                --Ray
                Wrensoft Web Software
                Sydney, Australia
                Zoom Search Engine

                Comment

                Working...
                X