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.

 
 
 
 

I can't fix your corrupted PDF


Just like I can't fix corrupted Excel spreadsheets, I neither can fix corrupted PDF files. By the way, if your PDF requires a password just to be read, I can't help you crack it. However, if you can't copy and paste or print your PDF (but you can read it), I wrote an utility you can use to remove those restrictions: http://www.ensode.net/pdf-crack.jsf.

I can't fix your corrupted Excel Spreadsheet


Since a while back I wrote a utility that can , every now and then I receive emails from random people asking me to fix their corrupted excel files.

Well, sorry, I am unable to do that, good luck.

 
 
 
 
 

October 2008 »
SunMonTueWedThuFriSat
   
1
2
3
4
5
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
 
       
Today

 
© David R. Heffelfinger