is it possible to make my webserver run python and php in the same domain?
I have a website in python/django that is www.mydomain.com.
Now, i have to host a blog in www.mydomain.com/blog in wordpress.
Can i make it through?
Apache 2.2 mod_wsgi
My config now:
# RUNS PYTHON
<VirtualHost *:80>
DocumentRoot /home/padrao
ErrorLog /home/padrao/logs/mydomain.com-error_log
CustomLog /home/padrao/logs/mydomain.com-access_log common
WSGIScriptAlias / /home/padrao/mywebsite.wsgi
</VirtualHost>
# RUNS PHP
<VirtualHost *:80>
ServerName cloud.mydomain.com
ServerAdmin postmaster@mydomain.com
DocumentRoot /home/padrao/www
ErrorLog logs/mydomain.com-error_log
CustomLog logs/mydomain.com-access_log combined
<Directory /home/padrao/www>
php_admin_value open_basedir "/home/padrao/www"
php_admin_value upload_tmp_dir "/tmp"
</Directory>
</VirtualHost>
Thanks