Leon Hayes
leon.hayes at ultimate-uk.com
Wed Mar 10 16:23:19 EST 2004
Hi all. I'm running XP Pro, Apache/2.0.48 (Win32) PHP/4.3.4 mod_python/3.0.1 Python/2.2.3 As you can see from above, I've managed to load mod_python. My problem is this: Whenever a try and visit a .py file via the browser, it writes out the python code to the screen instead of parsing it through python. I added this to the apache conf: <Directory c:/apache2/htdocs> AddHandler mod_python .py PythonHandler mptest PythonDebug On </Directory> And I use this line to load the module into apache: LoadModule python_module modules/mod_python.so Any help would be greatly appreciated. Best Regards Leon Hayes --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.595 / Virus Database: 378 - Release Date: 25/02/2004
|