Re: How can Django/WSGI and PHP share / on Apache?
figured it out
<VirtualHost *:80>
ServerAdmin webmaster@localhost
DocumentRoot /home/webdev/domains/handtrackers.com/django
<Directory /home/www/django>
#Options +FollowSymLinks +SymLinksIfOwnerMatch ExecCGI Indexes
AllowOverride None
AddHandler cgi-script .cgi
AddHandler application/x-httpd-php .php
AddHandler wsgi-script .wsgi
Order allow,deny
Allow from all
RewriteEngine On
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^(.*)$ /mysite.wsgi/$1 [QSA,PT,L]
</Directory>
but specifying any Option, like the commented out one... will result in:
"Options FollowSymLinks or SymLinksIfOwnerMatch is off which implies that RewriteRule directive is forbidden:"