Skip to content

search.cgi outputs itself on the screen #2

@alanchangchina

Description

@alanchangchina

I downloaded a latest version master.zip package and installed it in a Linux CentOS 6.4 box.
backed with MySQL 5.5
I run indexer -W and indexed 10000+ pages on my site.
Since I use Zend Framework to program the site and I use directive instead of .htaccess. So I use +ExecCGI to enable the search.cgi to run.
Also, I modified httpd.conf accordingly as the following:

ScriptAlias /cgi-bin/ "mysiteRoot/cgi-bin/"

<Directory "mysiteRoot/cgi-bin/">

After these procedures, I copied /usr/local/dpsearch/bin/search.cgi and /usr/local/dpsearch/etc/search.htm to "mysiteRoot/cgi-bin" and chown and chmod them.

Then I http://www.ypgogo.com/cgi-bin/search.cgi

I can see major part of search.cgi itself was thrown onto the screen with so many errors. Such can't load template.

Is there any instruction that I can write a search to query the index? Please advise. Thanks your efforts!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions