Skip to content

Instantly share code, notes, and snippets.

@plajjan
Created April 20, 2017 15:31
Show Gist options
  • Save plajjan/8898e9d5a7325ecc7d006e16de91a0cf to your computer and use it in GitHub Desktop.
Save plajjan/8898e9d5a7325ecc7d006e16de91a0cf to your computer and use it in GitHub Desktop.
root@NIPAP-Demo:~# cat /etc/apache2/sites-available/000-default.conf
<VirtualHost *:80>
ServerAdmin operator@spritelink.net
DocumentRoot /var/www
<Directory />
Options FollowSymLinks
AllowOverride None
</Directory>
<Directory /var/www/>
Options FollowSymLinks MultiViews
AllowOverride None
Order allow,deny
allow from all
</Directory>
WSGIScriptAlias / /etc/nipap/www/nipap-www.wsgi
<Directory /etc/nipap/www>
Require all granted
</Directory>
ErrorLog ${APACHE_LOG_DIR}/error.log
# Possible values include: debug, info, notice, warn, error, crit,
# alert, emerg.
LogLevel warn
CustomLog ${APACHE_LOG_DIR}/access.log combined
</VirtualHost>
root@NIPAP-Demo:~#
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment