473,695 Members | 1,680 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Relative link question in multi-LAN, multi-server environment

I have a web site hosted on worldwide LAN A. The web site links to
documents on a server on LAN B, which has mirror sites all over the
world. Users at remote locations are able to access only files that are
hosted on the mirror server that serves their region.

Is there any way to employ hyperlinks in my web pages that will link to
files on the mirror server for the region in which the particular user
happens to be located?

Thanks
Dave

May 17 '06 #1
2 1380

dg*****@erols.c om wrote:
Is there any way to employ hyperlinks in my web pages that will link to
files on the mirror server for the region in which the particular user
happens to be located?


Mirror the web pages locally too. This is easy and you can give them
local links.

Otherwise the easiest way is with some DNS magic. Have a subdomain of
"localfileserve r.example.com" and make this resolve approporiately on
each site.

What I wouldn't do is to try and redirect each file link through some
"globalisat ion mapper". That's a PITA that's only worth doing when
you're a public-access setup (like sourceforge).

May 17 '06 #2
dg*****@erols.c om wrote:
I have a web site hosted on worldwide LAN A. The web site links to
documents on a server on LAN B, which has mirror sites all over the
world. Users at remote locations are able to access only files that are
hosted on the mirror server that serves their region.

Is there any way to employ hyperlinks in my web pages that will link to
files on the mirror server for the region in which the particular user
happens to be located?


When a link is clicked it on some particular page, the browser is
supposed to know that should request the new page from a server other
than the server that the current page came from, and it should know
which server to request them from. You want to use relative links, which
means that you aren't telling the browser explicitly what server to make
requests from. So--you're asking if browsers have psychic powers?
May 17 '06 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

24
4482
by: sinister | last post by:
After doing a websearch, it appears that it's OK to omit the "http:" to form a relative URL. Are there any pitfalls to this? For example, if there is a page http://www.domain1.com/page1.html with a link to http://www.domain2.com/page2.html you can abbreviate the second link as //www.domain2.com/page2.html
8
42517
by: Asad | last post by:
Hi, I am basically trying to accomplish drop down menus for navigation on a site. And I'm pretty much done except I am having one problem. The z-index is not working with relative positioning! Basically I have a page such as this: http://members.rogers.com/asadkhan2/prob2.jpg
2
3867
by: Martin Geisler | last post by:
-----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.1 (GNU/Linux) iD8DBQBDNmLx6nfwy35F3TgRAtjIAJ9ryEjr0kaaEapRD0z1bHQYmKi+1wCdEOZC /wY2033SyIVl0za07v8RMkk= =6BZ+ -----END PGP SIGNATURE-----
5
2147
by: John Williams | last post by:
I'm using the WebBrowser control and Microsoft HTML Object Library (MSHTML) in a VB .Net program. I'm trying to read <P> tags and their contents from one HTML document, test1.htm, and insert them into another, test2.htm. The problem is the relative URL in the <A> tag in the 3rd paragraph. test1.htm contains: <HTML><HEAD></HEAD> <BODY> <P>This is the first paragraph</P>
3
3623
by: LayneMitch | last post by:
Hello everyone. I'm designing a site for a friend of mine and I'm having a few issues. First off, I'm noticing that there is a difference between the default line- heights of IE and Mozilla/Firefox. I've tried different things like setting every line-height to zero 'px' by * {line-height: 0px;}, and it just messed things up even further as you will see if you click on the link below. Before the adjustments this morning, everything was...
0
8652
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, weíll explore What is ONU, What Is Router, ONU & Routerís main usage, and What is the difference between ONU and Router. Letís take a closer look ! Part I. Meaning of...
0
8587
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
9005
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
8867
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
5847
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
4351
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
1
3025
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
2291
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
1987
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.