All posts by Nick

[PATCH] Add mod_substitute to www/apache22 in FreeBSD

For some reason, the www/apache22 FreeBSD port does not support the mod_substitute module even though it’s bundled standard with Apache. The following patch enables building of this useful module, which compiles and works just fine out of the box.

UPDATE: After e-mailing the maintainer, this patch has been officially merged into the port as of March 29, 2011.

Continue reading [PATCH] Add mod_substitute to www/apache22 in FreeBSD

How to Get Windows 7 to Synchronize the Time at a Custom Interval of Your Choosing

Out of the box, Windows 7 synchronizes the system clock with time.windows.com every night at 1:00 a.m. †

The actual synchronization with the NTP server is performed by the Windows Time service (W32Time). Windows Time has two modes of operation:

  1. Start on demand, synchronize the clock, and stop, or
  2. run 24/7 and keep the clock synchronized automatically.

Number one is the default behavior on a standard installation of Windows 7. Rather than run at all times, Windows Time has a startup type of Manual, and every night at 1 a.m. the system starts the service, synchronizes the clock, and stops the service. This is accomplished with a scheduled task. In other words, the scheduling is left to the Task Scheduler service rather than the Windows Time service.

Continue reading How to Get Windows 7 to Synchronize the Time at a Custom Interval of Your Choosing