httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Rick Lopez <rlopez6...@gmail.com>
Subject Re: [users@httpd] can't display or download images on new Apache install
Date Wed, 19 Sep 2012 18:21:38 GMT
Thanks all for the replies. At first I wasn't sure if it was an Apache
problem or not since this was my first install. I know understand where the
problem is and will get it corrected in the html file.

On Wed, Sep 19, 2012 at 1:31 PM, Ben Johnson <ben@indietorrent.org> wrote:

>
>
> On 9/19/2012 1:08 PM, 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="
> http://192.168.1.10/usr/local/apache2/htdcos/images/DN-ST-89-07213.tif"
>
> Close. Try this URL:
>
> http://192.168.1.10/images/DN-ST-89-07213.tif
>
> Don't confuse filesystem paths with Apache resource paths.
>
> > 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.
> >
> > Thanks
> >
> >
> >
> >
> >
> > On Wed, Sep 19, 2012 at 11:13 AM, Pete Houston <ph1@openstrike.co.uk
> > <mailto:ph1@openstrike.co.uk>> wrote:
> >
> >     On Wed, Sep 19, 2012 at 11:04:46AM -0400, Rick Lopez wrote:
> >     > However, if I open the index.html file as a file with Firefox it
> works
> >     > fine. I see the following message in the Firefox error console.
> >     "security
> >     > error: content at 192.168.1.10 may not load or link to
> >     > file://usr/local/apache2/images/08063.jpg"
> >
> >     That would suggest that your HTML file is linking to the filesystem
> >     rather than through HTTP. Check that the links in your HTML are
> >     correctly formed as http references.
> >
> >     > I am running this on Red Hat
> >     > Enterprise 6 with the current Apache version.
> >
> >     Presumably you mean the version currently supplied by RedHat for
> RHEL6,
> >     which is 2.2.15? The current Apache version is 2.4.3 (or 2.2.23).
> >
> >     Pete
> >     --
> >     Openstrike - improving business through open source
> >     http://www.openstrike.co.uk/ or call 01722 770036 / 07092 020107
> >
> >
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
> For additional commands, e-mail: users-help@httpd.apache.org
>
>

Mime
View raw message