Skip to content

Instantly share code, notes, and snippets.

@anniethiessen
Created January 21, 2021 21:11
Show Gist options
  • Select an option

  • Save anniethiessen/5da6d73f297e7fa43d3dc721b42de68e to your computer and use it in GitHub Desktop.

Select an option

Save anniethiessen/5da6d73f297e7fa43d3dc721b42de68e to your computer and use it in GitHub Desktop.
Apache config
# /etc/apache2/extra/httpd-vhosts.conf
<VirtualHost *:80>
ServerAdmin [email protected]
DocumentRoot "/usr/docs/dummy-host.example.com"
ServerName dummy-host.example.com
ServerAlias www.dummy-host.example.com
ErrorLog "/private/var/log/apache2/dummy-host.example.com-error_log"
CustomLog "/private/var/log/apache2/dummy-host.example.com-access_log" common
WSGIPassAuthorization On
</VirtualHost>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment