When looking to host your site on a Content Delivery Network, there are a few questions as to how it works. With some providers, you are supplied a CNAME that utilizes anycast to resolve to a different IP depending on where in the world you are:
As an aside, due to the above behavior, a large file pulled through the CDN may hit numerous POPS. If each POP is configured to then pull the full file from the hosted origin, you can incur a LOT of traffic. Think a 44GB video file was rough, image paying for it being transferred 120 times just for one person to watch it. You’re frontloading the content, but still, that’s a lot of data. I digress.
With that, sure, you can resolve the www CNAME to the supplied address. You then ask yourself how do I point my root domain to the CDN. If you use your locally resolved IP address and 301 redirect to the www. CNAME, you only incur the one call to the particular IP. But what if you want the root domain to leverage the abilities of the CDN? You cannot simply point the root domain to the CNAME, that’s bad juju: http://serverfault.com/questions/430970/cname-for-top-of-domain
In the case of other CDN providers, you use their Name Servers, and it is at these nameservers that root domain flattening occurs. That is to say that they perform the resolution at the name server and send out that IP addresses in response to the lookup. This comes with caveats as well. The flattening CloudFlare utilizes gives the TTL the highest value found, not the lowest as you may expect. See here: https://support.cloudflare.com/hc/en-us/articles/200169056-CNAME-Flattening-RFC-compliant-support-for-CNAME-at-the-root
https://gist.github.com/cben/012c1fdbbb69d76cedaf
Solved dotDefender An error occured. Action: get_site_list Exception: Invalid Response or Action: get_xpath Exception: Invalid Response
The full error:
Can’t init python Can’t import module can’t init python Traceback (most recent call last): File “C:\Program Files\Applicure\dotDefender for IIS\cgi-bin\WebServiceLib.py”, line 1, in from WebService_Utils
import * File “C:\Program Files\Applicure\dotDefender for IIS\cgi-bin\WebService_Utils.py”, line 1, in from WebService_OS import * File “C:\Program Files\Applicure\dotDefender for
IIS\cgi-bin\WebService_OS.py”, line 53, in from win32com.client import GetObject, Dispatch File “py26-sp\Lib\site-packages\win32com\client\__init__.py”, line 11, in import gencache File
“py26-sp\Lib\site-packages\win32com\client\gencache.py”, line 662, in __init__() File “py26-sp\Lib\site-packages\win32com\client\gencache.py”, line 58, in __init__ Rebuild() File
“py26-sp\Lib\site-packages\win32com\client\gencache.py”, line 649, in Rebuild _SaveDicts() File “py26-sp\Lib\site-packages\win32com\client\gencache.py”, line 65, in _SaveDicts f =
open(os.path.join(GetGeneratePath(), “dicts.dat”), “wb”) IOError: [Errno 13] Permission denied: ‘C:\\Windows\\TEMP\\gen_py\\2.6\\dicts.dat’
Solution:
I was logged into the admin site under an account that had been added post install using the add_user_permissions_IIS7.bat script. It seems this script misses adding some permissions. In my case I granted permissions to my user to the C:\Windows\Temp\gen_py
folder. I believe I gave them write permissions.
If you need to reset the ColdFusion Administrator Password for ColdFusion 10 or ColdFusion 11, it is much easier than previous versions.
Windows
From the machine running ColdFusion, browse to cf_root/bin, in this case I am in
ColdFusion 10 cfusion bin dorectory
MS DOS
1
C:\ColdFusion10\cfusion\bin
or
ColdFusion 11 cfusion bin dorectory
MS DOS
1
C:\ColdFusion11\cfusion\bin
Right click on
passwordreset.bat
MS DOS
1
passwordreset.bat
and choose Run as administrator to ensure proper permissions during runtime. Enter 1 to change the password. Enter in the new password, and then re enter it to confirm. If not using RDS, you can leave the entry blank for the next two submissions, otherwise fill the RDS password in on both entries. Restart the ColdFusion Application Server and try to login. You may need to restart your browser to clear any cached session aspects that may cause issues.
Linux
SSH into the machine running ColdFusion. Navigate to cf_root/bin, in this case I am using
Enter 1 to change the password. Enter in the new password, and then re enter it to confirm. If not using RDS, you can leave the entry blank for the next two submissions, otherwise fill the RDS password in on both entries. Restart the ColdFusion Application Server and try to login. You may need to restart your browser to clear any cached session aspects that may cause issues.
A little backstory, On 3-14-1998 I find out it is Pi Day, and being a fat kid understand it as Pie Day. I’m thinking of cherry and apple being options during lunch. lol, nope, pi, Ï€, as in 3.14159265359. On 3-14-2016 I am reminded by a coworker that it is Pi Day, and my first reaction is to note that it’s Steak and a Blowjob Day. In 18 years I went from being preoccupied with food to sex.
Spoke to a coworker, the idea to add the ColdFusion user to the IIS_Users group which would inherently add permissions to the web locations. Â Clean and direct, I like it.
KeePass (Professional Edition, I am using the 2 version Portable Package) is a phenomenal tool, that can save you insurmountable amounts of time if configured well.  I have taken the time to use it for numerous schemes and desktop environments to have it work best for me.  Find my learned results below:
The following section shows many helpful setups. Â In order to add a URL override in KeePass 2, click on Tools -> Options and navigate to the Integration Tab. Â Click on URL Overrides… to bring up the following screen:
As you can see, all of the below mentioned are shown in my configuration.  To use any override that calls a non browser application, highlight the entry and press Ctrl + U to initiate it.
putty.exe (ssh scheme)
Add putty.exe to system path
“To the Control Panel System tab then. In the Control Panel, System Properties, select the Environment Variables button at the bottom: and then select Path in the System Variables section, and press the Edit button. This set the path variables to include the PuTTY program directory in the search path.” Â In some cases, it may be System, then Advanced system settings. Â Environment Variables. Â In mine I have:
C:\Program Files (x86)\PuTTY\
added making sure to delimit with semicolons and not end with a semicolon. Â This does require a re login, so either logout/login or reboot for this to take effect.
Once the URL Override is added, from within KeePass highlight the entry and press Ctrl + U to automatically launch RDC with these credentials. Â The credentials are then removed from your system and kept secure in KeePass.
I find in some cases, that this fails to work, using the Download Favicons option.  Usually due to the icon not being on the same site, or not actually linked in the way one would expect. These are of course web specific.  You can change the URL in the entry to a URL where the icon does show, and pull the icon, change the URL back once done to get it.  After that, try www.google.com/s2/favicons such as: