Probably full QUERY_STRING emulation will help to find
a reason.
Copy a tail after ? sign of URL which appears in your
browser after submition a search form.
Let say it is:
http://localhost/cgi-bin/search.cgi?q=test&ps=20&o=0&m=all&wm=wrd&ul=&wf=22210
Then write this shell script:
#!/bin/sh
export QUERY_STRING="q=test&ps=20&o=0&m=all&wm=wrd&ul=&wf=22210"
/path/to/search.cgi
Then run it. Is there any output?
Lets
Derek Santos wrote:
>
> The error log lists nothing, the search.cgi is just logged in the normal log
> with a 200 code.
>
> -Derek
>
> -----Original Message-----
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On
> Behalf Of Alexander Barkov
> Sent: Saturday, August 25, 2001 12:28 PM
> To: [EMAIL PROTECTED]; Derek Santos
> Subject: Re: search.cgi returns no data???
>
> Derek Santos wrote:
> >
> > Hello, I am using version 3.1.19
> >
> > My indexer has run and populated the mysql tables without any problems. I
> > have configured the search.htm in /etc
> >
> > If I call search.cgi from command line, I get output for the HTML page.
> If
> > I do "search.cgi foo" I get output for a HTML page with foo results.
> >
> > However if I try and run http://path-to-my-server/search.cgi through my
> web
> > browser I get a "The document contained no data" error under Netscape and
> > just a blank white page under Internet Explorer.
> >
> > Is there something that I am missing? The search.cgi file is permissioned
> > 755, must something else be done to other files?
> >
>
> Take a look into apache's error_log.
> ___________________________________________
> If you want to unsubscribe send "unsubscribe general"
> to [EMAIL PROTECTED]
___________________________________________
If you want to unsubscribe send "unsubscribe general"
to [EMAIL PROTECTED]