Updated to support HTTPS.

This commit is contained in:
Niels G. W. Serup 2013-01-02 22:23:14 +01:00
parent 8f6b89a5cc
commit 2dd5aa6b1d
11 changed files with 309 additions and 17 deletions

View File

@ -1,8 +1,12 @@
WSGIDaemonProcess films.metanohi.name processes=2 threads=3 display-name=%{GROUP}
WSGIProcessGroup films.metanohi.name
WSGIScriptAlias / /home/niels/www/meta/subsites/films/films.wsgi
<VirtualHost *:80>
ServerName films.metanohi.name
ServerAlias www.films.metanohi.name films.lcl
ServerAdmin ns@metanohi.name
ServerAdmin ngws@metanohi.name
DocumentRoot /home/niels/www/meta/subsites/films
@ -20,13 +24,42 @@
Allow from all
</Directory>
WSGIDaemonProcess films.metanohi.name processes=2 threads=3 display-name=%{GROUP}
WSGIProcessGroup films.metanohi.name
WSGIScriptAlias / /home/niels/www/meta/subsites/films/films.wsgi
LogLevel warn
ErrorLog /var/log/apache2/films.metanohi.name-error.log
CustomLog /var/log/apache2/films.metanohi.name-access.log combined
</VirtualHost>
<VirtualHost *:443>
ServerName films.metanohi.name
ServerAlias www.films.metanohi.name films.lcl
ServerAdmin ngws@metanohi.name
DocumentRoot /home/niels/www/meta/subsites/films
Alias /robots.txt /home/niels/www/meta/subsites/films/robots.txt
Alias /favicon.ico /home/niels/www/meta/subsites/films/favicon.ico
Alias /favicon.png /home/niels/www/meta/subsites/films/favicon.png
Alias /static /home/niels/www/meta/subsites/films/static
Alias /previews /home/niels/www/meta/subsites/films/previews
Alias /films /home/niels/www/meta/heavy/films
Alias /films.wsgi /home/niels/www/meta/subsites/films/films.wsgi
Alias /apache-config-template /home/niels/www/meta/subsites/films/apache-config-template
<Directory /home/niels/www/meta/subsites/films>
Order allow,deny
Allow from all
</Directory>
LogLevel warn
ErrorLog /var/log/apache2/films.metanohi.name-error.log
CustomLog /var/log/apache2/films.metanohi.name-access.log combined
SSLEngine on
SSLCertificateFile /home/niels/www/meta/metanohi_server.pem
SSLCertificateKeyFile /home/niels/www/meta/metanohi_privatekey.pem
SSLCipherSuite HIGH
SSLProtocol all -SSLv2
</VirtualHost>

View File

@ -1,7 +1,7 @@
<VirtualHost *:80>
ServerName hvy.metanohi.name
ServerAlias www.hvy.metanohi.name hvy.lcl
ServerAdmin ns@metanohi.name
ServerAdmin ngws@metanohi.name
DocumentRoot /home/niels/www/meta/heavy
<Directory /home/niels/www/meta/heavy/>
@ -16,3 +16,28 @@
CustomLog /var/log/apache2/hvy.metanohi.name-access.log combined
</VirtualHost>
<VirtualHost *:443>
ServerName hvy.metanohi.name
ServerAlias www.hvy.metanohi.name hvy.lcl
ServerAdmin ngws@metanohi.name
DocumentRoot /home/niels/www/meta/heavy
<Directory /home/niels/www/meta/heavy/>
Options Indexes Includes FollowSymLinks MultiViews
AllowOverride All
Order allow,deny
allow from all
</Directory>
LogLevel warn
ErrorLog /var/log/apache2/hvy.metanohi.name-error.log
CustomLog /var/log/apache2/hvy.metanohi.name-access.log combined
SSLEngine on
SSLCertificateFile /home/niels/www/meta/metanohi_server.pem
SSLCertificateKeyFile /home/niels/www/meta/metanohi_privatekey.pem
SSLCipherSuite HIGH
SSLProtocol all -SSLv2
</VirtualHost>

View File

@ -1,8 +1,12 @@
WSGIDaemonProcess lunchuman.metanohi.name processes=1 threads=1 display-name=%{GROUP}
WSGIProcessGroup lunchuman.metanohi.name
WSGIScriptAlias / /home/niels/www/meta/subsites/lunchuman/lunchuman.wsgi
<VirtualHost *:80>
ServerName datalosjen.metanohi.name
ServerAlias www.datalosjen.metanohi.name datalosjen.lcl
ServerAdmin ns@metanohi.name
ServerAdmin ngws@metanohi.name
DocumentRoot /home/niels/www/meta/subsites/lunchuman
@ -19,13 +23,41 @@
Allow from all
</Directory>
WSGIDaemonProcess lunchuman.metanohi.name processes=1 threads=1 display-name=%{GROUP}
WSGIProcessGroup lunchuman.metanohi.name
WSGIScriptAlias / /home/niels/www/meta/subsites/lunchuman/lunchuman.wsgi
LogLevel warn
ErrorLog /var/log/apache2/lunchuman.metanohi.name-error.log
CustomLog /var/log/apache2/lunchuman.metanohi.name-access.log combined
</VirtualHost>
<VirtualHost *:443>
ServerName datalosjen.metanohi.name
ServerAlias www.datalosjen.metanohi.name datalosjen.lcl
ServerAdmin ngws@metanohi.name
DocumentRoot /home/niels/www/meta/subsites/lunchuman
Alias /robots.txt /home/niels/www/meta/subsites/lunchuman/robots.txt
Alias /favicon.ico /home/niels/www/meta/subsites/lunchuman/favicon.ico
Alias /favicon.png /home/niels/www/meta/subsites/lunchuman/favicon.png
Alias /static /home/niels/www/meta/subsites/lunchuman/static
Alias /media /home/niels/www/meta/subsites/lunchuman/media
Alias /lunchuman.wsgi /home/niels/www/meta/subsites/lunchuman/lunchuman.wsgi
Alias /apache-config-template /home/niels/www/meta/subsites/lunchuman/apache-config-template
<Directory /home/niels/www/meta/subsites/lunchuman>
Order allow,deny
Allow from all
</Directory>
LogLevel warn
ErrorLog /var/log/apache2/lunchuman.metanohi.name-error.log
CustomLog /var/log/apache2/lunchuman.metanohi.name-access.log combined
SSLEngine on
SSLCertificateFile /home/niels/www/meta/metanohi_server.pem
SSLCertificateKeyFile /home/niels/www/meta/metanohi_privatekey.pem
SSLCipherSuite HIGH
SSLProtocol all -SSLv2
</VirtualHost>

View File

@ -1,7 +1,7 @@
<VirtualHost *:80>
ServerName natur.metanohi.name
ServerAlias www.natur.metanohi.name nature.metanohi.name www.nature.metanohi.name natur.lcl
ServerAdmin ns@metanohi.name
ServerAdmin ngws@metanohi.name
Alias /vid /home/niels/www/meta/heavy/naturefilms
@ -18,3 +18,30 @@
CustomLog /var/log/apache2/natur.metanohi.name-access.log combined
</VirtualHost>
<VirtualHost *:443>
ServerName natur.metanohi.name
ServerAlias www.natur.metanohi.name nature.metanohi.name www.nature.metanohi.name natur.lcl
ServerAdmin ngws@metanohi.name
Alias /vid /home/niels/www/meta/heavy/naturefilms
DocumentRoot /home/niels/www/meta/subsites/natur
<Directory /home/niels/www/meta/subsites/natur/>
Options Indexes Includes FollowSymLinks MultiViews
AllowOverride All
Order allow,deny
allow from all
</Directory>
LogLevel warn
ErrorLog /var/log/apache2/natur.metanohi.name-error.log
CustomLog /var/log/apache2/natur.metanohi.name-access.log combined
SSLEngine on
SSLCertificateFile /home/niels/www/meta/metanohi_server.pem
SSLCertificateKeyFile /home/niels/www/meta/metanohi_privatekey.pem
SSLCipherSuite HIGH
SSLProtocol all -SSLv2
</VirtualHost>

View File

@ -1,7 +1,7 @@
<VirtualHost *:80>
ServerName nohix.metanohi.name
ServerAlias www.nohix.metanohi.name nohix.lcl
ServerAdmin ns@metanohi.name
ServerAdmin ngws@metanohi.name
DocumentRoot /home/niels/www/meta/subsites/nohix
<Directory /home/niels/www/meta/subsites/nohix/>
@ -16,3 +16,28 @@
CustomLog /var/log/apache2/nohix.metanohi.name-access.log combined
</VirtualHost>
<VirtualHost *:443>
ServerName nohix.metanohi.name
ServerAlias www.nohix.metanohi.name nohix.lcl
ServerAdmin ngws@metanohi.name
DocumentRoot /home/niels/www/meta/subsites/nohix
<Directory /home/niels/www/meta/subsites/nohix/>
Options Indexes Includes FollowSymLinks MultiViews
AllowOverride All
Order allow,deny
allow from all
</Directory>
LogLevel warn
ErrorLog /var/log/apache2/nohix.metanohi.name-error.log
CustomLog /var/log/apache2/nohix.metanohi.name-access.log combined
SSLEngine on
SSLCertificateFile /home/niels/www/meta/metanohi_server.pem
SSLCertificateKeyFile /home/niels/www/meta/metanohi_privatekey.pem
SSLCipherSuite HIGH
SSLProtocol all -SSLv2
</VirtualHost>

View File

@ -1,7 +1,7 @@
<VirtualHost *:80>
ServerName old.projects.metanohi.name
ServerAlias www.old.projects.metanohi.name old.projects.lcl
ServerAdmin ns@metanohi.name
ServerAdmin ngws@metanohi.name
DocumentRoot /home/niels/www/meta/subsites/oldsites
<Directory /home/niels/www/meta/subsites/oldsites/>
@ -15,5 +15,29 @@
ErrorLog /var/log/apache2/old.projects.metanohi.name-error.log
CustomLog /var/log/apache2/old.projects.metanohi.name-access.log combined
</VirtualHost>
<VirtualHost *:443>
ServerName old.projects.metanohi.name
ServerAlias www.old.projects.metanohi.name old.projects.lcl
ServerAdmin ngws@metanohi.name
DocumentRoot /home/niels/www/meta/subsites/oldsites
<Directory /home/niels/www/meta/subsites/oldsites/>
Options Indexes Includes FollowSymLinks MultiViews
AllowOverride All
Order allow,deny
allow from all
</Directory>
LogLevel warn
ErrorLog /var/log/apache2/old.projects.metanohi.name-error.log
CustomLog /var/log/apache2/old.projects.metanohi.name-access.log combined
SSLEngine on
SSLCertificateFile /home/niels/www/meta/metanohi_server.pem
SSLCertificateKeyFile /home/niels/www/meta/metanohi_privatekey.pem
SSLCipherSuite HIGH
SSLProtocol all -SSLv2
</VirtualHost>

View File

@ -1,7 +1,7 @@
<VirtualHost *:80>
ServerName pictures.metanohi.name
ServerAlias www.pictures.metanohi.name pictures.lcl
ServerAdmin ns@metanohi.name
ServerAdmin ngws@metanohi.name
DocumentRoot /home/niels/www/meta/subsites/pictures
<Directory /home/niels/www/meta/subsites/pictures/>
@ -16,3 +16,28 @@
CustomLog /var/log/apache2/pictures.metanohi.name-access.log combined
</VirtualHost>
<VirtualHost *:80>
ServerName pictures.metanohi.name
ServerAlias www.pictures.metanohi.name pictures.lcl
ServerAdmin ngws@metanohi.name
DocumentRoot /home/niels/www/meta/subsites/pictures
<Directory /home/niels/www/meta/subsites/pictures/>
Options Indexes Includes FollowSymLinks MultiViews
AllowOverride All
Order allow,deny
allow from all
</Directory>
LogLevel warn
ErrorLog /var/log/apache2/pictures.metanohi.name-error.log
CustomLog /var/log/apache2/pictures.metanohi.name-access.log combined
SSLEngine on
SSLCertificateFile /home/niels/www/meta/metanohi_server.pem
SSLCertificateKeyFile /home/niels/www/meta/metanohi_privatekey.pem
SSLCipherSuite HIGH
SSLProtocol all -SSLv2
</VirtualHost>

View File

@ -2,7 +2,7 @@
ServerName projects.metanohi.name
ServerAlias www.projects.metanohi.name projects.lcl
ServerAdmin ns@metanohi.name
ServerAdmin ngws@metanohi.name
DocumentRoot /home/niels/www/meta/subsites/projects
<Directory /home/niels/www/meta/subsites/projects/>
@ -17,3 +17,29 @@
CustomLog /var/log/apache2/projects.metanohi.name-access.log combined
</VirtualHost>
<VirtualHost *:443>
ServerName projects.metanohi.name
ServerAlias www.projects.metanohi.name projects.lcl
ServerAdmin ngws@metanohi.name
DocumentRoot /home/niels/www/meta/subsites/projects
<Directory /home/niels/www/meta/subsites/projects/>
Options Indexes Includes FollowSymLinks MultiViews
AllowOverride All
Order allow,deny
allow from all
</Directory>
LogLevel warn
ErrorLog /var/log/apache2/projects.metanohi.name-error.log
CustomLog /var/log/apache2/projects.metanohi.name-access.log combined
SSLEngine on
SSLCertificateFile /home/niels/www/meta/metanohi_server.pem
SSLCertificateKeyFile /home/niels/www/meta/metanohi_privatekey.pem
SSLCipherSuite HIGH
SSLProtocol all -SSLv2
</VirtualHost>

View File

@ -1,7 +1,7 @@
<VirtualHost *:80>
ServerName roptoligs.metanohi.name
ServerAlias www.roptoligs.metanohi.name roptoligs.lcl
ServerAdmin ns@metanohi.name
ServerAdmin ngws@metanohi.name
DocumentRoot /home/niels/www/meta/subsites/roptoligs
<Directory /home/niels/www/meta/subsites/roptoligs/>
@ -16,3 +16,28 @@
CustomLog /var/log/apache2/roptoligs.metanohi.name-access.log combined
</VirtualHost>
<VirtualHost *:443>
ServerName roptoligs.metanohi.name
ServerAlias www.roptoligs.metanohi.name roptoligs.lcl
ServerAdmin ngws@metanohi.name
DocumentRoot /home/niels/www/meta/subsites/roptoligs
<Directory /home/niels/www/meta/subsites/roptoligs/>
Options Indexes Includes FollowSymLinks MultiViews
AllowOverride All
Order allow,deny
allow from all
</Directory>
LogLevel warn
ErrorLog /var/log/apache2/roptoligs.metanohi.name-error.log
CustomLog /var/log/apache2/roptoligs.metanohi.name-access.log combined
SSLEngine on
SSLCertificateFile /home/niels/www/meta/metanohi_server.pem
SSLCertificateKeyFile /home/niels/www/meta/metanohi_privatekey.pem
SSLCipherSuite HIGH
SSLProtocol all -SSLv2
</VirtualHost>

View File

@ -1,7 +1,7 @@
<VirtualHost *:80>
ServerName suum.metanohi.name
ServerAlias www.suum.metanohi.name suum.lcl
ServerAdmin ns@metanohi.name
ServerAdmin ngws@metanohi.name
DocumentRoot /home/niels/www/meta/subsites/suum
<Directory /home/niels/www/meta/subsites/suum/>
@ -16,3 +16,28 @@
CustomLog /var/log/apache2/suum.metanohi.name-access.log combined
</VirtualHost>
<VirtualHost *:443>
ServerName suum.metanohi.name
ServerAlias www.suum.metanohi.name suum.lcl
ServerAdmin ngws@metanohi.name
DocumentRoot /home/niels/www/meta/subsites/suum
<Directory /home/niels/www/meta/subsites/suum/>
Options Indexes Includes FollowSymLinks MultiViews
AllowOverride All
Order allow,deny
allow from all
</Directory>
LogLevel warn
ErrorLog /var/log/apache2/suum.metanohi.name-error.log
CustomLog /var/log/apache2/suum.metanohi.name-access.log combined
SSLEngine on
SSLCertificateFile /home/niels/www/meta/metanohi_server.pem
SSLCertificateKeyFile /home/niels/www/meta/metanohi_privatekey.pem
SSLCipherSuite HIGH
SSLProtocol all -SSLv2
</VirtualHost>

View File

@ -1,7 +1,7 @@
<VirtualHost *:80>
ServerName words.metanohi.name
ServerAlias www.words.metanohi.name words.lcl
ServerAdmin ns@metanohi.name
ServerAdmin ngws@metanohi.name
DocumentRoot /home/niels/www/meta/subsites/words
<Directory /home/niels/www/meta/subsites/words/>
@ -16,3 +16,28 @@
CustomLog /var/log/apache2/words.metanohi.name-access.log combined
</VirtualHost>
<VirtualHost *:443>
ServerName words.metanohi.name
ServerAlias www.words.metanohi.name words.lcl
ServerAdmin ngws@metanohi.name
DocumentRoot /home/niels/www/meta/subsites/words
<Directory /home/niels/www/meta/subsites/words/>
Options Indexes Includes FollowSymLinks MultiViews
AllowOverride All
Order allow,deny
allow from all
</Directory>
LogLevel warn
ErrorLog /var/log/apache2/words.metanohi.name-error.log
CustomLog /var/log/apache2/words.metanohi.name-access.log combined
SSLEngine on
SSLCertificateFile /home/niels/www/meta/metanohi_server.pem
SSLCertificateKeyFile /home/niels/www/meta/metanohi_privatekey.pem
SSLCipherSuite HIGH
SSLProtocol all -SSLv2
</VirtualHost>