diff --git a/apache-config b/apache-config
index 883a7c1..188b39e 100644
--- a/apache-config
+++ b/apache-config
@@ -21,15 +21,14 @@ WSGIProcessGroup metanohi.name
WSGIScriptAlias / /home/niels/www/meta/nohi/nohi.wsgi
- Order allow,deny
- Allow from all
+ Require all granted
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
+ ErrorLog /var/log/httpd/metanohi.name-error.log
+ CustomLog /var/log/httpd/metanohi.name-access.log combined
@@ -53,15 +52,14 @@ WSGIProcessGroup metanohi.name
WSGIScriptAlias / /home/niels/www/meta/nohi/nohi.wsgi
- Order allow,deny
- Allow from all
+ Require all granted
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
+ ErrorLog /var/log/httpd/metanohi.name-error.log
+ CustomLog /var/log/httpd/metanohi.name-access.log combined
SSLEngine on
SSLCertificateFile /home/niels/www/meta/metanohi_server.pem
diff --git a/nohi.wsgi b/nohi.wsgi
index 5ae813f..3068321 100644
--- a/nohi.wsgi
+++ b/nohi.wsgi
@@ -10,4 +10,5 @@ sys.path.insert(0, _filedir)
import mege.wsgi
os.chdir(_filedir)
+
application = mege.wsgi.create_application()