Index made locally not funtion in remote webserver
"orestes" <[email protected]> Mon, 10 Nov 2003 10:09:46 -0500
| Newsgroups | gmane.comp.web.perlfect-search |
|---|---|
| Message-ID | <000b01c3a79d$278d94c0$699d37c8@orestes> |
Dear Nabel: Before all, and although a little late, I should thankyou your guessed right answer around my problem with accented characters. The character system was de key. Our site had established "charset=utf-8" in html headers, and when we ran indexer.pl, strange characters appeared in all the texts. We change to "charset=ISO-8859-1" and everything was solved. But now, my problem is another. I usually index my website locally and then, I send the content of data folder to the webserver by FTP. It had been working this way, perfectly, during several years. But, suddenly, difficulties that we have not been able to solve appeared. Now, if I run indexer.pl leaving the no_index file empty, the searcher works, but if I exclude some folder/file (as always we have made), when we trying to execute the searcher from the corresponding form we obtain the following error message: > CGI Error > The specified CGI application misbehaved by not returning a complete set of HTTP > headers. The headers it did return are: > Cannot open C:/website/mysitename/html/cgi-bin/old_news/search/data/inv_index: > at C:\website\mysitename\html\cgi-bin\old_news\search\search.pl line 76. I insist that locally, in my PC (http: / / localhost /. . . ), where I also have installed a webserver to preview my site, I don't have problems. These only happens in the remote server. Please, I appeal again to your good services and I advance you my infinite gratefulness. Orestes