Skip to main content

Apache2 VirtualHost configurations

I'm unable to get rid of these warning messages on one of my webservers:
ashant@washington:~$ sudo apache2ctl configtest
[Sun Apr 26 00:16:19 2009] [warn] _default_ VirtualHost overlap on port 80, the first has precedence
[Sun Apr 26 00:16:19 2009] [warn] _default_ VirtualHost overlap on port 80, the first has precedence
[Sun Apr 26 00:16:19 2009] [warn] _default_ VirtualHost overlap on port 80, the first has precedence
[Sun Apr 26 00:16:19 2009] [warn] VirtualHost eby.xxx.com:80 overlaps with VirtualHost admin.xxx.com:80, the first has precedence, perhaps you need a NameVirtualHost directive
[Sun Apr 26 00:16:19 2009] [warn] VirtualHost www.xxx.com:80 overlaps with VirtualHost eby.xxx.com:80, the first has precedence, perhaps you need a NameVirtualHost directive
Syntax OK
These are the VirtualHost tags for each of the subdomains noted above.
ServerName admin.xxx.com
ServerAdmin it@xxx.com

DocumentRoot "/home/xxx/www/admin/"

CustomLog /var/log/apache2/xxx.com/access.log combined
ErrorLog /var/log/apache2/xxx.com/error.log
LogLevel warn
The eby subdomain.
ServerName eby.xxx.com
ServerAdmin it@ xxx.com

DocumentRoot "/home/eby/www"

CustomLog /var/log/apache2/xxx.com/access.log combined
ErrorLog /var/log/apache2/xxx.com/error.log

LogLevel warn
Each of the sites configured in the VirtualHosts are all working just fine though.

Comments

Ashant said…
ashant@washington:/etc/apache2/sites-enabled$ ls -l
total 0
lrwxrwxrwx 1 root root 36 2007-07-06 15:32 000-default -> /etc/apache2/sites-available/default
lrwxrwxrwx 1 root root 32 2007-07-07 13:43 001-c24.com -> ../sites-available/confero24.com
lrwxrwxrwx 1 root root 32 2007-07-09 01:12 002-sb.org -> ../sites-available/sellerbay.org
lrwxrwxrwx 1 root root 31 2007-07-17 10:09 003-indescon.org -> ../sites-available/indescon.org
lrwxrwxrwx 1 root root 32 2007-07-29 03:53 004-shinnin.co.uk -> ../sites-available/shinnin.co.uk
lrwxrwxrwx 1 root root 28 2007-07-29 10:13 005-wapsol.de -> ../sites-available/wapsol.de
lrwxrwxrwx 1 root root 31 2007-08-16 04:38 006-euroblaze.de -> ../sites-available/euroblaze.de
lrwxrwxrwx 1 root root 32 2007-08-16 04:38 007-euroblaze.net -> ../sites-available/euroblaze.net
lrwxrwxrwx 1 root root 40 2007-08-26 12:54 008-pavone-mechanical.com -> ../sites-available/pavone-mechanical.com
lrwxrwxrwx 1 root root 36 2007-11-04 02:06 009-euroblaze.net.ssl -> ../sites-available/euroblaze.net.ssl
lrwxrwxrwx 1 root root 31 2007-12-15 09:10 010-chalasani.de -> ../sites-available/chalasani.de
lrwxrwxrwx 1 root root 42 2008-02-07 17:48 011-orpheus-musiktheater.de -> ../sites-available/orpheus-musiktheater.de
lrwxrwxrwx 1 root root 29 2008-03-22 02:41 012-10wifi.com -> ../sites-available/10wifi.com
lrwxrwxrwx 1 root root 29 2008-12-28 16:43 013-toymann.de -> ../sites-available/toymann.de
lrwxrwxrwx 1 root root 35 2009-01-11 05:24 014-indescon.org.ssl -> ../sites-available/indescon.org.ssl

'grep general *' returns no output.

Popular posts from this blog

Paypal's Ridiculous Business Practices

In Q3-2005 we discovered the power of online sales and started to market Wapsol's products extensively online. Just as importantly we decided to get into the trading business for WLAN accessories (antennae, cable, connectors etc) which entails buying from manufacturers and selling on online-retail. Needless to say ebay's 26 worldwide markets were lucrative points of sales.

We used Paypal for collecting most of payments from customers outside Germany. The numbers ticked up fast and we were hecticly building up infrastructure for shipping, online-support, product-portfolio and payment-systems.

One morning as I woke up in Germany I found that Paypal decided to lock up our account without any specific reason. There were no disputes or complaints from buyers or anything that suggested provocation. They just locked it. In it a few thousands of dollars of cash-flow and the account was listed as a favored payment option for some 100 pending auctions - now customers couldn't pay for …

The Dream of the Information Age

If this beauty of a device meets it's mission of being owned by every kid on the planet, we are looking to a new dimension of the Information Age.
For full profile of the device, visit BBC's technology page.

SnagIT Problem Solved! (Hangs for minutes)

Here's the solution to the SnagIT sluggishness (hangs for several minutes)
I would try first turning off the magnifier window under tools > program preferences > program options. Uncheck the box to show magnifier windows. Click apply > ok and then try the capture again.Check your security software and make sure that Snagit is set as a safe application. A security program that consistently scans the process will cause a very slow response like you are seeing.Please also check your printers per this article:Answer Title: Slow SnagIt startupAnswer Link: http://techsmith.custhelp.com/cgi-bin/techsmith.cfg/php/enduser/std_adp.php?p_faqid=742Finally, please review the steps here and try these as well:Answer Title: SnagIt crashes or hangs when launchedAnswer Link: http://techsmith.custhelp.com/cgi-bin/techsmith.cfg/php/enduser/std_adp.php?p_faqid=137Let me know what happens.