[Xapian-discuss] Getting Omega to execute and generate XML

Floris Bos flbos at hotmail.com
Sun Aug 14 18:38:22 BST 2005


Hi Ralf,

Thanks for your quick reply, I'm starting to get close now but I think I 
need your help one more time. There is one thing I still don't understand. 
You said:

"Now, put the omega binary int oyour CGI directory and make it executable by 
the
webserver"

I don't really see how to do this. Is this about enabling my webserver to 
permit cgi execution? I've done this by following the steps in this manual:
http://httpd.apache.org/docs/1.3/howto/cgi.html#configuringapachetopermitcgi
but this manual describes something different I believe. It's about 
permitting to execute scripts from a certain directory but the omega 
executable is not a script but the program that runs the scripts so I'm 
getting awfully confused now.

I did configure Omega the right way using the omega.conf file so it should 
be able to find my templates. I copied Omega to the directory cgi-bin\search 
so it's full path is:
C:\Apache\htdocs\test\cgi-bin\search\omega.exe

Maybe I can understand this better by asking exactly how to call Omega.exe 
to run the script template. I thought I would do this like:

http://localhost/test/cgi-bin/search?DB=default&P=test&FMT=xml

When I do this I get the error I usually get when I mistype an ul: can't 
find the server
(translated from dutch so english message might differ)

Is the way I call Omega in the above example the right way to do it or am I 
going wrong at this point. I'm trying to find out if I'm still calling Omega 
the wrong way or if it is my webserver configuration that needs to be 
changed (and if the latter is the case, what do I exactly need to tell my 
webserver to permit).

Thanks in advance!

- Floris





More information about the Xapian-discuss mailing list