vivalafe
Verified User
Hello,
I am trying to get Harvest search engine to work. It uses a server wide cgi-bin instead of a virtual host specific cgi-bin (it is writed in perl).
I needed to ad the following lines to httpd.conf:
ScriptAlias /Harvest/cgi-bin/ "/usr/local/harvest/cgi-bin/"
Alias /Harvest/ "/usr/local/harvest/"
But always get an Internal Server Error when try to query the engine with the provided search.cgi script.
I found the following in Apache Suexec log:
[2006-06-04 19:25:51]: info: (target/actual) uid: (theuser/theuser) gid: (theuser/theuser) cmd: search.cgi
[2006-06-04 19:25:51]: error: target uid/gid (501/501) mismatch with directory (0/0) or program (501/501)
Tryed changing owner/group to the mentioned cgi-bin folder and its scripts and now get only a:
[2006-06-04 19:34:28]: info: (target/actual) uid: (theuser/theuser) gid: (theuser/theuser) cmd: search.cgi
But still getting the same Internal Server Error from the browser.
I can execute the scripts from ssh and get normal html, as expected.
Any suggestions? Any ideas?
Thanks in advance for your support.
Isaías
VivalaFe.com
I am trying to get Harvest search engine to work. It uses a server wide cgi-bin instead of a virtual host specific cgi-bin (it is writed in perl).
I needed to ad the following lines to httpd.conf:
ScriptAlias /Harvest/cgi-bin/ "/usr/local/harvest/cgi-bin/"
Alias /Harvest/ "/usr/local/harvest/"
But always get an Internal Server Error when try to query the engine with the provided search.cgi script.
I found the following in Apache Suexec log:
[2006-06-04 19:25:51]: info: (target/actual) uid: (theuser/theuser) gid: (theuser/theuser) cmd: search.cgi
[2006-06-04 19:25:51]: error: target uid/gid (501/501) mismatch with directory (0/0) or program (501/501)
Tryed changing owner/group to the mentioned cgi-bin folder and its scripts and now get only a:
[2006-06-04 19:34:28]: info: (target/actual) uid: (theuser/theuser) gid: (theuser/theuser) cmd: search.cgi
But still getting the same Internal Server Error from the browser.
I can execute the scripts from ssh and get normal html, as expected.
Any suggestions? Any ideas?
Thanks in advance for your support.
Isaías
VivalaFe.com
Last edited: