pages pulled from cgi-bin redirected to home - help

Discussion in 'Apache' started by isd, Oct 25, 2008.

  1. #1
    hello im trying to use zoom search engine installed on cgi-bin of the same folder as my phpld directory - actually zoom it's supposed to search for pages not included in directory. but some how im unable to get it work... im lost and dont know what for should i look...
    in this example when i try to search im allways redirected to my home page.
    i have only usuall staff in my htacces (phpld uses) what im doing wrong please? should i add any thing to my htaccess?

    any suggestions will be much apreciated

    example url:
    home:http://olca.biz
    example search page:http://olca.biz/calle-albacete.htm
    searched word:http://olca.biz/cgi-bin/search.cgi?zoom_query=almendros
    (i dont understand why this url is redirected to my home instead showing result page)

    this example domain is an addon domain, hosted on linux, apache version 1.3.41

    my htaccess:
    
    #################################################
    ## PHP Link Directory - Apache Server Settings ##
    #################################################
     
    # Protect files
    <Files ~ "^(.*)\.(inc|inc\.php|tpl|sql)$">
      Order deny,allow
      Deny from all
    </Files>
     
    # Protect directories
    <Files ~ "^(files|images|include|lang|libs(/.+)?|temp(/.+)?|templates(/.+)?|javascripts(/.+)?)$">
      Order deny,allow
      Deny from all
    </Files>
     
    # Disable directory browsing
    Options -Indexes
     
    # Follow symbolic links in this directory
    Options +FollowSymLinks
     
    # Set the default handler
    DirectoryIndex index.php
     
    # URL rewrite rules
    <IfModule mod_rewrite.c>
       RewriteEngine On
       RewriteRule ^details/link-([^/]+)/?$ link-detail.php?lid=$1 [QSA,L]
     
    ## Category redirect
       RewriteCond %{REQUEST_FILENAME} !-f
       RewriteCond %{REQUEST_FILENAME} !-d
       RewriteCond %{REQUEST_FILENAME} !-l
       RewriteRule ^(.*)$ index.php [QSA,L]
     
    ##Latest Links Rewrite
       RewriteCond %{REQUEST_FILENAME} !-f
       RewriteCond %{REQUEST_FILENAME} !-d
       RewriteCond %{REQUEST_FILENAME} !-l
       RewriteRule ^latestlinks\.html?$ index.php?p=d [QSA,NC,L]
     
    ##Top Hits Rewrite
       RewriteCond %{REQUEST_FILENAME} !-f
       RewriteCond %{REQUEST_FILENAME} !-d
       RewriteCond %{REQUEST_FILENAME} !-l
       RewriteRule ^tophits\.htm[l]?$ index.php?p=h [QSA,NC,L]
    </IfModule>
    
    Code (markup):
    please advice me something because i have no idea what happens - i know both installations are correct
    thank you very much for your help in advance
     
    isd, Oct 25, 2008 IP