<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Question about virtual hosts on Apache 1.3... in Operating System - OpenVMS</title>
    <link>https://community.hpe.com/t5/operating-system-openvms/question-about-virtual-hosts-on-apache-1-3/m-p/3228826#M47071</link>
    <description>Dieter,&lt;BR /&gt;That what I originally had, but it's not what I require. For access on my LAN it's no problem to do that, but since the webs need to be accessable from outside, this doesn't seem to work.&lt;BR /&gt;To clearify: in DNS, all names resolve to just ONE IP-address. The firewall has no facilities to discriminate in names - so all HTTP-requests will be transferred to 192.168.0.2.&lt;BR /&gt;If I specify the virtual hosts like you said, the second and third are not accessable from outside since there is no path to them, so these webs will never show.&lt;BR /&gt;I have tried to specify 192.168.0.2 for all, but even that doesn't work properly, it's always the first web that will show up.&lt;BR /&gt;For what I understood from the documentation, multiple specifications are possible, for instance for internal and external access, and for named virtual hosts specification of the name in the &lt;VIRTUAL host=""&gt; line is a requirement.&lt;/VIRTUAL&gt;</description>
    <pubDate>Fri, 26 Mar 2004 05:00:25 GMT</pubDate>
    <dc:creator>Willem Grooters</dc:creator>
    <dc:date>2004-03-26T05:00:25Z</dc:date>
    <item>
      <title>Question about virtual hosts on Apache 1.3...</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/question-about-virtual-hosts-on-apache-1-3/m-p/3228821#M47066</link>
      <description>Now for something completely different.&lt;BR /&gt;My system runs Apache (aka CSWS) 1.3, and is (via a firewall) continously connected to the Internet.&lt;BR /&gt;In DNS at my ISP, "&lt;A href="http://www.domain.tld" target="_blank"&gt;www.domain.tld&lt;/A&gt;" refers to my FW's outside NIC (aaa.bbb.ccc.ddd, and this translates all http-traffic (port 80) to my Alpha (having a public (non-routed) address.&lt;BR /&gt;I have a second 'web' "anotherweb.domain.tlb" defined, it is in DNS as wel, and also referring my (outside) IP address. Still on port 80, I assumed having this defined as a &lt;VIRTUAL host=""&gt; in Apache's configuration this web could be accessed seperately. All conform the examples on the Apache website, Alan Winston's book and the CSWS documentation&lt;BR /&gt;However, is doesn't work as I expected.&lt;BR /&gt;"&lt;A href="http://www.domain.tld" target="_blank"&gt;http://www.domain.tld&lt;/A&gt;" shows my 'normal' webpage (what I wanted), but so does &lt;A href="http://anotherweb.domain.tlb," target="_blank"&gt;http://anotherweb.domain.tlb,&lt;/A&gt; which should be VERY different.&lt;BR /&gt;Both webs are to be accessed by port 80, so a different port is not an option (at least, if avoidable). &lt;BR /&gt;&lt;BR /&gt;I know it must be possible but somewhere I lost track.&lt;BR /&gt;If you need a part of httpd.conf (at least, part of it), tell me which part and I'll attach it.&lt;BR /&gt;&lt;BR /&gt;Willem&lt;BR /&gt;&lt;/VIRTUAL&gt;</description>
      <pubDate>Wed, 24 Mar 2004 15:28:29 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/question-about-virtual-hosts-on-apache-1-3/m-p/3228821#M47066</guid>
      <dc:creator>Willem Grooters</dc:creator>
      <dc:date>2004-03-24T15:28:29Z</dc:date>
    </item>
    <item>
      <title>Re: Question about virtual hosts on Apache 1.3...</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/question-about-virtual-hosts-on-apache-1-3/m-p/3228822#M47067</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;could you post your httpd.conf file? &lt;BR /&gt;&lt;BR /&gt;Regards&lt;BR /&gt;&lt;BR /&gt;Andreas</description>
      <pubDate>Thu, 25 Mar 2004 01:34:25 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/question-about-virtual-hosts-on-apache-1-3/m-p/3228822#M47067</guid>
      <dc:creator>Andreas Fassl</dc:creator>
      <dc:date>2004-03-25T01:34:25Z</dc:date>
    </item>
    <item>
      <title>Re: Question about virtual hosts on Apache 1.3...</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/question-about-virtual-hosts-on-apache-1-3/m-p/3228823#M47068</link>
      <description>I run 10+ different Web-Sites on my Alpha with OpenVMS 7.3-2/csws/Tomcat in .de .net and .com TLDs. It must be a problem with your httpd.conf file, so please show us how it looks like ...&lt;BR /&gt;&lt;BR /&gt;Regards&lt;BR /&gt;Dieter</description>
      <pubDate>Thu, 25 Mar 2004 02:06:49 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/question-about-virtual-hosts-on-apache-1-3/m-p/3228823#M47068</guid>
      <dc:creator>Dieter Rossbach</dc:creator>
      <dc:date>2004-03-25T02:06:49Z</dc:date>
    </item>
    <item>
      <title>Re: Question about virtual hosts on Apache 1.3...</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/question-about-virtual-hosts-on-apache-1-3/m-p/3228824#M47069</link>
      <description>Here's the bare httpd.conf. I stripped off all (standard) comments, so only non-comment lines were left. It's in the right order.&lt;BR /&gt;&lt;BR /&gt;There is a third web mentioned, but that will be started using a specific port so I can transfer control directly in the firewall.&lt;BR /&gt;&lt;BR /&gt;Another matter - related to this question&lt;BR /&gt;I know this won't work if SSL is enabled. If I t to use the same (single IP-address, single port) approach, how to confure that? (MOD_SSL will be inserted before the virtual hosts (as Alan Winstoin suggests))</description>
      <pubDate>Fri, 26 Mar 2004 02:15:27 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/question-about-virtual-hosts-on-apache-1-3/m-p/3228824#M47069</guid>
      <dc:creator>Willem Grooters</dc:creator>
      <dc:date>2004-03-26T02:15:27Z</dc:date>
    </item>
    <item>
      <title>Re: Question about virtual hosts on Apache 1.3...</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/question-about-virtual-hosts-on-apache-1-3/m-p/3228825#M47070</link>
      <description>Hi Willem:&lt;BR /&gt;&lt;BR /&gt;remove the webx.domand.tld entry from the VirtualHost directive and try:&lt;BR /&gt;&lt;BR /&gt;&lt;VIRTUALHOST 192.168.0.2=""&gt;&lt;BR /&gt;...&lt;BR /&gt;&lt;/VIRTUALHOST&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;VIRTUALHOST 443=""&gt;&lt;BR /&gt;...&lt;BR /&gt;&lt;/VIRTUALHOST&gt;&lt;BR /&gt;&lt;BR /&gt;Dieter&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Fri, 26 Mar 2004 04:24:44 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/question-about-virtual-hosts-on-apache-1-3/m-p/3228825#M47070</guid>
      <dc:creator>Dieter Rossbach</dc:creator>
      <dc:date>2004-03-26T04:24:44Z</dc:date>
    </item>
    <item>
      <title>Re: Question about virtual hosts on Apache 1.3...</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/question-about-virtual-hosts-on-apache-1-3/m-p/3228826#M47071</link>
      <description>Dieter,&lt;BR /&gt;That what I originally had, but it's not what I require. For access on my LAN it's no problem to do that, but since the webs need to be accessable from outside, this doesn't seem to work.&lt;BR /&gt;To clearify: in DNS, all names resolve to just ONE IP-address. The firewall has no facilities to discriminate in names - so all HTTP-requests will be transferred to 192.168.0.2.&lt;BR /&gt;If I specify the virtual hosts like you said, the second and third are not accessable from outside since there is no path to them, so these webs will never show.&lt;BR /&gt;I have tried to specify 192.168.0.2 for all, but even that doesn't work properly, it's always the first web that will show up.&lt;BR /&gt;For what I understood from the documentation, multiple specifications are possible, for instance for internal and external access, and for named virtual hosts specification of the name in the &lt;VIRTUAL host=""&gt; line is a requirement.&lt;/VIRTUAL&gt;</description>
      <pubDate>Fri, 26 Mar 2004 05:00:25 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/question-about-virtual-hosts-on-apache-1-3/m-p/3228826#M47071</guid>
      <dc:creator>Willem Grooters</dc:creator>
      <dc:date>2004-03-26T05:00:25Z</dc:date>
    </item>
    <item>
      <title>Re: Question about virtual hosts on Apache 1.3...</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/question-about-virtual-hosts-on-apache-1-3/m-p/3228827#M47072</link>
      <description>I hope I got your problem now ...&lt;BR /&gt;&lt;BR /&gt;I need access to my home system, I run a similar construction on that system (DSL-Router, dyndns, all the dyndns-names are mapped to one IP-Address, multiple addresses on the VMS Box) but I'll not be back home until late. &lt;BR /&gt;&lt;BR /&gt;Dieter</description>
      <pubDate>Fri, 26 Mar 2004 06:10:21 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/question-about-virtual-hosts-on-apache-1-3/m-p/3228827#M47072</guid>
      <dc:creator>Dieter Rossbach</dc:creator>
      <dc:date>2004-03-26T06:10:21Z</dc:date>
    </item>
    <item>
      <title>Re: Question about virtual hosts on Apache 1.3...</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/question-about-virtual-hosts-on-apache-1-3/m-p/3228828#M47073</link>
      <description>&amp;gt; and for named virtual hosts specification &lt;BR /&gt;&amp;gt; of the name in the &lt;VIRTUAL host=""&gt; line is&lt;BR /&gt;&amp;gt; a requirement.&lt;BR /&gt;&lt;BR /&gt;That's not quite correct. The name of the virtual host (preferably specified by an IP address) is supplied with the ServerName statement inside the &lt;VIRTUALHOST&gt;.&lt;BR /&gt;&lt;BR /&gt;See &lt;A href="http://httpd.apache.org/docs/dns-caveats.html" target="_blank"&gt;http://httpd.apache.org/docs/dns-caveats.html&lt;/A&gt;&lt;BR /&gt;&lt;/VIRTUALHOST&gt;&lt;/VIRTUAL&gt;</description>
      <pubDate>Mon, 29 Mar 2004 04:39:45 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/question-about-virtual-hosts-on-apache-1-3/m-p/3228828#M47073</guid>
      <dc:creator>Martin Vorlaender</dc:creator>
      <dc:date>2004-03-29T04:39:45Z</dc:date>
    </item>
    <item>
      <title>Re: Question about virtual hosts on Apache 1.3...</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/question-about-virtual-hosts-on-apache-1-3/m-p/3228829#M47074</link>
      <description>Martin,&lt;BR /&gt;So I do NOT need "webx.domain.tlb" in &lt;VIRTUAL host=""&gt;, just the IP address, like this:&lt;BR /&gt;&lt;BR /&gt;&lt;VIRTUAL host="" 192.168.0.2=""&gt;&lt;BR /&gt;&lt;SERVERNAME web1.domain.tld=""&gt;&lt;BR /&gt;...&lt;BR /&gt;&lt;/SERVERNAME&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;VIRTUAL host="" 192.168.0.2=""&gt;&lt;BR /&gt;&lt;SERVERNAME web2.domain.tld=""&gt;&lt;BR /&gt;...&lt;BR /&gt;&lt;/SERVERNAME&gt;&lt;BR /&gt;&lt;BR /&gt;As you will see from the previously attached file, this IS already the case. As stated before, I _need_ them to be on ONE address.&lt;BR /&gt;&lt;BR /&gt;however, specifying a name in &lt;VIRTUAL host=""&gt; would not lead to a problem, the Apache documentation gives it as an example where a server is to be accessed by different names for intranet and extranet. &lt;BR /&gt;&lt;BR /&gt;&lt;/VIRTUAL&gt;&lt;/VIRTUAL&gt;&lt;/VIRTUAL&gt;&lt;/VIRTUAL&gt;</description>
      <pubDate>Mon, 29 Mar 2004 05:32:48 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/question-about-virtual-hosts-on-apache-1-3/m-p/3228829#M47074</guid>
      <dc:creator>Willem Grooters</dc:creator>
      <dc:date>2004-03-29T05:32:48Z</dc:date>
    </item>
    <item>
      <title>Re: Question about virtual hosts on Apache 1.3...</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/question-about-virtual-hosts-on-apache-1-3/m-p/3228830#M47075</link>
      <description>Apart from the brackets around ServerName, that's it. You can have two VirtualHost sections using the same IP, provided you also specify ServerNames.&lt;BR /&gt;&lt;BR /&gt;Using DNS names in VirtualHost statements will lead to problems whenever DNS fails.&lt;BR /&gt;&lt;BR /&gt;Using IP addresses without ServerNames will likewise fail in case of DNS problems, because Apache tries a Reverse Lookup then.&lt;BR /&gt;Plus it will not work with multihoming (i.e. multiple servers on one IP).&lt;BR /&gt;&lt;BR /&gt;I see a "*" in the first VirtualHost statement of your config file that bothers me. I've no idea how Apache reacts to that.&lt;BR /&gt;&lt;BR /&gt;How does VMS' TCP/IP resolve web2.domain.tld and web3.domain.tld? Try it using nslookup or dig (if present).&lt;BR /&gt;</description>
      <pubDate>Mon, 29 Mar 2004 06:02:31 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/question-about-virtual-hosts-on-apache-1-3/m-p/3228830#M47075</guid>
      <dc:creator>Martin Vorlaender</dc:creator>
      <dc:date>2004-03-29T06:02:31Z</dc:date>
    </item>
    <item>
      <title>Re: Question about virtual hosts on Apache 1.3...</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/question-about-virtual-hosts-on-apache-1-3/m-p/3228831#M47076</link>
      <description>Martin,&lt;BR /&gt;For what I understood, "*" as address means "any bound address"; interpreted by me as "specified name will be used, regardless the specified address" - if more BindAddresses are used (as in my case). &lt;BR /&gt;&lt;BR /&gt;&amp;gt;&amp;gt;How does VMS' TCP/IP resolve web2.domain.tld and web3.domain.tld? Try it using nslookup or dig (if present). &lt;BR /&gt;&lt;BR /&gt;I'll check what my VMS machine thinks of IP-addresses of these webs but I'm pretty sure it finds it on the ouside side of the router (which is correct) - as will any PC inside the firewall. None of them is specified on the local DNS (on my VMS-box as well).&lt;BR /&gt;I specified the router as forwarder and in the router's log, I see translation requests from the VMS-box for domains it cannot resolve (it's the primary DNS server on the intranet)&lt;BR /&gt;&lt;BR /&gt;Anyway, I'll take your suggestion and remove the names, and put expolicitly the internal address in &lt;VIRTUAL host=""&gt;.&lt;/VIRTUAL&gt;</description>
      <pubDate>Mon, 29 Mar 2004 07:52:00 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/question-about-virtual-hosts-on-apache-1-3/m-p/3228831#M47076</guid>
      <dc:creator>Willem Grooters</dc:creator>
      <dc:date>2004-03-29T07:52:00Z</dc:date>
    </item>
    <item>
      <title>Re: Question about virtual hosts on Apache 1.3...</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/question-about-virtual-hosts-on-apache-1-3/m-p/3228832#M47077</link>
      <description>The Apache docs state that&lt;BR /&gt;&lt;BR /&gt; &lt;VIRTUALHOST addr=""&gt; ... &lt;/VIRTUALHOST&gt;&lt;BR /&gt;&lt;BR /&gt;Addr can be&lt;BR /&gt;The IP address of the virtual host&lt;BR /&gt;A fully qualified domain name for the IP address of the virtual host.&lt;BR /&gt;&lt;BR /&gt;The special name _default_ can be specified in which case this virtual host will match any IP address that is not explicitly listed in another virtual host. In the absence of any _default_ virtual host the "main" server config, consisting of all those definitions outside any VirtualHost section, is used when no match occurs.&lt;BR /&gt;&lt;BR /&gt;cf. &lt;A href="http://httpd.apache.org/docs/mod/core.html#virtualhost" target="_blank"&gt;http://httpd.apache.org/docs/mod/core.html#virtualhost&lt;/A&gt;</description>
      <pubDate>Mon, 29 Mar 2004 08:34:36 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/question-about-virtual-hosts-on-apache-1-3/m-p/3228832#M47077</guid>
      <dc:creator>Martin Vorlaender</dc:creator>
      <dc:date>2004-03-29T08:34:36Z</dc:date>
    </item>
    <item>
      <title>Re: Question about virtual hosts on Apache 1.3...</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/question-about-virtual-hosts-on-apache-1-3/m-p/3228833#M47078</link>
      <description>Martin,&lt;BR /&gt;Consider this known.&lt;BR /&gt;&lt;BR /&gt;I have just checked on my VMS system, and all webs are found using DIG on the address expected: on the _outside_ address (so NOT 192.168.0.2).&lt;BR /&gt;&lt;BR /&gt;Anyway - you put me on the right track:&lt;BR /&gt;&lt;BR /&gt;&lt;VIRTUAL host="" 192.168.0.2=""&gt;&lt;BR /&gt;&lt;SERVERNAME web1.domain.tlb=""&gt;&lt;BR /&gt;...&lt;BR /&gt;&lt;/SERVERNAME&gt;&lt;BR /&gt;same for web2 and web3.&lt;BR /&gt;&lt;BR /&gt;From outside: it works. From inside, it works by separate addresses (192,168.0.11, .12, and .13) but not by name. I'll check on that later.&lt;BR /&gt;&lt;BR /&gt;NO _default_ - yet - but since web1 is the first of the virtual webs, that would automaticly be the default one. At least, says Alan Winston. &lt;BR /&gt;&lt;/VIRTUAL&gt;</description>
      <pubDate>Mon, 29 Mar 2004 15:55:25 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/question-about-virtual-hosts-on-apache-1-3/m-p/3228833#M47078</guid>
      <dc:creator>Willem Grooters</dc:creator>
      <dc:date>2004-03-29T15:55:25Z</dc:date>
    </item>
  </channel>
</rss>

