From: | "O'Connor, Joseph" <joseph(dot)oconnor(at)mecinc(dot)com> |
---|---|
To: | "pgadmin-support(at)lists(dot)postgresql(dot)org" <pgadmin-support(at)lists(dot)postgresql(dot)org> |
Cc: | "pgadmin-support(at)lists(dot)postgresql(dot)org" <pgadmin-support(at)lists(dot)postgresql(dot)org> |
Subject: | RE: Cannot login to pgAdmin4 Web |
Date: | 2021-06-25 15:59:35 |
Message-ID: | MWHPR2201MB10234797E542AC591DF75577E1069@MWHPR2201MB1023.namprd22.prod.outlook.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgadmin-support |
I reconfigured the httpd config and re-setup pgadmin but received the same result.
<VirtualHost *:80>
LoadModule wsgi_module modules/mod_wsgi.so WSGIDaemonProcess pgadmin processes=1 threads=25 python-home=/usr/pgadmin4/venv WSGIScriptAlias /pgadmin4 /usr/pgadmin4/web/pgAdmin4.wsgi
<Directory /usr/pgadmin4/web/>
WSGIProcessGroup pgadmin
WSGIApplicationGroup %{GLOBAL}
<IfModule mod_authz_core.c>
# Apache 2.4
Require all granted
</IfModule>
<IfModule !mod_authz_core.c>
# Apache 2.2
Order Deny,Allow
Allow from All
</IfModule>
</Directory>
</VirtualHost>
Here is a list of the directories related to pgadmim if you could verify that the security is setup correctly:
/var/lib:
drwx------. 4 unconfined_u:object_r:httpd_sys_rw_content_t:s0 apache apache 56 Jun 24 13:29 pgadmin4
/var/lib/pgadmin4:
total 56
-rw-------. 1 unconfined_u:object_r:httpd_sys_rw_content_t:s0 apache apache 56320 Jun 24 13:29 pgadmin4.db
drwx------. 2 unconfined_u:object_r:httpd_sys_rw_content_t:s0 apache apache 50 Jun 24 13:29 sessions
drwxr-xr-x. 2 unconfined_u:object_r:httpd_sys_rw_content_t:s0 apache apache 6 Jun 24 13:24 storage
/var/lib/pgadmin4/sessions:
total 4
-rw-r--r--. 1 system_u:object_r:httpd_sys_rw_content_t:s0 apache apache 368 Jun 24 13:29 2c9742c7-3526-412a-8bcb-65cf6ad2c441
/var/lib/pgadmin4/storage:
total 0
/var/log:
drwxr-xr-x. 2 unconfined_u:object_r:httpd_sys_rw_content_t:s0 apache apache 26 Jun 24 13:24 pgadmin4
/var/log/pgadmin4:
total 0
-rw-r--r--. 1 unconfined_u:object_r:httpd_sys_rw_content_t:s0 apache apache 0 Jun 24 13:24 pgadmin4.log
From | Date | Subject | |
---|---|---|---|
Next Message | James B. Byrne | 2021-06-25 20:25:30 | ERD diagrams |
Previous Message | Dave Page | 2021-06-25 10:58:00 | Re: Cannot login to pgAdmin4 Web |