Posts

Showing posts from 2014

Slow WordPress site and Failing Contact-Form-7

Had a problem with our WordPress website recently where is just suddenly slowed down. Every page used to load in less than 2 seconds but now takes between 6 and 10 seconds just to complete the initial GET response. I've tried several things to troubleshoot and fix this including drilling through long log files, restarting services, disabling/enabling plugins and themes, and even setting up Caching on this small site, to no success. After many hours, I gave up and decided to look at another issue that's popped up on the site - the Contact-Form-7 Captcha stopped working. It would just show a spinning wheel and will get stuck there. Even if I put in the correct captcha key on the form, the email gets sent out but the form stays on with the spinning wheel, so there's no visual acknowledgement to the user. Have gone to google and found a suggestion here to change the permissions on the dynamically created captcha image and text files. From line 70 onwards of \wp-content\plugins...

Cisco ASA 5510: Blocking access by domain name

Was requested to block domains to a certain group of users. This is the code I use on my Cisco 5510 IOS 7.2(2)  to block facebook.com ! define the domains that you want to block regex domain1 "\.facebook\.com" regex domain2 "facebook\.com" ! identify the users' IP addresses. ie, the users you want to block ! if you want to block all, replace 'host 192.168.0.x' with 'any' access-list inside_mpc extended permit tcp host 192.168.0.100 any eq www access-list inside_mpc extended permit tcp host 192.168.0.101 any eq www   class-map type regex match-any DomainBlockList match regex domain1 match regex domain2 class-map type inspect http match-all BlockDomainsClass match request header host regex class DomainBlockList class-map inspection_default match default-inspection-traffic class-map httptraffic match access-list inside_mpc policy-map type inspect http http_inspection_policy parameters   protocol-violation action drop-connection   match reques...

Can't activate Ms Office 2010 over the internet

Image
A user had this problem today where they can't activate their Ms Office 2010 Pro Plus over the internet. The gives out a 0x80070190 error. The solution is actually very easily. Go to C:\Program Files (x86)\Microsoft Office\Office 14\ Right-click on one of the office apps (ex, Outlook.exe) Click on Run As Administrator Then proceed with the activation. 

Chromecast wont connect to WIFI on Cisco 1140 AP

Had this problem in the office. After a quick google search, found the fix by running this command on the AP: no ip igmp snooping Worked nicely right after I added that config.

Multiple Remote Desktop sessions on Windows XP

Continuing on from my last post about setting up RemoteApp on Windows XP. I needed to make the old application available to multiple users, so I have decided to modify the Terminal Service in my WinXP box to allow multiple remote session. I found the instructions here . It's pretty simple. You just need to replace termsrv.dll file and apply some registry changes. But you do have to consider that Windows XP employs a Windows File Protection system that detects when system files are changed and replaces it back with the original microsoft version of it. Here's what I did: Grab the file termsrv_sp3_patch.rar from the link above. Back the file C:\windows\system32\termsrv.dll into another location.  Open service.msc and change the Start-up property of the Terminal Service to Disabled Restart the computer. After restart, delete the file termsrv.dll from the following locations C:\windows\sytem32\ C:\windows\system32\dllcache C:\windows\ServicePacks\x86 Copy the termsrv.dll file from...

RemoteApp on Windows XP

We are using a very old DOS-based system here in the office that is critical to our operations. Unfortunately, it requires IPX protocol and since it's only available on Windows XP (or Windows 2000/2003 servers), I can't upgrade our users' computers to Win 7 or 8. With Window XP now at it's end of support, I need to start migrating to the newer OSes. Short of setting up XP-mode on each one of the new computers, I found a way to make the DOS-based program still available by setting up a Windows XP box as a Terminal Server and using remoteApp to make it appear as if they are only opening the application and not a Remote Desktop session. So what needs to be installed are: Install Microsoft's official Update for Windows XP SP3 to enable RemoteApp To simplify the setup, instead of manually changing registries and modifying RDP files, I opted to use this very handy tool call RemoteAppTool from Kim Knight. You can download here . Once those are installed, logon to the termi...

Physical-to-VM Conversion causes Blue Screen loop on Dell comptuers

I encountered this problem today when I tried to convert 2 Dell PCs into VMware virtual machines. The conversion run fine without any errors at all, but the new VMs won't boot up properly. I'd get the Windows 7 blue-screen-of-death saying something about disks being changed (too fast to read through), followed by a reboot and back to the blue screen again. The source machines were both Dell Optiplex 990 PCs and upon checking the settings, I quickly noticed that the hard disks on the VMs are IDEs. I'm certain that my Dells have SATA, so I knew exactly where the problem was. I remember seeing this same problem with physical machines when SATA was new. Windows would crash if you changed to SATA drives and don't update the BIOS setting to "compatibility mode." The thing that would've prevented this from happening was if I set the correct controller type on the VMWare Converter wizard. Instead, I went with all the default options and VMWare uses IDE if there...