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>
how to configure apache virtual host to get: