Setup details are below. I've used XAMPP plenty of times over the years on lots of local machines for testing and playing with scripting and OS software, but I'm new to all things python.
I installed python to play with some OS stuff in python, used this tutorial: http://blog.chomperstomp.com/installing-python-mod_python-on-xampp/
So it ran the test script fine and printed the wonderful "Hello World!" message we all love to see. The problem is that now, no matter what I do in a script or what else I try to run all that appears in the browser is "Hello World!". Even if I change the original script to print "Hello World!xyz" it does not change. I've restarted Apache, I've rebooted the computer. I added some stuff to http.conf to turn off any caching, all to no avail.
- Code: Select all
AddHandler mod_python .py
# set headers to prevent caching for anything in this directory
Header set Pragma "no-cache"
Header set Cache-Control "no-cache"
Header set Expires "-1"
###### ApacheFriends XAMPP (Basispaket) version 1.7.4 ######
+ Apache 2.2.17
+ MySQL 5.5.8 (Community Server)
+ PHP 5.3.5 (VC6 X86 32bit) + PEAR
+ XAMPP Control Version 2.5 from www.nat32.com
+ XAMPP Security
+ SQLite 2.8.15
+ OpenSSL 0.9.8o
+ phpMyAdmin 3.3.9
+ ADOdb 5.11
+ Mercury Mail Transport System v4.62
+ FileZilla FTP Server 0.9.37
+ Webalizer 2.01-10
+ Zend Optimizer 3.3.0
+ Perl 5.10.1
+ Mod_perl 2.0.4
+ Tomcat 7.0.3
Python mod_python/3.3.1 Python/2.5.4