Forum How do I...?

Images not getting picked up from local Apache server

We are using a Powershell script that triggers Prince dynamically to convert a list of HTML pages to PDFs using options based on the HTML page. It works well but the images are not getting picked up from my Local Apache server. It works if I change the base URL to the external facing live website.

The warning message that I get is
prince: http://localapacheserver/XXXXX/images/XXX.gif: warning: Empty reply from server
. This image exists and that URL renders an image in the browser.

We have a licensed version of Prince XML and using Apache 2.4. Can you please help to resolve this?
Can you try using the curl utility to retrieve the image?