Hello -
A big fan of Zoom Search, and using the PHP setup with great success at DadsWorksheets.com.
I'm setting up a new site and just downloaded ZoomSearch 7.1 to try to see if I can get it working on a server configuration that doesn't have PHP, specifically 64-bit Ubuntu 18.04 with Nginx. I'm proxying CGI requests with fcgiwrap and that seems to be working fine; I can hit executable bash scripts in the cgi-bin directory I have setup just fine and they return output all the way to the browser.
I've run Zoom and put the search.cgi script in the same location. When I attempt to hit that script, I get a 502 (bad gateway) error. If I remove the script, and retry the URL, I get a 403 (forbidden) which is as expected, but also makes me think that I'm proxying out to the search.cgi file just fine, it just can't be executed for some reason.
I've verified that the search.cgi has exactly the same wild-card file permissions as my test bash script...
-rwxrwxrwx 1 www-data www-data 534832 Jul 18 17:05 search.cgi
...and I made sure when I transferred the file to the server I didn't do any ASCII translation or anything weird on it.
If I'm sitting in that directory and I run my shell script right there, I get the HTML output right there to the console. If I try running "./search.cgi" right there it returns "No such file or directory." I tried re-indexing and selecting the BSD option instead of Linux and used that search.cgi file instead; when I run that one at the console I get a core dump.
I'm trying to figure out if I've got something weird setup wrong here, but I can't think of a rock I haven't turned over yet. I'm building the index files and getting the search.cgi file out using the Mac OS version of Zoom Search if that makes any difference.
So I'm wondering if that search.cgi file is something that would work in the configuration I'm trying to setup.
Any advice is hugely appreciated!
Thanks in advance,
Jim
A big fan of Zoom Search, and using the PHP setup with great success at DadsWorksheets.com.
I'm setting up a new site and just downloaded ZoomSearch 7.1 to try to see if I can get it working on a server configuration that doesn't have PHP, specifically 64-bit Ubuntu 18.04 with Nginx. I'm proxying CGI requests with fcgiwrap and that seems to be working fine; I can hit executable bash scripts in the cgi-bin directory I have setup just fine and they return output all the way to the browser.
I've run Zoom and put the search.cgi script in the same location. When I attempt to hit that script, I get a 502 (bad gateway) error. If I remove the script, and retry the URL, I get a 403 (forbidden) which is as expected, but also makes me think that I'm proxying out to the search.cgi file just fine, it just can't be executed for some reason.
I've verified that the search.cgi has exactly the same wild-card file permissions as my test bash script...
-rwxrwxrwx 1 www-data www-data 534832 Jul 18 17:05 search.cgi
...and I made sure when I transferred the file to the server I didn't do any ASCII translation or anything weird on it.
If I'm sitting in that directory and I run my shell script right there, I get the HTML output right there to the console. If I try running "./search.cgi" right there it returns "No such file or directory." I tried re-indexing and selecting the BSD option instead of Linux and used that search.cgi file instead; when I run that one at the console I get a core dump.
I'm trying to figure out if I've got something weird setup wrong here, but I can't think of a rock I haven't turned over yet. I'm building the index files and getting the search.cgi file out using the Mac OS version of Zoom Search if that makes any difference.
So I'm wondering if that search.cgi file is something that would work in the configuration I'm trying to setup.
Any advice is hugely appreciated!
Thanks in advance,
Jim
Comment