[UPHPU] load-balanced 301 redirects

Wade Preston Shearer lists at wadeshearer.com
Mon Mar 31 09:56:24 MDT 2008


Because a site is load-balanced between multiple servers, I have had  
to use a full URL ("http://example.com/…" instead of just "/…") for  
301 mod_rewrite redirects. The problem with this is that the same code  
then does not work in the development environment. Does anyone have a  
solution for this? A way that I can have the same code work in both  
places? I would prefer to not have the domain in the redirect path,  
but can't think of any other way for it to work with the load- 
balancer. Any ideas?


wade
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 2425 bytes
Desc: not available
Url : http://uphpu.org/pipermail/uphpu/attachments/20080331/c2463c38/smime.bin


More information about the UPHPU mailing list