Forum Moderators: open
[webmasterworld.com...]
-there's a lot of ways of keeping the address field, from frames to internal redirects. I don't know any good discussions on when to mirror, so no points for me i guess
/claus
First, you'll need to consult this document: [httpd.apache.org...]
(Apache 1.3 URL Rewriting Guide)
You might as well bookmark it right away, as it has tons of goodies in it.
Look at the section "Content Handling" to get a quick grasp of things. There's the internal method in which urls are substituted without being shown to the browser and there's the external method in which the browser urls are changed.
In bothe cases you serve document b when a is requested:
a) ~quux/foo.html
b) ~quux/bar.html
-the [R] flag being the only difference. Now, a bit further up the page you'll find "Archive Access Multiplexer" - this is redirects between different mirrors of a site (de, uk, com) depending on the value of REMOTE_HOST. It is external, so it will be seen, but for this purpose it doesn't matter - it's "traditional mirroring"
What you probably need is the solution under the headline "Dynamic Mirror" - this is applicable ie. if you have your mirrors on another domain. You might also want to check out the example: "Proxy Throughput Round-Robin" - this is a way to load balance a few servers, but if you have perl skills, you can do the redirection in the "lib.pl" script.
Then, of course, you might want to read the first message of this thread: [webmasterworld.com...] (and please don't be offended by the title "Newbie Cloaking Primer" - it's a very good explanation of what happens). Of course, this message suggests a method that is purely script-driven (without using mod_rewrite), and that can be done as well.
Finally, i'll have to provide this link as well: [httpd.apache.org...]
(Module mod_rewrite URL Rewriting Engine)
It's Apache documentation on the many directives and flags etc. you'll see employed in the "Apache 1.3 URL Rewriting Guide" (first link)
/claus
>> this is applicable ie. if you have your mirrors on another domain
-might be rephrased as: "this is how you show content that physically is on another domain, keeping your domain in the address bar"¨(that is, your .fr or .de mirror will be shown at your .com address)
Now - can anyone offer davidbooker some good views on when to mirror and when not to mirror?
<bump>
/claus
Question one that depends on how good of a webmaster you are. If you can point the links to the best or most relivant section/url then you should have no problems with the seemless transfer from one site to another.
Question two you can use noframes pages and they will keep the same url while providing the information you want to display.
-David