2010/3/9 Federico Capoano <[email protected]>:
> In the main httpd.conf there is no mention to mod_python.
> In the project I'm working on i've removed the mod_python
> instructions.

Look for the python.conf file in /etc/httpd/conf.d. If it exists move
it to python.conf.back.

Regards, Clodoaldo

>
> Actually I think there is a problem in compiling it.
>
> If I compile it normally using python2.3 everything works fine, if I
> use the --with-python prefix I get this problem as soon as I load the
> module in the main httpd.conf and restart apache.
>
> Do you think I would get the same problem using python2.5?
>
> Now I tried to run the project with python2.3, but unfortunately "sorl-
> thumbnail" needs python 2.4.
>
> The virtual host are loaded for each project in their respective
> folder in a file called "http.include"
>
> Do I have to disable mod_python also for those?
>
> Thanks for your time.
>
>
> On Mar 9, 12:40 pm, Graham Dumpleton <[email protected]>
> wrote:
>> Have you removed mod_python from Apache configuration?
>>
>>
>>
>> On Tuesday, March 9, 2010, Federico Capoano <[email protected]> 
>> wrote:
>> > I followed those instructions, i verified the prefix was correct and
>> > put
>>
>> > WSGIPythonHome /usr/local
>>
>> > in the main httpd.conf file.
>> > I compiled the module source using --with-python prefix but I can't
>> > manage to make it work.
>> > Apache starts having problems as soon as I load the module.
>>
>> > It works only with python 2.3.. and I will switch back now to that
>> > unfortunately.
>>
>> > Thanks..
>>
>> > F.C.
>>
>> > On Mar 8, 11:52 pm, Graham Dumpleton <[email protected]>
>> > wrote:
>> >> On 9 March 2010 05:53, Federico Capoano <[email protected]> 
>> >> wrote:
>>
>> >> > Hello to all,
>>
>> >> > I'm new to mod_wsgi.
>>
>> >> > I've downloaded it on a RHEL4 and installed successfully.
>>
>> >> > Unfortunately then I noticed RHEL uses Python 2.3..
>>
>> >> > So I installed Python 2.6 in /usr/local/
>>
>> >> > Then I reinstalled mod_wsgi, by doing:
>>
>> >> > ./configure --with-python=/usr/local/bin/python2.6
>> >> > make
>> >> > make install
>>
>> >> > /etc/init.d/httpd restart
>>
>> >> > And then I'm trying to load the website but I just get the page
>> >> > loading and loading..
>>
>> >> > What did I do wrong?
>>
>> >> Read:
>>
>> >>  http://code.google.com/p/modwsgi/wiki/InstallationIssues#Multiple_Pyt...
>>
>> >> Set WSGIPythonHome appropriately to work around your problem.
>>
>> >> Graham
>>
>> > --
>> > 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 
>> > athttp://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.
>
>

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