Re: [Roller6] issue with Apache httpd 2.4 reverse proxy

Tommy Pham <[email protected]> Tue, 18 Feb 2020 19:56:05 -0800
Newsgroups gmane.comp.java.roller.user
Message-ID <CANPW+MtYDeVEVrxTfppkhchOWoX9AAcUcTUQHHBmSdamse8cfA@mail.gmail.com>
--0000000000003a4cf4059ee5c569
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

PS:  I forgot to add that the following also work as expected after logged
in:

Front Page
Main Menu

On Tue, Feb 18, 2020 at 7:52 PM Tommy Pham <[email protected]> wrote:

> Hello everyone,
>
> For my new install of Roller 6 on Tomcat 9.0.30, I'm running into URL
> issues with reverse proxy.  I have Apache httpd 2.4 to serve both static
> and PHP based contents and Tomcat to serve Java based.  Both are running =
on
> the same server at their default ports (httpd on 80 and 443 - Tomcat on
> 8080 and 8443).  I have the reverse proxy setup on httpd and it works OK
> for some parts.
>
> OK =3D>  http://f.q.d.n/blog/ =3D> http://f.q.d.n:8080/blog/
>
> However, the links are incorrect upon page load:
>
> Home                              =3D> http://f.q.d.n:8080/blog/Tommy
> Categories - All               =3D> http://f.q.d.n:8080/blog/Tommy/
> Categories - Technology =3D>
> http://f.q.d.n:8080/blog/Tommy/category/Technology
> Categories - Finance      =3D>
> http://f.q.d.n:8080/blog/Tommy/category/Finance
> Categories - General      =3D>
> http://f.q.d.n:8080/blog/Tommy/category/General
> Subscribe to this blog     =3D>
> http://f.q.d.n:8080/blog/Tommy/feed/entries/atom
>
> The only links that are correct are:
>
> Login         =3D> http://f.q.d.n/blog/roller-ui/login-redirect.rol
> New Entry =3D>
> http://f.q.d.n/blog/roller-ui/authoring/entryAdd.rol?weblog=3DTommy
> Settings     =3D>
> http://f.q.d.n/blog/roller-ui/authoring/weblogConfig.rol?weblog=3DTommy
> Logout       =3D> http://f.q.d.n/blog/roller-ui/logout.rol
>
> Also, when accessing HTTPS (I have it redirecting to Tomcat's HTTP on por=
t
> 8080)
>
> https://f.q.d.n/blog/
>
> HTML loads OK but not displayed correctly because of these:
>
> <!-- Bootstrap core CSS --><link rel=3D"stylesheet" href=3D"http://f.q.d.=
n:8080/blog/Tommy/resource/css/bootstrap.css" ><link rel=3D"stylesheet" hre=
f=3D"http://f.q.d.n:8080/blog/Tommy/resource/css/style.css" /><link rel=3D"=
stylesheet" href=3D"http://f.q.d.n:8080/blog/Tommy/resource/css/font-awesom=
e.min.css" />
>
>
> Does anyone have a similar setup and is experiencing similar issue?
>
> Thanks,
> Tommy
>

--0000000000003a4cf4059ee5c569--