Fixed Apache config and wrote about it.
This commit is contained in:
parent
0eea96068c
commit
fab5dc84ea
|
@ -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>
|
<VirtualHost *:80>
|
||||||
|
|
||||||
ServerName metanohi.name
|
ServerName metanohi.name
|
||||||
ServerAlias metanohi.name www.metanohi.name nohi.lcl
|
ServerAlias metanohi.name www.metanohi.name nohi.lcl
|
||||||
ServerAdmin ns@metanohi.name
|
ServerAdmin ngws@metanohi.name
|
||||||
|
|
||||||
DocumentRoot /home/niels/www/meta/nohi
|
DocumentRoot /home/niels/www/meta/nohi
|
||||||
|
|
||||||
|
@ -20,11 +24,6 @@
|
||||||
Allow from all
|
Allow from all
|
||||||
</Directory>
|
</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/
|
ScriptAlias /cgi-bin/ /usr/lib/cgi-bin/
|
||||||
|
|
||||||
LogLevel warn
|
LogLevel warn
|
||||||
|
@ -37,7 +36,7 @@
|
||||||
|
|
||||||
ServerName metanohi.name
|
ServerName metanohi.name
|
||||||
ServerAlias metanohi.name www.metanohi.name nohi.lcl
|
ServerAlias metanohi.name www.metanohi.name nohi.lcl
|
||||||
ServerAdmin ns@metanohi.name
|
ServerAdmin ngws@metanohi.name
|
||||||
|
|
||||||
DocumentRoot /home/niels/www/meta/nohi
|
DocumentRoot /home/niels/www/meta/nohi
|
||||||
|
|
||||||
|
@ -55,11 +54,6 @@
|
||||||
Allow from all
|
Allow from all
|
||||||
</Directory>
|
</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/
|
ScriptAlias /cgi-bin/ /usr/lib/cgi-bin/
|
||||||
|
|
||||||
LogLevel warn
|
LogLevel warn
|
||||||
|
@ -67,8 +61,8 @@
|
||||||
CustomLog /var/log/apache2/metanohi.name-access.log combined
|
CustomLog /var/log/apache2/metanohi.name-access.log combined
|
||||||
|
|
||||||
SSLEngine on
|
SSLEngine on
|
||||||
SSLCertificateFile /home/niels/www/meta/nohi/metanohi_server.pem
|
SSLCertificateFile /home/niels/www/meta/metanohi_server.pem
|
||||||
SSLCertificateKeyFile /home/niels/www/meta/nohi/metanohi_privatekey.pem
|
SSLCertificateKeyFile /home/niels/www/meta/metanohi_privatekey.pem
|
||||||
SSLCipherSuite HIGH
|
SSLCipherSuite HIGH
|
||||||
SSLProtocol all -SSLv2
|
SSLProtocol all -SSLv2
|
||||||
</VirtualHost>
|
</VirtualHost>
|
||||||
|
|
|
@ -58,8 +58,8 @@ no more than two lines bear that license.
|
||||||
|
|
||||||
** Source
|
** Source
|
||||||
|
|
||||||
If you wish to use [[/projects/mege/][mege]] for a website, you may wish to use metanohi as a
|
If you wish to use [[/projects/mege/][mege]] for a new website (I wouldn't), you may wish to use
|
||||||
template.
|
metanohi as a template.
|
||||||
|
|
||||||
Get the main site:
|
Get the main site:
|
||||||
: $ git clone git://metanohi.name/metanohi-metanohi
|
: $ git clone git://metanohi.name/metanohi-metanohi
|
||||||
|
@ -67,6 +67,11 @@ Get the main site:
|
||||||
Get the subsites:
|
Get the subsites:
|
||||||
: $ git clone git://metanohi.name/metanohi-meta
|
: $ git clone git://metanohi.name/metanohi-meta
|
||||||
|
|
||||||
|
** SSL/TLS
|
||||||
|
|
||||||
|
You can access metanohi from HTTPS. metanohi uses a [[http://cacert.org][CAcert]]. To make your browser
|
||||||
|
automatically accept CAcerts, follow the instructions on [[https://wiki.cacert.org/FAQ/BrowserClients][CAcerts wiki]]; it
|
||||||
|
doesn't take long.
|
||||||
|
|
||||||
** History
|
** History
|
||||||
|
|
||||||
|
@ -78,8 +83,7 @@ undefined purposes.
|
||||||
|
|
||||||
*Note:* While most of the content from the old metanohi has been ported to this
|
*Note:* While most of the content from the old metanohi has been ported to this
|
||||||
improved version, the modification times have not been saved. This is why old
|
improved version, the modification times have not been saved. This is why old
|
||||||
projects from 2009 and 2010 appear to have been created in July or
|
projects from 2009 and 2010 appear to have been created in July or August, 2011.
|
||||||
August, 2011.
|
|
||||||
|
|
||||||
*** "Why the name?"
|
*** "Why the name?"
|
||||||
|
|
||||||
|
@ -120,3 +124,7 @@ should do).
|
||||||
|
|
||||||
It's probably just as easy to change in other web browsers.
|
It's probably just as easy to change in other web browsers.
|
||||||
|
|
||||||
|
** Comments
|
||||||
|
|
||||||
|
Pages on metanohi currently do not support comments, but I can be contacted at
|
||||||
|
my email address. A comment system might appear if I find it necessary.
|
||||||
|
|
Loading…
Reference in New Issue