Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save settipalli/4016922 to your computer and use it in GitHub Desktop.
Save settipalli/4016922 to your computer and use it in GitHub Desktop.
Apache2 configuration file for Django-wsgi-project.
# Apache 2 - wsgi configuration.
<VirtualHost *:80>
WSGIScriptAlias / <absolute-path-to-.wsgi-file>
ServerName <some-server-alias>
Alias /static <absolute-path-to-the-django-project-static-files-folder>
<Directory <absolute-path-of-the-django-project-directory> >
Order allow,deny
Allow from all
</Directory>
</VirtualHost>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment