Re: [users@httpd] png images are broken with reverse proxy

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

 



On Mon, 2006-04-24 at 17:25 -0400, Joshua Slive wrote:
> On 4/24/06, Vects <alexc@xxxxxxxxxxxx> wrote:
> > Hi there,
> > I have a problem with mod_proxy, png images are broken. I found that
> > apache removes '\n\r' (hex 0a0d) from png files. Is there anyway to
> > prevent apache to do that or I need to fix png files?
> 
> Apache does not, by default, change any content on proxied requests. 
> Perhaps if you gave more details about apache version and any other
> modules in use, someone might have ideas on what is going on.
actually it's FC5, httpd-2.2.0-5.1.2. the config file is standard.

<VirtualHost *:80>
    ServerAdmin webmaster@mydomain
    DocumentRoot  /var/www/html/
    ServerName mydomain
    <IfModule mod_proxy.c>
    ProxyRequests off
    <Proxy *>
       Order deny,allow
       Deny from all
       Allow from 192.168.80.0/25
    </Proxy>
    ProxyPass / http://192.168.3.1/
    ProxyPassReverse / http://192.168.3.1/
  </IfModule>
</VirtualHost>

Firefox gives me 'The image “http://192.168.80.82/clear.png”; cannot be
displayed, because it contains errors.'

Thanks, Alexc


> 
> Joshua.
> 
> ---------------------------------------------------------------------
> The official User-To-User support forum of the Apache HTTP Server Project.
> See <URL:http://httpd.apache.org/userslist.html> for more info.
> To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx
>    "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
> For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx
> 


---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx
   "   from the digest: users-digest-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