Saket Choudhary
Saket Choudhary

Reputation: 624

Hosting Drupal and Django together on Production Server

Is it possible to host a Django app side by side with a Drupal project side by side without editing the urls.py?

I have a full fledged website right now made using the Drupal framework,working perfectly. Now I have implemented some stuff using Django and want to put it on the same server . How easy is this ?

Upvotes: 1

Views: 187

Answers (1)

Daniel Roseman
Daniel Roseman

Reputation: 599956

It's pretty easy if you just want to host your Django site inside a sub-URL - for example http://mydomain.com/django/. Using mod_wsgi, for example, you'd just set WSGIScriptAlias to the directory name, and everything else will just work (you'll probably need to put that high up in your Apache conf so that it's picked up before the Drupal configuration).

Upvotes: 2

Related Questions