|
<VirtualHost *:80>
|
|
Redirect permanent / https://10.0.0.6
|
|
</VirtualHost>
|
|
|
|
<VirtualHost _default_:443>
|
|
ServerAdmin webmaster@localhost
|
|
|
|
DocumentRoot /var/www
|
|
<Directory />
|
|
Options FollowSymLinks
|
|
AllowOverride None
|
|
</Directory>
|
|
<Directory /var/www/>
|
|
Options Indexes FollowSymLinks MultiViews
|
|
AllowOverride None
|
|
Order allow,deny
|
|
Allow from all
|
|
</Directory>
|
|
|
|
Alias /htdocs /var/htdocs
|
|
<Directory /var/htdocs>
|
|
Order allow,deny
|
|
Allow from all
|
|
</Directory>
|
|
|
|
WSGIScriptAlias /bfcs /home/dsorber/bfcs/app.wsgi
|
|
|
|
ErrorDocument 403 /error_pages/404.html
|
|
ErrorDocument 404 /error_pages/404.html
|
|
|
|
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
|
|
SSLEngine On
|
|
SSLCertificateFile /etc/apache2/ssl/server.crt
|
|
SSLCertificateKeyFile /etc/apache2/ssl/server.key
|
|
SSLProtocol -all +TLSv1
|
|
SetEnvIf User-Agent ".*MSIE.*" nokeepalive ssl-unclean-shutdown
|
|
</VirtualHost>
|