Fix WSGI support.

This commit is contained in:
Dave Page
2016-08-18 13:43:00 +01:00
parent 48a50ce20b
commit 050937a32a
4 changed files with 45 additions and 17 deletions

View File

@@ -71,7 +71,7 @@ application may be configured similarly to the example below:
<VirtualHost *>
ServerName pgadmin.example.com
WSGIDaemonProcess pgadmin processes=1
WSGIDaemonProcess pgadmin processes=1 threads=25
WSGIScriptAlias / /opt/pgAdmin4/web/pgAdmin4.wsgi
<Directory /opt/pgAdmin4/web>
@@ -80,4 +80,19 @@ application may be configured similarly to the example below:
Order deny,allow
Allow from all
</Directory>
</VirtualHost>
</VirtualHost>
**Note:** If you're using Apache HTTPD 2.4 or later, replace the lines:
.. code-block:: apache
Order deny,allow
Allow from all
with:
.. code-block:: apache
Require all granted
Adjust as needed to suit your access control requirements.