Fixed Apache config and wrote about it.
This commit is contained in:
@@ -1,8 +1,12 @@
|
||||
WSGIDaemonProcess metanohi.name processes=2 threads=5 display-name=%{GROUP}
|
||||
WSGIProcessGroup metanohi.name
|
||||
WSGIScriptAlias / /home/niels/www/meta/nohi/nohi.wsgi
|
||||
|
||||
<VirtualHost *:80>
|
||||
|
||||
ServerName metanohi.name
|
||||
ServerAlias metanohi.name www.metanohi.name nohi.lcl
|
||||
ServerAdmin ns@metanohi.name
|
||||
ServerAdmin ngws@metanohi.name
|
||||
|
||||
DocumentRoot /home/niels/www/meta/nohi
|
||||
|
||||
@@ -20,11 +24,6 @@
|
||||
Allow from all
|
||||
</Directory>
|
||||
|
||||
WSGIDaemonProcess metanohi.name processes=2 threads=5 display-name=%{GROUP}
|
||||
WSGIProcessGroup metanohi.name
|
||||
|
||||
WSGIScriptAlias / /home/niels/www/meta/nohi/nohi.wsgi
|
||||
|
||||
ScriptAlias /cgi-bin/ /usr/lib/cgi-bin/
|
||||
|
||||
LogLevel warn
|
||||
@@ -37,7 +36,7 @@
|
||||
|
||||
ServerName metanohi.name
|
||||
ServerAlias metanohi.name www.metanohi.name nohi.lcl
|
||||
ServerAdmin ns@metanohi.name
|
||||
ServerAdmin ngws@metanohi.name
|
||||
|
||||
DocumentRoot /home/niels/www/meta/nohi
|
||||
|
||||
@@ -55,11 +54,6 @@
|
||||
Allow from all
|
||||
</Directory>
|
||||
|
||||
WSGIDaemonProcess metanohi.name processes=2 threads=5 display-name=%{GROUP}
|
||||
WSGIProcessGroup metanohi.name
|
||||
|
||||
WSGIScriptAlias / /home/niels/www/meta/nohi/nohi.wsgi
|
||||
|
||||
ScriptAlias /cgi-bin/ /usr/lib/cgi-bin/
|
||||
|
||||
LogLevel warn
|
||||
@@ -67,8 +61,8 @@
|
||||
CustomLog /var/log/apache2/metanohi.name-access.log combined
|
||||
|
||||
SSLEngine on
|
||||
SSLCertificateFile /home/niels/www/meta/nohi/metanohi_server.pem
|
||||
SSLCertificateKeyFile /home/niels/www/meta/nohi/metanohi_privatekey.pem
|
||||
SSLCertificateFile /home/niels/www/meta/metanohi_server.pem
|
||||
SSLCertificateKeyFile /home/niels/www/meta/metanohi_privatekey.pem
|
||||
SSLCipherSuite HIGH
|
||||
SSLProtocol all -SSLv2
|
||||
</VirtualHost>
|
||||
|
||||
Reference in New Issue
Block a user