wsgi stuff working with apache 2.4

This commit is contained in:
Niels G. W. Serup 2014-08-01 15:24:01 +02:00
parent 6ec0aa5245
commit 7d55a502b8
2 changed files with 7 additions and 8 deletions

View File

@ -21,15 +21,14 @@ WSGIProcessGroup metanohi.name
WSGIScriptAlias / /home/niels/www/meta/nohi/nohi.wsgi
<Directory /home/niels/www/meta/nohi>
Order allow,deny
Allow from all
Require all granted
</Directory>
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
</VirtualHost>
@ -53,15 +52,14 @@ WSGIProcessGroup metanohi.name
WSGIScriptAlias / /home/niels/www/meta/nohi/nohi.wsgi
<Directory /home/niels/www/meta/nohi>
Order allow,deny
Allow from all
Require all granted
</Directory>
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

View File

@ -10,4 +10,5 @@ sys.path.insert(0, _filedir)
import mege.wsgi
os.chdir(_filedir)
application = mege.wsgi.create_application()