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>
|
||||
|
||||
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>
|
||||
|
|
|
@ -58,8 +58,8 @@ no more than two lines bear that license.
|
|||
|
||||
** Source
|
||||
|
||||
If you wish to use [[/projects/mege/][mege]] for a website, you may wish to use metanohi as a
|
||||
template.
|
||||
If you wish to use [[/projects/mege/][mege]] for a new website (I wouldn't), you may wish to use
|
||||
metanohi as a template.
|
||||
|
||||
Get the main site:
|
||||
: $ git clone git://metanohi.name/metanohi-metanohi
|
||||
|
@ -67,6 +67,11 @@ Get the main site:
|
|||
Get the subsites:
|
||||
: $ 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
|
||||
|
||||
|
@ -78,8 +83,7 @@ undefined purposes.
|
|||
|
||||
*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
|
||||
projects from 2009 and 2010 appear to have been created in July or
|
||||
August, 2011.
|
||||
projects from 2009 and 2010 appear to have been created in July or August, 2011.
|
||||
|
||||
*** "Why the name?"
|
||||
|
||||
|
@ -120,3 +124,7 @@ should do).
|
|||
|
||||
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