metanohi/apache-config

70 lines
2.4 KiB
Plaintext
Raw Normal View History

WSGIDaemonProcess metanohi.name processes=2 threads=5 display-name=%{GROUP}
WSGIProcessGroup metanohi.name
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
2013-01-02 22:45:24 +01:00
WSGIScriptAlias / /home/niels/www/meta/nohi/nohi.wsgi
2011-08-11 00:00:52 +02:00
<Directory /home/niels/www/meta/nohi>
2014-08-01 15:24:01 +02:00
Require all granted
2011-08-11 00:00:52 +02:00
</Directory>
ScriptAlias /cgi-bin/ /usr/lib/cgi-bin/
LogLevel warn
2014-08-01 15:24:01 +02:00
ErrorLog /var/log/httpd/metanohi.name-error.log
CustomLog /var/log/httpd/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
2013-01-02 22:45:24 +01:00
WSGIScriptAlias / /home/niels/www/meta/nohi/nohi.wsgi
2013-01-02 15:31:43 +01:00
<Directory /home/niels/www/meta/nohi>
2014-08-01 15:24:01 +02:00
Require all granted
2013-01-02 15:31:43 +01:00
</Directory>
ScriptAlias /cgi-bin/ /usr/lib/cgi-bin/
LogLevel warn
2014-08-01 15:24:01 +02:00
ErrorLog /var/log/httpd/metanohi.name-error.log
CustomLog /var/log/httpd/metanohi.name-access.log combined
2013-01-02 15:31:43 +01:00
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>