Beefy Boxes and Bandwidth Generously Provided by pair Networks
Pathologically Eclectic Rubbish Lister
 
PerlMonks  

Re: Mojolicious-Hypnotoad-Nginx - rendering images

by talexb (Canon)
on Apr 15, 2021 at 13:35 UTC ( #11131331=note: print w/replies, xml ) Need Help??


in reply to Mojolicious-Hypnotoad-Nginx - rendering images

    The welcome.html.ep has this simple addition: <img src="/tree.png" alt="tree">.

Hmm .. have you tried removing the leading slash? Failing that, see what the web logs say.

Alex / talexb / Toronto

Thanks PJ. We owe you so much. Groklaw -- RIP -- 2003 to 2013.

Replies are listed 'Best First'.
Re^2: Mojolicious-Hypnotoad-Nginx - rendering images
by Anonymous Monk on Apr 15, 2021 at 14:40 UTC
    When diagnosing any situation like this, start with the browser's debugging features. Use the "Network" panel to see what is actually requested and what the reply code is. Look in the console logs. If necessary, use a network analyzer like "tcpdump" or better-yet "wireshark" to trace what is actually going on until you find the root cause of the problem. Do the server logs show that the request actually arrived? And, so on.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://11131331]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others about the Monastery: (1)
As of 2021-09-28 17:51 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?