Can someone help me to understand why I receive the following errors when restarting my apache2 webserver:
[Fri Nov 09 09:46:43 2012] [warn] VirtualHost 172.30.30.12:443 overlaps with VirtualHost 172.30.30.12:443, the first has precedence, perhaps you need a NameVirtualHost directive [Fri Nov 09 09:46:43 2012] [warn] VirtualHost 172.30.30.12:443 overlaps with VirtualHost 172.30.30.12:443, the first has precedence, perhaps you need a NameVirtualHost directive
The error always appears twice. What is a NameVirtualHost directive?
Thanks.
Name-based virtual hosting is usually simpler, since you need only configure your DNS server to map each hostname to the correct IP address and then configure the Apache HTTP Server to recognize the different hostnames. Name-based virtual hosting also eases the demand for scarce IP addresses.
CGIPassAuth Directive This is to disallow scripts from seeing user ids and passwords used to access the server when HTTP Basic authentication is enabled in the web server.
The DefaultRuntimeDir directive sets the directory in which the server will create various run-time files (shared memory, locks, etc.). If set as a relative path, the full path will be relative to ServerRoot .
Look at this example.
You probably need to add this line to your Apache HTTP Server configuration:
NameVirtualHost 172.30.30.12:443
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With