How do I migrate from Python virtualdev environment to a Apache mod-python environment? I couldn't find a link anywhere on the internet that describes this. My config.py file is in the root of my virtualdev directory. I want to move it over to apache but I am unsure if I will be able to just copy it over or if its more complicated than that? Does it take additional software configuration (aside from db connection)?

  • Maybe it's settings.py? – Alex Bolotov Sep 5 '09 at 13:33
  • Im actually curious about how I would deploy Plurk-Solace . I have it working in a dev environment now. Is it just like an HTML page where you just copy the project files over into the APache root? – djangofan Sep 6 '09 at 18:54

When you say "virtualdev environment" I presume that you mean django-admin.py runserver.

mod_wsgi is now greatly favoured over mod_python for serving through Apache.

You shouldn't need much modification to your project at all. Just simply create a script file. There are some details about how in the docs - IntegrationWithDjango

  • There is no config.py file in Django so not sure that is what he meant. Can't think of any framework off hand that uses config.py. – Graham Dumpleton Sep 5 '09 at 0:21

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.