[mod_python] libapache2-mod-python error

Aseem Mohanty aseem at metaweb.com
Tue Aug 21 12:29:50 EDT 2007

Tomasz Woźniak wrote:
> Please help me:
> I tried to install apache with mod_python in the Ubuntu. I have done it, 
> but instructions in the manual, and wikipedia doesn't work ( I cannot 
> run python from the url). Then I tried a lot of things. The last one 
> were:
> sudo aptitude install python
> sudo aptitude install libapache2-mod-python
> sudo gedit /etc/apache2/mods-available/mod_python.conf
>   AddType application/x-httpd-python .py
>   AddHandler mod_python .py
>   PythonHandler mod_python.publisher
>   PythonDebug On
> cd /etc/apache2/mods-enabled
> sudo ln -s ../mods-available/mod_python.conf mod_python.conf
> sudo /etc/init.d/apache2 restart
> But I had libapache2-mod-python error, and i have it whatever I try to 
> install...

I have it running on feisty, so it can work without much munging. You actually 
don't need the mod_python.conf file, you can put it in the location section of 
the site file in the sites-available folder or in sites-available/default file.

What error are you getting?


> Tomasz Woźniak
> ----------------------------------------------------
> Raz, dwa, trzy... BUNGEEEE! Zabij nude i skocz z nami na bungee!
> Ty wybierasz czas i miejsce, my podpowiadamy jak to zrobić! Zobacz:
> http://klik.wp.pl/?adr=http%3A%2F%2Fadv.reklama.wp.pl%2Fas%2Fbungee.html&sid=1269
> _______________________________________________
> Mod_python mailing list
> Mod_python at modpython.org
> http://mailman.modpython.org/mailman/listinfo/mod_python

More information about the Mod_python mailing list