I some what doubt you are using Python 3.1 as mod_python doesn't work
with Python 3.X and loading mod_python compiled for Python 2.X and
mod_wsgi compiled for Python 3.X at same time would likely cause a
crash at startup.

If you are not using mod_python you should really disable it.

Graham

On 30 June 2011 02:05, coolesting <[email protected]> wrote:
> 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.
>
>

-- 
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