From: | Khushboo Vashi <khushboo(dot)vashi(at)enterprisedb(dot)com> |
---|---|
To: | bw <bwakkie(at)gmail(dot)com> |
Cc: | PgAdmin Support List <pgadmin-support(at)lists(dot)postgresql(dot)org> |
Subject: | Re: Config on centos7 apache in subdir |
Date: | 2022-08-22 04:33:51 |
Message-ID: | CAFOhELdmxxmJzBXj5fxhfiWajGTAGYq0SDJWFyTJQLfVEf_8mQ@mail.gmail.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgadmin-support |
On Fri, Aug 19, 2022 at 1:38 PM bw <bwakkie(at)gmail(dot)com> wrote:
> 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/
>
> Please provide your wsgi config file.
>
> ... 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
>
>
From | Date | Subject | |
---|---|---|---|
Next Message | Aditya Toshniwal | 2022-08-22 06:45:08 | Re: edit data problems: entering data, entering default |
Previous Message | Khushboo Vashi | 2022-08-22 04:24:38 | Re: Autofocus on master password field |