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

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

 



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">http://192.168.1.10/usr/local/apache2/htdcos/images/DN-ST-89-07213.tif"

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> 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


[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