I still installed the mod_python,
and my python is 3.1 version

On Jun 29, 11:48 pm, coolesting <[email protected]> wrote:
> My log on apache
>
> [Wed Jun 29 23:42:02 2011] [error] [client 127.0.1.1] mod_wsgi
> (pid=2187): Target WSGI script '/var/www/index.wsgi' cannot be loaded
> as Python module.
> [Wed Jun 29 23:42:02 2011] [error] [client 127.0.1.1] mod_wsgi
> (pid=2187): Exception occurred processing WSGI script '/var/www/
> index.wsgi'.
> [Wed Jun 29 23:42:02 2011] [error] [client 127.0.1.1] Traceback (most
> recent call last):
> [Wed Jun 29 23:42:02 2011] [error] [client 127.0.1.1]   File "/var/www/
> index.wsgi", line 6, in <module>
> [Wed Jun 29 23:42:02 2011] [error] [client 127.0.1.1]     print "good"
> [Wed Jun 29 23:42:02 2011] [error] [client 127.0.1.1] IOError:
> sys.stdout access restricted by mod_wsgi
> [Wed Jun 29 23:42:05 2011] [error] [client 127.0.1.1] File does not
> exist: /var/www/favicon.ico
>
> and my configuration file, wsgi.conf
>
> <IfModule mod_wsgi.c>
>     AddType text/html .py
>     AddHandler wsgi-
> script .wsgi
>
>     <Directory "/var/www">
>         Order allow,deny
>         Allow from all
>     </Directory>
> <IfModule>
>
> and wsgi.load file
> LoadModule wsgi_module /usr/lib/apache2/modules/mod_wsgi.so
>
> Anybody know what is wrong with my installation problem ?
> thanks for all of help

-- 
You received this message because you are subscribed to the Google Groups 
"modwsgi" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/modwsgi?hl=en.

Reply via email to