metanohi/apache-config

69 lines
2.3 KiB
Plaintext
Raw Normal View History

WSGIDaemonProcess metanohi.name processes=2 threads=5 display-name=%{GROUP}
WSGIProcessGroup metanohi.name
WSGIScriptAlias / /home/niels/www/meta/nohi/nohi.wsgi
2011-08-11 00:00:52 +02:00
<VirtualHost *:80>
ServerName metanohi.name
2011-08-12 23:05:10 +02:00
ServerAlias metanohi.name www.metanohi.name nohi.lcl
ServerAdmin ngws@metanohi.name
2011-08-11 00:00:52 +02:00
DocumentRoot /home/niels/www/meta/nohi
Alias /robots.txt /home/niels/www/meta/nohi/extra/robots.txt
Alias /favicon.ico /home/niels/www/meta/nohi/extra/favicon.ico
Alias /favicon.png /home/niels/www/meta/nohi/extra/favicon.png
Alias /atom.xml /home/niels/www/meta/nohi/extra/atom.xml
Alias /feedicon.png /home/niels/www/meta/nohi/extra/feedicon.png
Alias /feedlogo.png /home/niels/www/meta/nohi/extra/feedlogo.png
Alias /static /home/niels/www/meta/nohi/static
Alias /heavy /home/niels/www/meta/nohi/heavy
<Directory /home/niels/www/meta/nohi>
Order allow,deny
Allow from all
</Directory>
ScriptAlias /cgi-bin/ /usr/lib/cgi-bin/
LogLevel warn
2011-08-12 18:02:09 +02:00
ErrorLog /var/log/apache2/metanohi.name-error.log
CustomLog /var/log/apache2/metanohi.name-access.log combined
2011-08-11 00:00:52 +02:00
</VirtualHost>
2011-08-12 18:02:09 +02:00
2013-01-02 15:31:43 +01:00
<VirtualHost *:443>
ServerName metanohi.name
ServerAlias metanohi.name www.metanohi.name nohi.lcl
ServerAdmin ngws@metanohi.name
2013-01-02 15:31:43 +01:00
DocumentRoot /home/niels/www/meta/nohi
Alias /robots.txt /home/niels/www/meta/nohi/extra/robots.txt
Alias /favicon.ico /home/niels/www/meta/nohi/extra/favicon.ico
Alias /favicon.png /home/niels/www/meta/nohi/extra/favicon.png
Alias /atom.xml /home/niels/www/meta/nohi/extra/atom.xml
Alias /feedicon.png /home/niels/www/meta/nohi/extra/feedicon.png
Alias /feedlogo.png /home/niels/www/meta/nohi/extra/feedlogo.png
Alias /static /home/niels/www/meta/nohi/static
Alias /heavy /home/niels/www/meta/nohi/heavy
<Directory /home/niels/www/meta/nohi>
Order allow,deny
Allow from all
</Directory>
ScriptAlias /cgi-bin/ /usr/lib/cgi-bin/
LogLevel warn
ErrorLog /var/log/apache2/metanohi.name-error.log
CustomLog /var/log/apache2/metanohi.name-access.log combined
SSLEngine on
SSLCertificateFile /home/niels/www/meta/metanohi_server.pem
SSLCertificateKeyFile /home/niels/www/meta/metanohi_privatekey.pem
2013-01-02 15:31:43 +01:00
SSLCipherSuite HIGH
SSLProtocol all -SSLv2
</VirtualHost>