Re: can't display or download images on new Apache install

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxxxxxxxx> 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="" and this for
> the tif file I wanted to be able to download via a link: <a
> href="" If I
> understand correctly I need to do something like this?
>
> href="" href="http://192.168.1.10/usr/local/apache2/htdcos/images/DN-ST-89-07213.tif" target="_blank">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@xxxxxxxxxxxxxxxx
> <mailto:ph1@xxxxxxxxxxxxxxxx>> 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@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx



[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux