Skip to main content

Posts

Showing posts with the label Vista

Fixing slow Apache on localhost under Windows 7

A couple days ago, I documented my recent experience with my wireless network and how I got hacked . I briefly mentioned that I'm installing Windows 7 this time around. Yesterday, I ran into an issue with 32-bit Apache 2.2.15 running on Windows 7 Ultimate 64-bit. This issue appears to only affect 64-bit Windows 7 and 64-bit Windows Vista web developers attempting to run 32-bit Apache on the system. NOTE: I didn't test 64-bit Apache because that is experimental and 64-bit PHP is even more experimental. However, I doubt the results would be too different. The issue is slow response times (anywhere from 1 to 3 seconds per request) when connecting to 'http://localhost/'. Connecting to 'http://127.0.0.1/' and 'http://[NetBIOScomputernamegoeshere]/' have fast response times. I've seen various fixes around that seem to boil down to these three: - Disable the Windows Firewall. - Disable IPv6 support. - Edit the 'hosts' file. It look...

UAC: The Definitive Guide

I'm operating on zero sleep in the last 24 hours as I write this. So I'm going to keep this short. I just finished publishing a new article on CodeProject.com on Vista UAC. I call it the definitive guide because it combines every last bit of knowledge I've got on Vista UAC elevation, provides a really cool package called Elevate, and, well, it is everything a software developer needs to know about UAC and its quirks and workarounds...without having to spend weeks on hunting down the information: http://www.codeproject.com/useritems/UAC__The_Definitive_Guide.asp Plus it is by an author of a book called Safe C++ Design Principles. Oh wait. That's me. I must be tired. While you are reading the above article, be sure to listen to: http://www.jonathancoulton.com/mp3/Re%20Your%20Brains.mp3

TweakUAC

I constantly hear/read complaints about Windows Vista's UAC dialog. The complaint usually goes something like this, "Whenever I do Administrative task X while logged in as an Administrator, Vista asks me if I really want to do said task X." UAC, also known as User Account Control, is designed to not stop users from doing stupid things so much as to stop automated programs from taking over the computer system. But users do get annoyed when they want to do a series of administrative-level tasks and see dialogs popping up in their face constantly asking if they really want to do those tasks. Which is where a tool I found comes in really handy. I don't run Vista, but I have found a solution for the #1 complaint I hear from those who do: http://www.tweak-uac.com/what-is-tweak-uac/ TweakUAC allows system administrators to do administrativey things without being annoyed by the UAC privilege elevation dialogs. Of course, most users who own Vista are usually logged in as A...