[Xapian-discuss] Omega cgi question

Jim Lynch jwl at sgi.com
Wed Sep 1 18:40:31 BST 2004


Fixed.  The database directories weren't open for "other" read/execute 
access. 

Olly Betts wrote:

>On Wed, Sep 01, 2004 at 01:11:26PM -0400, Jim Lynch wrote:
>  
>
>>IRIX 6.5.22, compiled omega.0.8.1 with native MIPS compiler.
>>
>>omega.cgi isn't running from apache.  From the log:
>>[Wed Sep  1 10:04:36 2004] [error] [client 198.149.32.31] malformed 
>>header from script. Bad header=Caught unknown exception: /var/www/cgi-
>>bin/omega.cgi
>>
>>This is with a url of http://<machine>/cgi-bin/omega.cgi?DB=/open/
>>    
>>
>
>The slashes around the DB name are superfluous, but they should just be
>ignored.
>
>  
>
>>When I run it from the command line with no parameters, I get the same 
>>thing
>>    
>>
>
>What do you mean by "run it from the command line with no parameters"
>exactly?  How does that differ from what you describe below?
>  
>
No input lines at all.

>  
>
>>but if I do:
>>
>><oasisminus 132> ./omega.cgi
>>omega - omega 0.8.1 (compiled Jul  1 2004 06:51:42)
>>Enter NAME=VALUE lines, end with blank line
>>DB=/open/
>>
>>Content-Type: text/html
>>
>><html>
>>...
>>
>>It seems to work.
>>
>>It's like it isn't finding the parameter.
>>    
>>
>
>Without the parameter it should try to search database "default".  You
>shouldn't get an unknown exception.
>
>Cheers,
>    Olly
>  
>




More information about the Xapian-discuss mailing list