1

Can I use mod_python.so and mod_wsgi.so at the same time on Apache Web Server defining different directories for each of them. At the moment I can not enable them both in my apache config file at the same time using LoadModule. mod_wsgi for Django and mod_python for .py and .psp scripts.

1 Answer 1

3

For recent versions of mod_wsgi no you cannot load them at the same time as mod_wsgi will prevent it as mod_python thread code doesn't use Python C API for threads properly and causes various problems.

Short answer is that you shouldn't be using mod_python any more. Use a proper Python web framework with a more modern template system instead.

If for some reason you really don't want to do that, go back and use mod_wsgi 3.5.

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.