Closed helb closed 6 years ago
The /nojs page (at zonemaster.net & zonemaster.se) tries to fetch a css file from localhost:
/nojs
<link rel="stylesheet" href="http://localhost:81/css/nojs_style.css" />
(so my laptop in this case, with nothing listening at port 81)
Looking at the source (nojs_main_view.tt), it seems that request.uri_base gets replaced with http://localhost:81:
nojs_main_view.tt
request.uri_base
http://localhost:81
<link rel="stylesheet" href="<% request.uri_base %>/css/nojs_style.css" />
This might be due to reverse proxy not passing the request info down to the Perl server properly. Just guessing, i'm not familiar with your setup.
However, it's an easy fix – just drop the variable altogether and let the browser fetch from /css/nojs_style.css:
/css/nojs_style.css
<link rel="stylesheet" href="/css/nojs_style.css" />
The
/nojs
page (at zonemaster.net & zonemaster.se) tries to fetch a css file from localhost:(so my laptop in this case, with nothing listening at port 81)
Looking at the source (
nojs_main_view.tt
), it seems thatrequest.uri_base
gets replaced withhttp://localhost:81
:This might be due to reverse proxy not passing the request info down to the Perl server properly. Just guessing, i'm not familiar with your setup.
However, it's an easy fix – just drop the variable altogether and let the browser fetch from
/css/nojs_style.css
: