Posts Tagged ‘mod_python’
Know mod_python running version [SOLVED]
A friend of mine asked yesterday: how do I get the mod_python version that my site is running? Answer is quite easy! >>> import mod_python >>> print mod_python.version 3.3.1
[Errno 13] Permission denied: ‘/root/.python-eggs’ [SOLVED]
A few days ago I had to install MySQLdb. The installation is quite simple: # tar -xzvf MySQL-python-1.2.2.tar.gz # cd MySQL-python-1.2.2 # python setup.py build # python setup.py install But then I checked a page which had to use this python module (MySQLdb) and… oops, it did not work: Can’t extract file(s) to egg cache [...]
CDS-Invenio: [notice] mod_python: (Re)importing module ‘mod_python.publisher’
Yesterday I looked at /var/log/httpd/error_log and observed a [notice] mod_python: (Re)importing module ‘mod_python.publisher’ was filling apache error_log file. Tibor (from CDS Support Team) told me this was a harmless notice I could safely ignore. I wanted to get rid of it because it fills logs, so I decided to upgrade my mod_python to last version [...]