|
|||||||||||
|
Re: Reverse Proxy
From: Graham Leggett <minfrin(at)sharp.fm>
Date: Fri Aug 31 2001 - 14:21:38 EDT Mohamed Elashmawy wrote: > I've made a rewrite rule that redirects all the requests of the absolute
As I said, filtering the URLs is very expensive and there is no guarantee that the filtering process will get it right (how would it change URLs coded inside Javascript, for example). There is no module I know of that will do this directly. The solution is a compromise: Make sure that you host the pages on the backend with the exact same URLs you need on the frontend. For example: If you want your graphic to be hosted at http://www.company.com/products/widget/image.gif, then place that image on the backend at http://backend/products/widget/image.gif. Then: Make sure that your URLs say /products/widget/image.gif and your site will work. Using the name "http://backend/" anywhere within your URLs is a recipe for disaster - just change them in the code to absolute URLs.
Regards,
-- ----------------------------------------- minfrin@sharp.fm "There's a moon over Bourbon Street tonight..."
This archive was generated by hypermail 2.1.8 : Thu Aug 24 2006 - 14:53:45 EDT |
||||||||||
|
|||||||||||