On 24.06.10 16:25, Rebecca Denham wrote:
> The apache virtual host configuration for the backend application
> includes a number of server aliases for multiple TLDs, for example
> www.example.es and www.example.de. These aliases point to the same
> backend application and hence pages.
This is problem of the configuration of web server. Two addresses mean two
objects and HTTP has no indication that they are the same (how would that
work even?). The same problem arises with clients, proxies etc.
You may often get recommentation to redirect one web to another because of
the SEO optimalization (your page rank won't be splitted between more
sites).
> During my testing of the squid
> configuration, I have noticed that squid creates a separate cache
> entry for the same requested page for the different TLDs. In other
> words, it does not seem to use the same cached copy for
> www.example.com/page1 and www.example.es/page1. Is there a way to
> configure squid to serve the same cached copy for a page regardless of
> the actual domain name?
squid-2.7 supports the store rewriter which does what you need. But better
configure apache not to provide same content on more sites (e.g. redirect
one to another).
-- Matus UHLAR - fantomas, uhlar@fantomas.sk ; http://www.fantomas.sk/ Warning: I wish NOT to receive e-mail advertising to this address. Varovanie: na tuto adresu chcem NEDOSTAVAT akukolvek reklamnu postu. Emacs is a complicated operating system without good text editor.Received on Fri Jun 25 2010 - 07:50:26 MDT
This archive was generated by hypermail 2.2.0 : Fri Jun 25 2010 - 12:00:04 MDT