AddHandler wsgi-script .wsgi
DirectoryIndex index.html
RewriteEngine On
RewriteBase /
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME}/index.html !-f
RewriteCond %{REQUEST_URI} !^/media
RewriteCond %{REQUEST_URI} !^/static
RewriteRule ^(.*)$ /myproject.wsgi/$1 [QSA,L]