Re: mod_proxy does not load images

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

 



> I am configuring mod_proxy
> 
> proxyPass /wur http://serverA.com:80/

That'll fail in almost all cases, because you have mismatched slashes.
ProxyPass /wur/

> attached the access logs
> 142.229.90.133 - - [07/Aug/2013:11:03:34 -0600] "GET /wur HTTP/1.1" 200 594
> 142.229.90.133 - - [07/Aug/2013:11:03:34 -0600] "GET /welcome.png

Does the <img> refer to /welcome.png or welcome.png?
If the latter then rewriting the link is unnecessary (though
others may still need it).

> rewrite the html links with mod_proxy_html?

Indeed, if links have to be rewritten.

> 142.229.90.133 - - [07/Aug/2013:11:03:34 -0600] "GET /favicon.ico
> HTTP/1.1" 404 209

That's a special case: something the browser requests unprompted.
If you want it, you'll have to give it its own rule.

-- 
Nick Kew

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