[mod_python] ImportError: No module named mptest

Patrick Percot ppercot at free.fr
Thu Jun 24 01:42:57 EDT 2004


On Wed, 23 Jun 2004 18:26:07 -0400, Juan Hernandez <alucard at kanux.com> wrote

> Any Ideas? I haven't got any anser :(

Hum, perhaps ... 


[..Zappé 27 lignes et 849 caractères..]

> >
> > NameVirtualHost 10.73.219.156
> >
> > <VirtualHost 10.73.219.156>
> >    ServerName webmail.domain.com.ve
> >    ServerAlias www.domain.com.ve
> >    ServerAlias domain.com.ve
> >    DocumentRoot /home/domain
> >    ErrorLog /var/log/apache/webmail.domain.com.ve-error_log
> >    CustomLog /var/log/apache/webmail.domain.com.ve-access_log combined
> > </VirtualHost>
> >
> > <Directory /home/webmail/python/>
> > AddHandler python-program .py
> > PythonHandler mptest

Remove this -->>> PythonDebug On

And add those lines :
	<Files *>
		PythonPath "sys.path + ['/home/webmail/python']"
		PythonDebug On
	</Files>
> > </Directory>

Tell me if it works for you. 

[..Zappé 21 lignes et 598 caractères..]

À+
PP
-- 
Groupe Morbihannais d'Utilisateurs de Logiciels Libres http://www.tuxbihan.org
Identifiant Jabber: pp at amessage.de
GPG fingerprint = 1A4F E154 3D2C A20E E4CA  A543 7951 C5C2 E44A A0B5

Patrick Percot.



More information about the Mod_python mailing list