David R. Heffelfinger

  Ensode Technology, LLC

 

Blocking External Domains Pointed to Your IP Address


Last night I realized some bozo decided to point his domain name to my site. I don't know exactly what he was thinking, or what benefit he could possibly get from doing so. The only thing I could think would happen is that all my content would have an exact duplicate in Google, and we all know Google doesn't like duplicate content.

I contacted eApps,my hosting company, they contacted the owner of the intruding domain, and he refused to remove his domain name from my IP address. Tech support suggested I could set up an Apache rule to serve only my domains from my IP address.

I googled around to see how to go about this, but came out blank. Most issues I found were about preventing specific hosts to link to my site, which is not what I was trying to do. Once again I asked eApps support, and they came up with a solution.

I needed to add some rules to the Apache .htaccess file that would result in only my domains being served from my IP address:

SetEnvIfNoCase Host "mysite1\.com" local_sites
SetEnvIfNoCase Host "mysite2\.com" local_sites
Order Allow,Deny
Allow from env=local_sites

Adding the above lines to .htaccess did the trick. The bozo is no longer serving my content from his domain.

Evolution Send/Receive Icon Grayed Out


Evolution is a very popular GNOME email client for Linux. It's user interface is very similar to Microsoft Outlook, making it easy for users of Outlook to migrate.
Just like Outlook, Evolution has a Send/Receive icon in it's icon toolbar.

Sometimes, the Send/Receive icon is grayed out, perhaps because we started evolution before we had a network connection. This situation is somewhat common in laptops, when Evolution is fired before obtaining a WIFI connection.

It may not be intuitive how to enable the Send/Receive icon, well, fortunately it is very simple, all that is needed is to go to File->Work Online, and the Send/Receive icon will be enabled.

 
 
 
 
 

October 2008 »
SunMonTueWedThuFriSat
   
1
2
3
4
5
8
9
12
14
16
18
19
20
21
24
26
28
29
30
 
       
Today

 
© David R. Heffelfinger