apache virtualhost - Mailing list pgadmin-support

From Abdeldjalil FELLAH
Subject apache virtualhost
Date
Msg-id CANtGru5-whXJHzxksv+Hca-V9t7n4VSrr5W4oonfSxAzcf36Sw@mail.gmail.com
Whole thread Raw
Responses Re: apache virtualhost
List pgadmin-support
on centos8 and apache2.4 I installed postgres13 and pgadmin4 and a php application

I configured single virtualhost as follow:

<VirtualHost *:80>
     DocumentRoot /var/www/myapp1/public

     <Directory /var/www/myapp1>
          AllowOverride All
     </Directory>
 
     LoadModule wsgi_module modules/mod_wsgi.so
     WSGIDaemonProcess pgadmin processes=1 threads=25
     WSGIScriptAlias /pgadmin4 /usr/lib/python3.6/site-packages/pgadmin4-web/pgAdmin4.wsgi

     <Location /pgadmin4>
          WSGIProcessGroup pgadmin
          WSGIApplicationGroup %{GLOBAL}
          Require all granted
     </Location>
</VirtualHost>

myapp1 works well on http://MY_PUBLIC_IP/
but when I try to get pgadmin web interface at http://MY_PUBLIC_IP/pgadmin4 I got internal server error.

how to configure apache virtual host to get:


or pgadmin4 at http://MY_PUBLIC_IP:50050/ and myapp1 at  http://MY_PUBLIC_IP/

pgadmin-support by date:

Previous
From: Akshay Joshi
Date:
Subject: Re: pg Admin 4 v4.28 Errors on launch
Next
From: "Penengo, Massimo"
Date:
Subject: not show Backup/Restore in progress