<?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: HP-Apache Virtual Hosts on HP-UX in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/hp-apache-virtual-hosts-on-hp-ux/m-p/4183003#M693208</link>
    <description>In case i want to use different IPs then how to configure ?&lt;BR /&gt;&lt;BR /&gt;-Raj</description>
    <pubDate>Sat, 19 Apr 2008 05:18:27 GMT</pubDate>
    <dc:creator>Raj_112345</dc:creator>
    <dc:date>2008-04-19T05:18:27Z</dc:date>
    <item>
      <title>HP-Apache Virtual Hosts on HP-UX</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/hp-apache-virtual-hosts-on-hp-ux/m-p/4183001#M693206</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;I want to configure HP-Apache for 3 sites using Virtual Hosts.&lt;BR /&gt;Say the sites are &lt;A href="http://www.abc1.com," target="_blank"&gt;www.abc1.com,&lt;/A&gt; &lt;A href="http://www.abc2.com" target="_blank"&gt;www.abc2.com&lt;/A&gt; and abc3.com ?&lt;BR /&gt;&lt;BR /&gt;Can someone suggest me how to configure these ?&lt;BR /&gt;&lt;BR /&gt;Thanks in advance,&lt;BR /&gt;Raj&lt;BR /&gt;</description>
      <pubDate>Fri, 18 Apr 2008 20:45:02 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/hp-apache-virtual-hosts-on-hp-ux/m-p/4183001#M693206</guid>
      <dc:creator>Raj_112345</dc:creator>
      <dc:date>2008-04-18T20:45:02Z</dc:date>
    </item>
    <item>
      <title>Re: HP-Apache Virtual Hosts on HP-UX</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/hp-apache-virtual-hosts-on-hp-ux/m-p/4183002#M693207</link>
      <description>Hi Raj&lt;BR /&gt;&lt;BR /&gt;A. Setting up the system hosting Apache webserver. &lt;BR /&gt;There are two ways. &lt;BR /&gt;(i) Without changing DNS entries: &lt;BR /&gt;Edit the file /etc/hosts &lt;BR /&gt;Change: &lt;BR /&gt;192.168.1.1 yourserver yourserver.com&lt;BR /&gt;127.0.0.1 localhost loopback&lt;BR /&gt;To: &lt;BR /&gt;192.168.1.1 yourserver yourserver.com&lt;BR /&gt;192.168.1.1 foo &lt;A href="http://www.abc2.com" target="_blank"&gt;www.abc2.com&lt;/A&gt;&lt;BR /&gt;192.168.1.1 bar &lt;A href="http://www.abc3.com" target="_blank"&gt;www.abc3.com&lt;/A&gt;&lt;BR /&gt;127.0.0.1 localhost loopback&lt;BR /&gt;Edit the file /etc/nsswitch.conf &lt;BR /&gt;Change: &lt;BR /&gt;hosts: dns files &lt;BR /&gt;To: &lt;BR /&gt;hosts: files [NOTFOUND=continue] dns &lt;BR /&gt;The above will allow the system to look at your /etc/hosts file first for any machine-name and if it wasn't found there, lookup using the DNS.  &lt;BR /&gt;(ii) Changing DNS entries &lt;BR /&gt;Edit your DNS lookup table to add: &lt;BR /&gt;192.168.1.1 foo &lt;A href="http://www.abc2.com" target="_blank"&gt;www.abc2.com&lt;/A&gt;&lt;BR /&gt;192.168.1.1 bar &lt;A href="http://www.abc3.com" target="_blank"&gt;www.abc3.com&lt;/A&gt;&lt;BR /&gt;B. Setting up the Apache webserver for name based virtual hosting on the same IP address. &lt;BR /&gt;&lt;BR /&gt;In the file /opt/hpws/apache/conf/httpd.conf go to â  Section 3: Virtual Hostsâ  . &lt;BR /&gt;Add the following: &lt;BR /&gt;NameVirtualHost 192.168.1.1&lt;BR /&gt;&lt;BR /&gt;&lt;VIRTUALHOST abc2=""&gt;&lt;BR /&gt;    DocumentRoot /opt/hpws/apache/htdocs-foo&lt;BR /&gt;    ServerName &lt;A href="http://www.abc2.com" target="_blank"&gt;www.abc2.com&lt;/A&gt;&lt;BR /&gt;&lt;/VIRTUALHOST&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;VIRTUALHOST bar3=""&gt;&lt;BR /&gt;    DocumentRoot /opt/hpws/apache/htdocs-bar&lt;BR /&gt;    ServerName &lt;A href="http://www.abc3.com" target="_blank"&gt;www.abc3.com&lt;/A&gt;&lt;BR /&gt;&lt;/VIRTUALHOST&gt;&lt;BR /&gt;To test the configuration enter &lt;BR /&gt;/opt/hpws/apache/bin/httpd -t -D DUMP_VHOSTS &lt;BR /&gt;You should see the text: &lt;BR /&gt;VirtualHost configuration:&lt;BR /&gt;    192.168.1.1:80 is a NameVirtualHost&lt;BR /&gt;    default server &lt;A href="http://www.abc.com" target="_blank"&gt;www.abc.com&lt;/A&gt; (/opt/hpws/apache/conf/httpd.conf:1299)&lt;BR /&gt;    port 80 namevhost &lt;A href="http://www.abc2.com" target="_blank"&gt;www.abc2.com&lt;/A&gt; (/opt/hpws/apache/conf/httpd.conf:1299)&lt;BR /&gt;    port 80 namevhost &lt;A href="http://www.abc3.com" target="_blank"&gt;www.abc3.com&lt;/A&gt; (/opt/hpws/apache/conf/httpd.conf:1304)&lt;BR /&gt;</description>
      <pubDate>Sat, 19 Apr 2008 04:16:43 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/hp-apache-virtual-hosts-on-hp-ux/m-p/4183002#M693207</guid>
      <dc:creator>Jeeshan</dc:creator>
      <dc:date>2008-04-19T04:16:43Z</dc:date>
    </item>
    <item>
      <title>Re: HP-Apache Virtual Hosts on HP-UX</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/hp-apache-virtual-hosts-on-hp-ux/m-p/4183003#M693208</link>
      <description>In case i want to use different IPs then how to configure ?&lt;BR /&gt;&lt;BR /&gt;-Raj</description>
      <pubDate>Sat, 19 Apr 2008 05:18:27 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/hp-apache-virtual-hosts-on-hp-ux/m-p/4183003#M693208</guid>
      <dc:creator>Raj_112345</dc:creator>
      <dc:date>2008-04-19T05:18:27Z</dc:date>
    </item>
    <item>
      <title>Re: HP-Apache Virtual Hosts on HP-UX</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/hp-apache-virtual-hosts-on-hp-ux/m-p/4183004#M693209</link>
      <description>hi Raj,&lt;BR /&gt;&lt;BR /&gt;The DNS or /etc/hosts should normally take care of the IP addresses. As far as possible use names and nothing to worry about in the configuration file ( /opt/hpws/apache/conf/httpd.conf )&lt;BR /&gt;&lt;BR /&gt;Hope Ahsan ustad agrees with me...&lt;BR /&gt;&lt;BR /&gt;hope this helps!&lt;BR /&gt;kind regards&lt;BR /&gt;yogeeraj</description>
      <pubDate>Sat, 19 Apr 2008 05:30:47 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/hp-apache-virtual-hosts-on-hp-ux/m-p/4183004#M693209</guid>
      <dc:creator>Yogeeraj_1</dc:creator>
      <dc:date>2008-04-19T05:30:47Z</dc:date>
    </item>
    <item>
      <title>Re: HP-Apache Virtual Hosts on HP-UX</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/hp-apache-virtual-hosts-on-hp-ux/m-p/4183005#M693210</link>
      <description>Hi Raj,&lt;BR /&gt;&lt;BR /&gt;Could U pls see the below URL site, I think so it will help full for U:-&lt;BR /&gt;&lt;A href="http://www.hp.com/products1/unix/webservers/apache/faqs/" target="_blank"&gt;http://www.hp.com/products1/unix/webservers/apache/faqs/&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Thanks--Yaqub&lt;BR /&gt;I am a Customer Advocate!!!</description>
      <pubDate>Sat, 19 Apr 2008 06:46:32 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/hp-apache-virtual-hosts-on-hp-ux/m-p/4183005#M693210</guid>
      <dc:creator>YAQUB_1</dc:creator>
      <dc:date>2008-04-19T06:46:32Z</dc:date>
    </item>
  </channel>
</rss>

