Config on centos7 apache in subdir

From: bw <bwakkie(at)gmail(dot)com>
To: PgAdmin Support List <pgadmin-support(at)lists(dot)postgresql(dot)org>
Subject: Config on centos7 apache in subdir
Date: 2022-08-19 08:08:28
Message-ID: CAKqYf_LTryfv7tohRO4SZiHjj=u8+Wcszkidmk=KEs-8xfv9jw@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgadmin-support

Dear all,

I am trying to configure pgadmin4 in a subdir on an old server centos7 with
Apache 2.4.6
Pgadmin4 is running in a virtual environment and installed via pip in it. I
would like to use mod_proxy but I keep having problems with static links.
Redirecting all /static to the virtual environment is not an option as I
also have other apps with use /static in the future.
Does anyone have a running setup running pgadmin4 in a subdir like :
https://my.domain.name/database

If I use..

ProxyPass /database/ http://localhost:8080/
ProxyPassReverse /database/ http://localhost:8080/

... inside my VirtualHost. The application is running when using the localhost.
But in the subdir all images and scripts are not rewritten where I
expected ProxyPassReverse to rewrite the links.

What am I missing?

Thanks,

Bastiaan

... I get redirected

Responses

Browse pgadmin-support by date

  From Date Subject
Next Message Peter Gervai 2022-08-20 13:18:43 edit data problems: entering data, entering default
Previous Message Didier Gasser-Morlay 2022-08-18 13:53:37 Re: PgAdmin ERD tool question