Friday, November 30, 2007
Subscribe to:
Post Comments (Atom)
The source code in this article is released under Apache 2.0 license unless otherwise stated. Unless required by applicable law or agreed to in writing, software distributed under the license is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the license for the specific language governing permissions and limitations under the license.
This article and any images within the article are released under the Creative Commons Attribution-ShareAlike 3.0 license unless otherwise noted. You may alter, transform, build upon, or distribute the material as long as it is properly attributed and released under the same or a similarly compatible license. See the license for more information.
2 comments:
Very nice idea and the tester works fine on the local pc but only 500 error messages when put on the server (with permissions; cgi enabled etc). Should there be a "content-type: text/html" somewhere in the script?
I've got it working now for my charity site iprescue.org.uk. Thanks!! Apart from the obvious configurations, the only things I needed to change to the search.py file were the addition of print "Content-type: text/html\n" (which I inserted immediately before running doresultspage()) and adding a variable BASE_URL to use in the doresults funtion (where it refers to the "test" directory). Fantastic to find a really useful script like this that works!
Post a Comment