[kforge-user] Error testing KForge service

John Bywater john.bywater at appropriatesoftware.net
Wed Nov 3 07:56:27 UTC 2010


Hi Sriram,

Sriram Chadalavada wrote:
> Hi everyone,
>   When I try reloading apache, I am seeing this error.
> Failed to start apache :
> 
>  * Starting web server apache2
> Syntax error on line 20 of /home/PATH/var/httpd-autogenerated.conf:
> 
> Invalid command 'PythonPath', perhaps misspelled or defined by a
> module not included in the server configuration
> 
>    ...fail!
> 
>   SetHandler python-program
>   PythonPath "'/home/PATH/bin'.split(':') + sys.path"
> 
>   I just installed python-django on my Ubuntu 10.04 dev machine but that did
> not eliminate the error. Am I missing anything else?
> 

You need Apache's mod_python module (e.g. on Debian, install the 
libapache2-mod-python package). Let me know if that works?

Best wishes,

John.


> Thanks,
> Sriram
> 





More information about the kforge-user mailing list