<?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: Apache + Vhosts in Operating System - Linux</title>
    <link>https://community.hpe.com/t5/operating-system-linux/apache-vhosts/m-p/4046509#M29549</link>
    <description>&lt;BR /&gt;root@rails:/etc/apache2# tail -f /var/log/apache2/error.log&lt;BR /&gt;&lt;BR /&gt;[Mon Jul 30 17:07:05 2007] [notice] caught SIGTERM, shutting down&lt;BR /&gt;[Mon Jul 30 17:07:06 2007] [notice] Apache/2.0.55 (Ubuntu) configured -- resuming normal operations&lt;BR /&gt;[Mon Jul 30 17:07:44 2007] [notice] caught SIGTERM, shutting down&lt;BR /&gt;[Mon Jul 30 17:07:45 2007] [notice] Apache/2.0.55 (Ubuntu) configured -- resuming normal operations&lt;BR /&gt;[Mon Jul 30 17:13:39 2007] [error] [client 192.168.168.66] File does not exist: /home/www/default/favicon.ico&lt;BR /&gt;[Mon Jul 30 17:13:39 2007] [error] [client 192.168.168.66] File does not exist: /home/www/default/favicon.ico&lt;BR /&gt;[Mon Jul 30 17:23:15 2007] [notice] caught SIGTERM, shutting down&lt;BR /&gt;[Mon Jul 30 17:23:16 2007] [notice] Apache/2.0.55 (Ubuntu) configured -- resuming normal operations&lt;BR /&gt;[Mon Jul 30 17:25:15 2007] [notice] caught SIGTERM, shutting down&lt;BR /&gt;[Mon Jul 30 17:25:16 2007] [notice] Apache/2.0.55 (Ubuntu) configured -- resuming normal operations&lt;BR /&gt;[Tue Jul 31 08:22:09 2007] [notice] caught SIGTERM, shutting down&lt;BR /&gt;[Tue Jul 31 08:22:10 2007] [notice] Apache/2.0.55 (Ubuntu) configured -- resuming normal operations&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;root@rails:~# apache2ctl -t -D DUMP_VHOSTS&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;VirtualHost configuration:&lt;BR /&gt;192.168.168.249:80     pkirklewski.com (/etc/apache2/sites-enabled/pkirklewski.com:1)&lt;BR /&gt;wildcard NameVirtualHosts and _default_ servers:&lt;BR /&gt;*:*                    is a NameVirtualHost&lt;BR /&gt;         default server pkirklewski.com (/etc/apache2/sites-enabled/000-default:2)&lt;BR /&gt;         port * namevhost pkirklewski.com (/etc/apache2/sites-enabled/000-default:2)&lt;BR /&gt;Syntax OK&lt;BR /&gt;</description>
    <pubDate>Tue, 31 Jul 2007 02:22:59 GMT</pubDate>
    <dc:creator>Piotr Kirklewski</dc:creator>
    <dc:date>2007-07-31T02:22:59Z</dc:date>
    <item>
      <title>Apache + Vhosts</title>
      <link>https://community.hpe.com/t5/operating-system-linux/apache-vhosts/m-p/4046507#M29547</link>
      <description>Hi there I did:&lt;BR /&gt;&lt;BR /&gt;vim /etc/apache2/sites-available/default&lt;BR /&gt;&lt;BR /&gt;NameVirtualHost *&lt;BR /&gt;&lt;VIRTUALHOST&gt;&lt;BR /&gt;ServerName domain.com&lt;BR /&gt;DocumentRoot /home/www/default/&lt;BR /&gt;&lt;/VIRTUALHOST&gt;&lt;BR /&gt;&lt;BR /&gt;mkdir /home/www/default&lt;BR /&gt;&lt;BR /&gt;vim /home/www/default/index.html &lt;BR /&gt;&lt;BR /&gt;/etc/init.d/apache2 force-reload&lt;BR /&gt;&lt;BR /&gt;mkdir /home/pkirklewski.com&lt;BR /&gt;&lt;BR /&gt;vim /home/pkirklewski.com/index.html #some text inside&lt;BR /&gt;&lt;BR /&gt;vim /etc/apache2/sites-available/pkirklewski.com&lt;BR /&gt;&lt;BR /&gt;root@rails:/home/www# vim /etc/apache2/sites-available/pkirklewski.com&lt;BR /&gt; &lt;VIRTUALHOST 80=""&gt;&lt;BR /&gt;   ServerAdmin webmaster@pkirklewski.com&lt;BR /&gt;   DocumentRoot /home/www/pkirklewski.com&lt;BR /&gt;   ServerName pkirklewski.com&lt;BR /&gt;   ServerAlias &lt;A href="http://www.example.com" target="_blank"&gt;www.example.com&lt;/A&gt;&lt;BR /&gt;&lt;/VIRTUALHOST&gt;&lt;BR /&gt;&lt;BR /&gt;a2ensite /etc/apache2/sites-available/pkirklewski.com /etc/apache2/sites-enabled/pkirklewski.com&lt;BR /&gt;&lt;BR /&gt;At this point I'm getting error:&lt;BR /&gt;&lt;BR /&gt;This site does not exist!&lt;BR /&gt;&lt;BR /&gt;What am I doing wrong ?&lt;BR /&gt;&lt;BR /&gt;Cheers&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Mon, 30 Jul 2007 11:22:10 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/apache-vhosts/m-p/4046507#M29547</guid>
      <dc:creator>Piotr Kirklewski</dc:creator>
      <dc:date>2007-07-30T11:22:10Z</dc:date>
    </item>
    <item>
      <title>Re: Apache + Vhosts</title>
      <link>https://community.hpe.com/t5/operating-system-linux/apache-vhosts/m-p/4046508#M29548</link>
      <description>And what was the error you got in the 'error_log' ?</description>
      <pubDate>Mon, 30 Jul 2007 17:23:43 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/apache-vhosts/m-p/4046508#M29548</guid>
      <dc:creator>Stuart Browne</dc:creator>
      <dc:date>2007-07-30T17:23:43Z</dc:date>
    </item>
    <item>
      <title>Re: Apache + Vhosts</title>
      <link>https://community.hpe.com/t5/operating-system-linux/apache-vhosts/m-p/4046509#M29549</link>
      <description>&lt;BR /&gt;root@rails:/etc/apache2# tail -f /var/log/apache2/error.log&lt;BR /&gt;&lt;BR /&gt;[Mon Jul 30 17:07:05 2007] [notice] caught SIGTERM, shutting down&lt;BR /&gt;[Mon Jul 30 17:07:06 2007] [notice] Apache/2.0.55 (Ubuntu) configured -- resuming normal operations&lt;BR /&gt;[Mon Jul 30 17:07:44 2007] [notice] caught SIGTERM, shutting down&lt;BR /&gt;[Mon Jul 30 17:07:45 2007] [notice] Apache/2.0.55 (Ubuntu) configured -- resuming normal operations&lt;BR /&gt;[Mon Jul 30 17:13:39 2007] [error] [client 192.168.168.66] File does not exist: /home/www/default/favicon.ico&lt;BR /&gt;[Mon Jul 30 17:13:39 2007] [error] [client 192.168.168.66] File does not exist: /home/www/default/favicon.ico&lt;BR /&gt;[Mon Jul 30 17:23:15 2007] [notice] caught SIGTERM, shutting down&lt;BR /&gt;[Mon Jul 30 17:23:16 2007] [notice] Apache/2.0.55 (Ubuntu) configured -- resuming normal operations&lt;BR /&gt;[Mon Jul 30 17:25:15 2007] [notice] caught SIGTERM, shutting down&lt;BR /&gt;[Mon Jul 30 17:25:16 2007] [notice] Apache/2.0.55 (Ubuntu) configured -- resuming normal operations&lt;BR /&gt;[Tue Jul 31 08:22:09 2007] [notice] caught SIGTERM, shutting down&lt;BR /&gt;[Tue Jul 31 08:22:10 2007] [notice] Apache/2.0.55 (Ubuntu) configured -- resuming normal operations&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;root@rails:~# apache2ctl -t -D DUMP_VHOSTS&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;VirtualHost configuration:&lt;BR /&gt;192.168.168.249:80     pkirklewski.com (/etc/apache2/sites-enabled/pkirklewski.com:1)&lt;BR /&gt;wildcard NameVirtualHosts and _default_ servers:&lt;BR /&gt;*:*                    is a NameVirtualHost&lt;BR /&gt;         default server pkirklewski.com (/etc/apache2/sites-enabled/000-default:2)&lt;BR /&gt;         port * namevhost pkirklewski.com (/etc/apache2/sites-enabled/000-default:2)&lt;BR /&gt;Syntax OK&lt;BR /&gt;</description>
      <pubDate>Tue, 31 Jul 2007 02:22:59 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/apache-vhosts/m-p/4046509#M29549</guid>
      <dc:creator>Piotr Kirklewski</dc:creator>
      <dc:date>2007-07-31T02:22:59Z</dc:date>
    </item>
    <item>
      <title>Re: Apache + Vhosts</title>
      <link>https://community.hpe.com/t5/operating-system-linux/apache-vhosts/m-p/4046510#M29550</link>
      <description>I really dislike the debian style of vhost configuration..  Always drives me batty.&lt;BR /&gt;&lt;BR /&gt;Anyway, it seems as if you're running a NameVirtualHost server, and using an IP defined as the VirtualHost.&lt;BR /&gt;&lt;BR /&gt;Change the 192.168.168.249:80 to *:80, and see how that responds.&lt;BR /&gt;&lt;BR /&gt;Also, double check the permissions on /home/pkirklewski.com/ and it's files.</description>
      <pubDate>Tue, 31 Jul 2007 02:52:01 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/apache-vhosts/m-p/4046510#M29550</guid>
      <dc:creator>Stuart Browne</dc:creator>
      <dc:date>2007-07-31T02:52:01Z</dc:date>
    </item>
    <item>
      <title>Re: Apache + Vhosts</title>
      <link>https://community.hpe.com/t5/operating-system-linux/apache-vhosts/m-p/4046511#M29551</link>
      <description>This is the way in Ubuntu:&lt;BR /&gt;&lt;BR /&gt;/sbin/ifconfig eth0:0 192.168.168.248&lt;BR /&gt;/sbin/ifconfig eth0:1 192.168.168.249&lt;BR /&gt;&lt;BR /&gt;vim /etc/apache2/sites-available/aaa.com&lt;BR /&gt;&lt;BR /&gt;&lt;VIRTUALHOST 192.168.168.248=""&gt;&lt;BR /&gt;ServerName &lt;A href="http://www.aaa.com" target="_blank"&gt;www.aaa.com&lt;/A&gt;&lt;BR /&gt;ServerAlias aaa.com&lt;BR /&gt;DocumentRoot /var/www/html/aaa.com/html&lt;BR /&gt;ErrorLog /var/log/apache2/&lt;A href="http://www.anothercompany.com-error_log" target="_blank"&gt;www.anothercompany.com-error_log&lt;/A&gt;&lt;BR /&gt;CustomLog /var/log/apache2/&lt;A href="http://www.anothercompany.com-access_log" target="_blank"&gt;www.anothercompany.com-access_log&lt;/A&gt; common&lt;BR /&gt;&lt;/VIRTUALHOST&gt;&lt;BR /&gt;&lt;BR /&gt;/etc/init.d/apache2 stop&lt;BR /&gt;/etc/init.d/apache2 start&lt;BR /&gt;&lt;BR /&gt;EEDIT /etc/hosts and add 192.168.168.248 aaa.com&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;vim /etc/apache2/sites-available/bbb.com&lt;BR /&gt;&lt;BR /&gt;&lt;VIRTUALHOST 192.168.168.249=""&gt;&lt;BR /&gt;ServerName &lt;A href="http://www.bbb.com" target="_blank"&gt;www.bbb.com&lt;/A&gt;&lt;BR /&gt;ServerAlias bbb.com&lt;BR /&gt;DocumentRoot /var/www/html/bbb.com/html&lt;BR /&gt;&lt;/VIRTUALHOST&gt;&lt;BR /&gt;&lt;BR /&gt;/etc/init.d/apache2 stop&lt;BR /&gt;/etc/init.d/apache2 start&lt;BR /&gt;&lt;BR /&gt;EEDIT /etc/hosts and add 192.168.168.248 bbb.com&lt;BR /&gt;</description>
      <pubDate>Thu, 02 Aug 2007 10:25:16 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/apache-vhosts/m-p/4046511#M29551</guid>
      <dc:creator>Piotr Kirklewski</dc:creator>
      <dc:date>2007-08-02T10:25:16Z</dc:date>
    </item>
  </channel>
</rss>

