Within the Django documentation I just read the application should not go within the htdocs folder, thefore I've placed the folder in /home/django-applications/myapp

During my SSL virtual host I've the next:

Alias /media/ /home/django-apps/myapp/static/

WSGIScriptAlias / /home/django-apps/myapp/apache/django.wsgi

<Directory /home/django-apps>
   Order allow,deny
   Allow from all
 </Directory>

I've removed the different little bit of the SSL certificate for security and brevity reasons.

Everything works fine, Among the finest to make certain which i haven't introduced a burglar hole using the Directory directive configurations for django-applications.

Thanks

Looks good in my experience. So far as I understand theres isn't any problem, as lengthy as directory permissions are positioned right. Additionally you should place your .py files outdoors /htdocs or /httpdocs to avoid showing them automatically apache configuration.

Hope this can help.