[Koha] koha install problems on RH 7.2

Pete Dubler pete at dublerfamily.com
Mon Jun 17 13:53:32 UTC 2002


Thanks for the quick reply.
"Md. Aftabuddin" wrote:

> you are using 192.168.2.5 twice
> use two different numbers i.e. 192.168.2.5 and 192.168.2.6 or any
> other like that, for that you hav to set two ip addresses for your machine
> using netconfig command or other.
>
> Md.Aftabuddin
>

Turns out that this is not a problem according to all of the Apache doc on
virtual hosting, but thanks for trying to help me.

# From the web page:  http://httpd.apache.org/docs/vhosts/examples.html, come
the following example.


More complicated name-based vhosts

     Setup 1: The server machine has one IP address (111.22.33.44) which
resolves to the name server.domain.tld. There are two
     aliases (CNAMEs) www.domain.tld and www.sub.domain.tld for the address
111.22.33.44.

     Server configuration:

              ...
              Port 80
              ServerName server.domain.tld

              NameVirtualHost 111.22.33.44

              <VirtualHost 111.22.33.44>
              DocumentRoot /www/domain
              ServerName www.domain.tld
              ...
              </VirtualHost>

              <VirtualHost 111.22.33.44>
              DocumentRoot /www/subdomain
              ServerName www.sub.domain.tld
              ...
              </VirtualHost>


          Apart from localhost there are no unspecified addresses/ports,
therefore the main server only serves localhost requests.
          Due to the fact that www.domain.tld has the highest priority it can
be seen as the default or primary server.




More information about the Koha mailing list