httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Nick Kew <n...@webthing.com>
Subject Re: [users@httpd] mod_proxy does not load images
Date Wed, 07 Aug 2013 19:47:29 GMT

> 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@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message