Oct 05 2007

HOWTO: apache2 & mod_python.psp

Tags:, , , , , , , Ignace Mouzannar (ghantoos) @ 12:03 am

Here is a second howto about the PSP handler of mod_python.

Hope this is useful!

http://ghantoos.org/index.php/howto-apache2-mod_python/#mod_python.psp

Cheers,

Ghantoos


Sep 29 2007

HOWTO: apache2 & mod_python.publisher

Tags:, , , Ignace Mouzannar (ghantoos) @ 8:20 pm

After a bit of research and some debugging time, and as i couldn’t find obvious mod_python howtos, I decided to write a little Apache2/mod_python.publisher howto.

http://ghantoos.org/index.php/howto-apache2-mod_python/

Cheers,

Ghantoos


Sep 24 2007

Apache mod_python local module import

Tags:, , , Ignace Mouzannar (ghantoos) @ 1:39 pm

I have searched a lot before finding this tip, so I post it.
It show how to easily import with mod_python a module based on a personal .py file located somewhere on your box.
In this example, I will try to import the module bloup.py located in the same directory of my index.py mainpage.
when trying to import using the usual means, i get:

#!/usr/bin/env python
import os
import bloup
...

>>>ImportError: No module named bloup

The solution I found was:
Continue reading “Apache mod_python local module import”