httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Pete Houston <>
Subject Re: [users@httpd] can't display or download images on new Apache install
Date Wed, 19 Sep 2012 17:35:01 GMT
On Wed, Sep 19, 2012 at 01:08:32PM -0400, Rick Lopez wrote:
> Thanks for the reply. To clarify I am running Apache 2.4.3. I also used
> Kompozer to create the index.html file so I assumed it was creating the
> correct syntax. Kompozer created this for the embedded jpg file:
> src="file:///usr/local/apache2/images/DN-SD-99-05859.JPG"> and this for the
> tif file I wanted to be able to download via a link: <a
> href="file:///usr/local/apache2/images/DF-ST-89-06284.tif" If I understand
> correctly I need to do something like this?
> href="
> "
> I did try that for both the embedded jpg with the same result and the
> linked tif. I know get a file not found error.

You are almost there. The path part of the url should start from the
DocumentRoot (likely htdocs) so it should be something like


although you can also use relative links, which is almost always the
better idea if the destination is on the same server.

Openstrike - improving business through open source or call 01722 770036 / 07092 020107

View raw message