[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Configuring Apache



I'm trying to configure Apache to virtual host Non-IP sites and I'm getting
following error during the start-up of my server.
May you please assist me on how to correctly setup my Apache. 

Error Message
Nov  3 20:31:28 Redhat9 httpd: [Mon Nov 03 20:31:28 2003] [warn]
NameVirtualHost 192.63.122.148:80 has no VirtualHosts
Nov  3 20:31:28 Redhat9 httpd: (99)Cannot assign requested address:
make_sock: could not bind to address 192.63.122.148:80
Nov  3 20:31:28 Redhat9 httpd: no listening sockets available, shutting down
Nov  3 20:31:28 Redhat9 httpd: httpd startup failed

I have configured my http.conf as follows.

ServerTokens OS
ServerRoot "/etc/httpd"

PidFile run/httpd.pid
Listen 192.63.122.148:80
 
### Section 3: Virtual Hosts
# VirtualHost: If you want to maintain multiple domains/hostnames on your
# machine you can setup VirtualHost containers for them. Most configurations
# use only name-based virtual hosts so the server doesn't need to worry
about
# IP addresses. This is indicated by the asterisks in the directives below.
#
# Please see the documentation at 
# Use name-based virtual hosting.

#NameVirtualHost *
NameVirtualHost 192.63.122.148:80

# VirtualHost example:
# Almost any Apache directive may go into a VirtualHost container.
# The first VirtualHost section is used for requests without a known
# server name.
#
#<VirtualHost *>
#    ServerAdmin webmaster dummy-host example com
#    DocumentRoot /www/docs/dummy-host.example.com
#    ServerName dummy-host.example.com
#    ErrorLog logs/dummy-host.example.com-error_log
#    CustomLog logs/dummy-host.example.com-access_log common
#  </VirtualHost>

<VirtualHost * >
  DocumentRoot /www/love
  ServerName www.loveness.co.zw
</VirtualHost>


<VirtualHost * >
 DocumentRoot /www/kamutande
 ServerName www.kamutande.co.zw
</VirtualHost>







[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]