Re: [Lxr-dev] source question
Brought to you by:
ajlittoz
From: Malcolm B. <ma...@br...> - 2004-06-03 09:49:23
|
Hi George, George Ciobanu wrote: > I'm sorry for all the previous incomplete or misleading information > before. The fact is I really need to get the lxr engine working. In > the error log for apache I get a > > malformed header from script. Bad header=HTTP/1.0 200 OK: > /usr/local/lxr/source > > So source output is definetely not ok. Is there a way to test the > source script, to see the generated output. > There's no easy way to run the source script to see the output that I know of, as it , as it is a mod_perl script that needs the Apache environment. Anyone else got a suggestion? Are you sure that your Apache setup is picking up & obeying the .htaccess file from the lxr distribution? That should set things up so that the header is OK - the normal problem reported is people seeing an extra header, not a Bad Header error. Also, what version of Apache are you using? Apache used to parse headers from CGI scripts, it should no longer be doing so if you're using a modern version. I suggest doing some googling for "bad header" and "nph cgi" to find out more about how Apache is handling script output. I've also had a look at your lxr.conf, and there's a couple of potential problems: - the 'sourceroot' variable should be set to an absolute path, it's not relative to any of the other paths - you probably don't need the 'strip' variable to be set Hope this helps you on your way. Cheers, Malcolm |