Re: [OT] Is it possible to set a ddns hostname to access a name-based virtual host?
In article gofs8j$83...@sf1.isc.org, Michael Milligan mi...@acmeps.com wrote: Danny Mayer wrote: Michael Milligan wrote: Just being more general. A URL is a HTTP URI... Google has plenty of explanations. That's nonsense. A URL was never just an HTTP URI. It's one example of one but there have always been more than one type. I wasn't clear. A URL covers a subset of the URI space, as you say. Again, plenty of good (i.e., better than one-liner) explanations can be found on Google. For the purposes of this discussion, though, the distinction between URL and URI is probably irrelevant. -- Barry Margolin, bar...@alum.mit.edu Arlington, MA *** PLEASE don't copy me on replies, I'll read them in the group *** ___ bind-users mailing list bind-users@lists.isc.org https://lists.isc.org/mailman/listinfo/bind-users
Re: [OT] Is it possible to set a ddns hostname to access a name-based virtual host?
Michael Milligan wrote: hongyi.z...@gmail.com wrote: You *must* reference the location using the same URI if you expect to see the same expected results. Thanks for your detailed explanations. Another issue: what do you mean by saying URI? What's the differences between URI and URL? Just being more general. A URL is a HTTP URI... Google has plenty of explanations. That's nonsense. A URL was never just an HTTP URI. It's one example of one but there have always been more than one type. Danny -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean. ___ bind-users mailing list bind-users@lists.isc.org https://lists.isc.org/mailman/listinfo/bind-users
Is it possible to set a ddns hostname to access a name-based virtual host?
Hi all, Suppose a file named file.pdf stored in the following web location: http://some_domain/path/to/file.pdf Where, the *some_domain* is a name-based virtual host. In this case, is it possible to set a ddns hostname, say through http://www.changeip.net/, without using *some_domain* itself, to access this file? -- .: Hongyi Zhao [ hongyi.zhao AT gmail.com ] Free as in Freedom :. ___ bind-users mailing list bind-users@lists.isc.org https://lists.isc.org/mailman/listinfo/bind-users
Re: Is it possible to set a ddns hostname to access a name-based virtual host?
In article gnmihj$176...@sf1.isc.org, hongyi.z...@gmail.com wrote: On Friday, February 20, 2009 at 22:15, serge.fonvi...@gmail.com wrote: Let me give an example to illustrate my problem: In the following url, the prola.aps.org is a name-based virtual host: http://prola.aps.org/pdf/PRB/v1/i1/p1_1 On the other hand, my institute has subscribed to prola and many other journals, so I want to use some self-made and easy-to-memory hostnames for each of them. For example, I want to use the following url to access the above one: http://myprola.myddns.org/pdf/PRB/v1/i1/p1_1 Is this possible? You can specify a domainalias for every virtualhost in the apache configuration (other http servers should support similar functionality) I cann't figure it out. I only have a web client such as ie or firefox to access the above url? Do you mean that I must setup a local webserver, say by using apache to do that thing? The operators of the dynamic DNS service may offer an HTTP redirect service that does this for you. -- Barry Margolin, bar...@alum.mit.edu Arlington, MA *** PLEASE don't copy me on replies, I'll read them in the group *** ___ bind-users mailing list bind-users@lists.isc.org https://lists.isc.org/mailman/listinfo/bind-users
Re: [OT] Is it possible to set a ddns hostname to access a name-based virtual host?
hongyi.z...@gmail.com wrote: You *must* reference the location using the same URI if you expect to see the same expected results. Thanks for your detailed explanations. Another issue: what do you mean by saying URI? What's the differences between URI and URL? Just being more general. A URL is a HTTP URI... Google has plenty of explanations. Regards, Mike PS: There are other maintenance problems with your approach too, but What for example? This biggest problem is when the IP of the original server changes, you have to track that and periodically update your name. Unless you take a proxy approach. Regards, Mike -- Michael Milligan - mi...@acmeps.com ___ bind-users mailing list bind-users@lists.isc.org https://lists.isc.org/mailman/listinfo/bind-users
Re: Is it possible to set a ddns hostname to access a name-based virtual host?
Hi, Is it possible to set a ddns hostname, say through http://www.changeip.net/ , without using *some_domain* itself, to access this file? http://www.changeip.net/ Not entirely sure what you are actually trying to achieve. Could you provide a concrete example of the situations you are trying to achieve? If you wan't the file to be accessible through multplile hosts (differentaited through the host header, you need to configure the webserver to handle these names. If you wan't a hostname to be updated automatically when the server IP address changes, you need to configure the approriate service to connect to the ddns service. If you want specifics about the ddns service provider, you should ask them. From changeip.net: Dynamic DNS gives you the ability to redirect your domain name to anywhere at any time. Why wait 3 days for your ISP to update their DNS records when you can do it yourself, in seconds. Get your free name now and it will be working within 5 minutes! Hope this helps. Regards, Serge Fonville ___ bind-users mailing list bind-users@lists.isc.org https://lists.isc.org/mailman/listinfo/bind-users
Re[2]: Is it possible to set a ddns hostname to access a name-based virtual host?
On Friday, February 20, 2009 at 19:51, serge.fonvi...@gmail.com wrote: Hi, Is it possible to set a ddns hostname, say through http://www.changeip.net/ , without using *some_domain* itself, to access this file? Not entirely sure what you are actually trying to achieve. Could you provide a concrete example of the situations you are trying to achieve? Let me give an example to illustrate my problem: In the following url, the prola.aps.org is a name-based virtual host: http://prola.aps.org/pdf/PRB/v1/i1/p1_1 On the other hand, my institute has subscribed to prola and many other journals, so I want to use some self-made and easy-to-memory hostnames for each of them. For example, I want to use the following url to access the above one: http://myprola.myddns.org/pdf/PRB/v1/i1/p1_1 Is this possible? Regards, -- Hongyi Zhao hongyi.z...@gmail.com Xinjiang Technical Institute of Physics and Chemistry Chinese Academy of Sciences GnuPG DSA: 0xD108493 2009-2-20 ___ bind-users mailing list bind-users@lists.isc.org https://lists.isc.org/mailman/listinfo/bind-users
Re: Re[2]: Is it possible to set a ddns hostname to access a name-based virtual host?
Let me give an example to illustrate my problem: In the following url, the prola.aps.org is a name-based virtual host: http://prola.aps.org/pdf/PRB/v1/i1/p1_1 On the other hand, my institute has subscribed to prola and many other journals, so I want to use some self-made and easy-to-memory hostnames for each of them. For example, I want to use the following url to access the above one: http://myprola.myddns.org/pdf/PRB/v1/i1/p1_1 Is this possible? You can specify a domainalias for every virtualhost in the apache configuration (other http servers should support similar functionality) This has nothing to do with DNS since all dns does is translate the hostname you type in to an IP address the computer uses to connect to. Every http request contains a 'host' header that is used by the webserver to determine the documentroot to serve. Hope this helps. Regards, Serge Fonville ___ bind-users mailing list bind-users@lists.isc.org https://lists.isc.org/mailman/listinfo/bind-users
Re[4]: Is it possible to set a ddns hostname to access a name-based virtual host?
On Friday, February 20, 2009 at 22:15, serge.fonvi...@gmail.com wrote: Let me give an example to illustrate my problem: In the following url, the prola.aps.org is a name-based virtual host: http://prola.aps.org/pdf/PRB/v1/i1/p1_1 On the other hand, my institute has subscribed to prola and many other journals, so I want to use some self-made and easy-to-memory hostnames for each of them. For example, I want to use the following url to access the above one: http://myprola.myddns.org/pdf/PRB/v1/i1/p1_1 Is this possible? You can specify a domainalias for every virtualhost in the apache configuration (other http servers should support similar functionality) I cann't figure it out. I only have a web client such as ie or firefox to access the above url? Do you mean that I must setup a local webserver, say by using apache to do that thing? Regards, -- Hongyi Zhao hongyi.z...@gmail.com Xinjiang Technical Institute of Physics and Chemistry Chinese Academy of Sciences GnuPG DSA: 0xD108493 2009-2-20 ___ bind-users mailing list bind-users@lists.isc.org https://lists.isc.org/mailman/listinfo/bind-users
Re: [OT] Is it possible to set a ddns hostname to access a name-based virtual host?
This is actually off topic for BIND-users... hongyi.z...@gmail.com wrote: On Friday, February 20, 2009 at 19:51, serge.fonvi...@gmail.com wrote: Hi, Is it possible to set a ddns hostname, say through http://www.changeip.net/ , without using *some_domain* itself, to access this file? Not entirely sure what you are actually trying to achieve. Could you provide a concrete example of the situations you are trying to achieve? Let me give an example to illustrate my problem: In the following url, the prola.aps.org is a name-based virtual host: http://prola.aps.org/pdf/PRB/v1/i1/p1_1 On the other hand, my institute has subscribed to prola and many other journals, so I want to use some self-made and easy-to-memory hostnames for each of them. For example, I want to use the following url to access the above one: http://myprola.myddns.org/pdf/PRB/v1/i1/p1_1 I fail to see how the later is more easy-to-memory than the former, but... Is this possible? Generally, no. Virtual hosting involves setting, in almost all cases, a unique document root for each virtual host. If you reference a file or location via a URI that uses a different hostname, then it either matches a different virtual host, or matches the default virtual host, but in either case the document root is almost certainly different, and thus the relative path (/pdf/PRB/v1/i1/P1_1 in your case) almost certain does not translate to the correct absolute path to get the right file or get you to the right generator, whatever the location references and/or triggers to send back content. You *must* reference the location using the same URI if you expect to see the same expected results. Regards, Mike PS: There are other maintenance problems with your approach too, but you avoid those by just not even trying to do what you asked. -- Michael Milligan - mi...@acmeps.com ___ bind-users mailing list bind-users@lists.isc.org https://lists.isc.org/mailman/listinfo/bind-users
Re: Is it possible to set a ddns hostname to access a name-based virtual host?
Hongyi Zhao wrote: Hi all, Suppose a file named file.pdf stored in the following web location: http://some_domain/path/to/file.pdf Where, the *some_domain* is a name-based virtual host. In this case, is it possible to set a ddns hostname, say through http://www.changeip.net/, without using *some_domain* itself, to access this file? DNS can only control what IP address the client connects to. It doesn't have any effect on the Host: header that is sent in the HTTP request, and that's what a webserver uses to identify the target site, in a named-based virtual hosting context. I think you want to use a proxy with URL-rewriting capability. SQUID seems to be capable of this. Possibly some browser add-on might have a URL-rewriting capability too, haven't looked into that. - Kevin ___ bind-users mailing list bind-users@lists.isc.org https://lists.isc.org/mailman/listinfo/bind-users
Re[2]: Is it possible to set a ddns hostname to access a name-based virtual host?
On Saturday, February 21, 2009 at 5:45, k...@chrysler.com wrote: Hongyi Zhao wrote: Hi all, Suppose a file named file.pdf stored in the following web location: http://some_domain/path/to/file.pdf Where, the *some_domain* is a name-based virtual host. In this case, is it possible to set a ddns hostname, say through http://www.changeip.net/, without using *some_domain* itself, to access this file? DNS can only control what IP address the client connects to. It doesn't have any effect on the Host: header that is sent in the HTTP request, and that's what a webserver uses to identify the target site, in a named-based virtual hosting context. I think you want to use a proxy with URL-rewriting capability. SQUID seems to be capable of this. Possibly some browser add-on might have a URL-rewriting capability too, haven't looked into that. Thank you for your pertinent recommendations. Warmly regards, -- Hongyi Zhao hongyi.z...@gmail.com Xinjiang Technical Institute of Physics and Chemistry Chinese Academy of Sciences GnuPG DSA: 0xD108493 2009-2-21 ___ bind-users mailing list bind-users@lists.isc.org https://lists.isc.org/mailman/listinfo/bind-users