-
Notifications
You must be signed in to change notification settings - Fork 45
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
search.cgi outputs itself on the screen #2
Comments
Hi, make sure you have configure cgi scripts execution in mysiteRoot/cgi-bin AddHandler cgi-script .cgi See more details on this page, e.g.: On 14 January 2015 at 13:11, alanchangchina [email protected]
|
Dear Maxim, A thousand thanks! Now the search function works! I want to make a humble donation to you to express my gratitude. Thanks. Alan Chang from China |
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!
The text was updated successfully, but these errors were encountered: