<?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: apche configuration! in Operating System - Linux</title>
    <link>https://community.hpe.com/t5/operating-system-linux/apche-configuration/m-p/3479589#M16213</link>
    <description>Question 1.&lt;BR /&gt;&lt;BR /&gt;Answer: You will need access to the data (the html pages) on the second machine. Then you will need the httpd.conf and other conf files. You may have to make adjustments if you have numeric ip addresses int he configuration files.&lt;BR /&gt;&lt;BR /&gt;If this is apache 2, you can include port numbers in your virutalhost statements.&lt;BR /&gt;&lt;BR /&gt;&lt;VIRTUALHOST&gt;&lt;BR /&gt;DocumentRoot /var/www/html/it&lt;BR /&gt;...&lt;BR /&gt;# other stuff&lt;BR /&gt;&lt;/VIRTUALHOST&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;VIRTUALHOST&gt;&lt;BR /&gt;DocumentRoot /var/www/html/hq&lt;BR /&gt;...&lt;BR /&gt;# other stuff&lt;BR /&gt;&lt;/VIRTUALHOST&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;SEP</description>
    <pubDate>Mon, 07 Feb 2005 10:29:54 GMT</pubDate>
    <dc:creator>Steven E. Protter</dc:creator>
    <dc:date>2005-02-07T10:29:54Z</dc:date>
    <item>
      <title>apche configuration!</title>
      <link>https://community.hpe.com/t5/operating-system-linux/apche-configuration/m-p/3479588#M16212</link>
      <description>Hi all,&lt;BR /&gt;&lt;BR /&gt;I have 2 apache servers (192.168.1.1 and 192.168.1.2) in my network hosted on linux operation system&lt;BR /&gt;I have only one public ip address.(61.6.65.222-&amp;gt;router-ip)&lt;BR /&gt;My router will divert all http requests to 192.168.1.1&lt;BR /&gt;That means &lt;A href="http://61.6.65.222" target="_blank"&gt;http://61.6.65.222&lt;/A&gt; will be &lt;A href="http://192.168.1.1" target="_blank"&gt;http://192.168.1.1&lt;/A&gt;&lt;BR /&gt;I have 2 domain names. It.mydomain.com and hq.mydomain.com &lt;BR /&gt;So &lt;A href="http://it.mydomain.com" target="_blank"&gt;http://it.mydomain.com&lt;/A&gt; , &lt;A href="http://hq.mydomain.com" target="_blank"&gt;http://hq.mydomain.com&lt;/A&gt; and &lt;A href="http://61.6.65.222" target="_blank"&gt;http://61.6.65.222&lt;/A&gt; all will point to 192.168.1.1 server.&lt;BR /&gt;That’s my setup.&lt;BR /&gt;&lt;BR /&gt;Question 1.&lt;BR /&gt;But now I want to point &lt;A href="http://hq.mydomain.com" target="_blank"&gt;http://hq.mydomain.com&lt;/A&gt; to 192.168.1.2 server&lt;BR /&gt;What configurations I have to make in 192.168.1.1 and 192.168.1.2?&lt;BR /&gt;&lt;BR /&gt;Question 2&lt;BR /&gt;I want to use 2 ports ..80 and 8080 &lt;BR /&gt;If I use &lt;A href="http://192.168.1.1" target="_blank"&gt;http://192.168.1.1&lt;/A&gt;&lt;BR /&gt;That should use the document path as /var/www/html/it&lt;BR /&gt;If I use &lt;A href="http://192.168.1.1:8080" target="_blank"&gt;http://192.168.1.1:8080&lt;/A&gt;&lt;BR /&gt;That should use the document path as /var/www/html/hq&lt;BR /&gt;&lt;BR /&gt;How to configure my virual hosts ?&lt;BR /&gt;&lt;BR /&gt;Thanks in advance.&lt;BR /&gt;&lt;BR /&gt;Ajay.&lt;BR /&gt;</description>
      <pubDate>Mon, 07 Feb 2005 02:59:16 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/apche-configuration/m-p/3479588#M16212</guid>
      <dc:creator>ajay_34</dc:creator>
      <dc:date>2005-02-07T02:59:16Z</dc:date>
    </item>
    <item>
      <title>Re: apche configuration!</title>
      <link>https://community.hpe.com/t5/operating-system-linux/apche-configuration/m-p/3479589#M16213</link>
      <description>Question 1.&lt;BR /&gt;&lt;BR /&gt;Answer: You will need access to the data (the html pages) on the second machine. Then you will need the httpd.conf and other conf files. You may have to make adjustments if you have numeric ip addresses int he configuration files.&lt;BR /&gt;&lt;BR /&gt;If this is apache 2, you can include port numbers in your virutalhost statements.&lt;BR /&gt;&lt;BR /&gt;&lt;VIRTUALHOST&gt;&lt;BR /&gt;DocumentRoot /var/www/html/it&lt;BR /&gt;...&lt;BR /&gt;# other stuff&lt;BR /&gt;&lt;/VIRTUALHOST&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;VIRTUALHOST&gt;&lt;BR /&gt;DocumentRoot /var/www/html/hq&lt;BR /&gt;...&lt;BR /&gt;# other stuff&lt;BR /&gt;&lt;/VIRTUALHOST&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;SEP</description>
      <pubDate>Mon, 07 Feb 2005 10:29:54 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/apche-configuration/m-p/3479589#M16213</guid>
      <dc:creator>Steven E. Protter</dc:creator>
      <dc:date>2005-02-07T10:29:54Z</dc:date>
    </item>
  </channel>
</rss>

