Configuring Apache

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

 



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@xxxxxxxxxxxxxxxxxxxxxx
#    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>





-- 
Shrike-list mailing list
Shrike-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/shrike-list

[Index of Archives]     [Fedora Users]     [Centos Users]     [Kernel Development]     [Red Hat Install]     [Red Hat Watch]     [Red Hat Development]     [Red Hat Phoebe Beta]     [Yosemite Forum]     [Fedora Discussion]     [Gimp]     [Stuff]     [Yosemite News]

  Powered by Linux