wsgi stuff working with apache 2.4
This commit is contained in:
parent
6ec0aa5245
commit
7d55a502b8
@ -21,15 +21,14 @@ WSGIProcessGroup metanohi.name
|
|||||||
WSGIScriptAlias / /home/niels/www/meta/nohi/nohi.wsgi
|
WSGIScriptAlias / /home/niels/www/meta/nohi/nohi.wsgi
|
||||||
|
|
||||||
<Directory /home/niels/www/meta/nohi>
|
<Directory /home/niels/www/meta/nohi>
|
||||||
Order allow,deny
|
Require all granted
|
||||||
Allow from all
|
|
||||||
</Directory>
|
</Directory>
|
||||||
|
|
||||||
ScriptAlias /cgi-bin/ /usr/lib/cgi-bin/
|
ScriptAlias /cgi-bin/ /usr/lib/cgi-bin/
|
||||||
|
|
||||||
LogLevel warn
|
LogLevel warn
|
||||||
ErrorLog /var/log/apache2/metanohi.name-error.log
|
ErrorLog /var/log/httpd/metanohi.name-error.log
|
||||||
CustomLog /var/log/apache2/metanohi.name-access.log combined
|
CustomLog /var/log/httpd/metanohi.name-access.log combined
|
||||||
|
|
||||||
</VirtualHost>
|
</VirtualHost>
|
||||||
|
|
||||||
@ -53,15 +52,14 @@ WSGIProcessGroup metanohi.name
|
|||||||
WSGIScriptAlias / /home/niels/www/meta/nohi/nohi.wsgi
|
WSGIScriptAlias / /home/niels/www/meta/nohi/nohi.wsgi
|
||||||
|
|
||||||
<Directory /home/niels/www/meta/nohi>
|
<Directory /home/niels/www/meta/nohi>
|
||||||
Order allow,deny
|
Require all granted
|
||||||
Allow from all
|
|
||||||
</Directory>
|
</Directory>
|
||||||
|
|
||||||
ScriptAlias /cgi-bin/ /usr/lib/cgi-bin/
|
ScriptAlias /cgi-bin/ /usr/lib/cgi-bin/
|
||||||
|
|
||||||
LogLevel warn
|
LogLevel warn
|
||||||
ErrorLog /var/log/apache2/metanohi.name-error.log
|
ErrorLog /var/log/httpd/metanohi.name-error.log
|
||||||
CustomLog /var/log/apache2/metanohi.name-access.log combined
|
CustomLog /var/log/httpd/metanohi.name-access.log combined
|
||||||
|
|
||||||
SSLEngine on
|
SSLEngine on
|
||||||
SSLCertificateFile /home/niels/www/meta/metanohi_server.pem
|
SSLCertificateFile /home/niels/www/meta/metanohi_server.pem
|
||||||
|
@ -10,4 +10,5 @@ sys.path.insert(0, _filedir)
|
|||||||
import mege.wsgi
|
import mege.wsgi
|
||||||
|
|
||||||
os.chdir(_filedir)
|
os.chdir(_filedir)
|
||||||
|
|
||||||
application = mege.wsgi.create_application()
|
application = mege.wsgi.create_application()
|
||||||
|
Loading…
x
Reference in New Issue
Block a user