django (under mod_wsgi) and php

Posted by Hellnar on Stack Overflow See other posts from Stack Overflow or by Hellnar
Published on 2010-04-05T12:06:31Z Indexed on 2010/04/05 12:13 UTC
Read the original article Hit count: 281

Filed under:
|
|
|

Hello Under my debian copy, I run a django site runs via apache2 and mod_wsgi. Now I want to include a wordpress to it, for that I need to install php - apache bindings. I am curious what library is recommended for this, aswell as how shall I be doing the apache2 config file ?

Here is my current apache 2 000-default file:

<VirtualHost *:80>
Alias /media /home/myuser/myproject/statics
Alias /favicon.ico /home/myuser/myproject/statics/pic/favicon.ico
Alias /robots.txt /home/myuser/myproject/templates/robots.txt
Alias /admin_media /usr/lib/python2.5/site-packages/Django-1.1.1-py2.5.egg/django/contrib/admin/media

WSGIScriptAlias / /home/myuser/myproject/myproject_wsgi.py
WSGIDaemonProcess myproject user=myuser group=myuser threads=25
WSGIProcessGroup myproject
</VirtualHost>

I want to add Wordpress to my www.mysite.com/blog

© Stack Overflow or respective owner

Related posts about django

Related posts about apache2