Forum Moderators: phranque
how would i go about setting up a proxy server?
I'd suggest starting with the extensive Apache mod_proxy documenation [httpd.apache.org], and then post specific questions here.
Jim
It is the browser that resolves on-page links. If you use a relative link, then the browser will resolve the URL by combining it with the URL shown in the address bar. If you use a canonical link, i.e. http://www.example.com/page.com, then the browser will simply request that URL, and ignore the 'current' page URL in tha address bar.
If you modify your pages to use relative links, such as <a href="/page.html"> or <a href="page.html"> or <a href=../images/static/logo.gif"> then you must also take steps to make sure that your site is accessible under only the canonical domain name that you prefer. That is, 301 redirect example.com and anything-except-www.example.com to www.example.com. Or redirect everything to example.com. Just pick one. You will also need to make allowances for locahost in this code. If you allow the site to be accessed under multiple domain variants, and you use server-relative or page-relative URLs, then search engines may find and list your pages under all of those domain variants. That will split your PageRank and link-popularity across multiple URLs, which is *not good*.
Jim