Author: Soeren Gerlach Email: [EMAIL PROTECTED] Message: Hello, I've something strange happening to my search.cgi. First of all: I've installed mnogosearch on a test machine and got everything working quite fine within two hours, including all the index.conf stuff and so on. Afterwards I tried to install the same on a production machine, which runs the same Linux distribution (Suse 7.3) and mirrors my test apache setup. But when I call the search.cgi it states
>> Can't open template file ''! but not giving a hint to the "/usr/local/mnogosearch/etc" file. So, for any reason it doesn't not only find to search.html, it looks like it just has forgotten where it is! I checked access rights, ok, and the file itself, which resides as per default in /usr/local/mnogosearch/etc. But the funny stuff comes when I su to wwwrun (which is the user apache runs on at the machine) and call search.cgi from the prompt: Everything's all right! If I try to remove the access rights it claims that it cannot access the file - but this time giving a hint, which file. But from a browser it just reports the above message without saying which file is missing. I checked via ldd the existence of all necessary libraries and everything looks all right. Included you can find my apache config to activate the cgi (seems to works fine on my test server): - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - ./configure --prefix=/usr/local/mnogosearch --bindir=/usr/local/mnogosearch/bin --sbindir=/usr/local/mn ogosearch/sbin --sysconfdir=/usr/local/mnogosearch/etc --localstatedir=/usr/local/mnogosearch/var --lib dir=/usr/local/mnogosearch/lib --includedir=/usr/local/mnogosearch/include --mandir=/usr/local/mnogosea rch/man --disable-shared --enable-static --disable-syslog --with-openssl=/usr/share/ssl --disable-linux -pthreads --disable-freebsd-pthreads --disable-charset-guesser --enable-parser --enable-mp3 --enable-al iasprog --disable-news-extension --disable-fast-tag --disable-fast-cat --disable-fast-site --disable-ph rase --enable-exec-cgi --enable-file --enable-http --enable-ftp --enable-htdb --disable-news --with-mys ql - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - I'm running the latest stable release, 3.1.19, and compiled mnogosearch with the following settings: - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - <Location "/sfbc/search/search.cgi"> Options +ExecCGI SetHandler cgi-script </Location> - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Please note that on my test server everything works all right. Buffled, Soeren Gerlach Reply: <http://www.mnogosearch.org/board/message.php?id=4326> ___________________________________________ If you want to unsubscribe send "unsubscribe general" to [EMAIL PROTECTED]
