Tech tips & other words

Category: How-To (Page 6 of 7)

Configure Apache Web Sharing for user accounts in Mac OS X 10.5 Leopard

Apple’s new Mac OS X 10.5 (Leopard) changes how web sharing is set up. Thankfully, they’ve moved us all to Apache 2 codebase (a good thingâ?¢). But in doing so, they’ve disabled the ability to serve web pages contained in your home Site directory.

If you turn on Web Sharing from the System Preferences panel, it works for the main computer (http://localhost) but not for user accounts (http://localhost/~username/). Most perplexing is that Apple’s graphical interface confirms that web sharing is turned on for your personal account, but it doesn’t work. This is *very* un-Apple.

Even if you turn on web sharing from the System Preferences panel, you’ll still receive the dreaded 403 Forbidden. You don't have permission to access /~username/ on this server.

Thankfully, it’s a simple oversight on Apple’s part. Your options are two-fold. You can either set it up to activate the Sites directory in all your user accounts, or just for individual ones. I’ll cover both. Continue reading

Macintosh Mail.app speedup and cleanup

Apple’s Mail.app utilizes a SQLite database to manage the mail index. In my case, that’s approaching 10,000 email messages. Constant deleting and moving wreaks havoc over time on this database, resulting in slow-downs and hiccups (or, in the worst case, failure). You can force Mail.app to rebuild its index, resulting in much snappier performance, a reduction in glitches, and a substantial savings in space. Performing this action has caused my mail folder to shrink in size from 780 MB to 363.9 MB. Continue reading

Correct technique for forcing hard drives in Mac OS X to sleep

The energy saver preference panel in Mac OS X offers a simplistic approach to managing energy saving settings, such as sleep time for the computer and disks. A user might think that by deselecting “Put the hard disk(s) to sleep when possible”, the drives would be prevented from spinning down. This is not, however, true.

Mac OS X Energy Saver preference pane

As everyone with an external FireWire, USB or internal RAID array knows, these disks will spin down after 5 minutes of being idle, regardless of whether the aforementioned check box is deselected.

What is a computer user to do when confronted by this wholly unexpected (and dare I say, ‘illogical’) situation? We’ll use Mac OS X’s UNIX underpinnings to change this behavior, using the pmset command to set all drives to never spin down (no, that’s not ecologically friendly). Continue reading

New to Macintosh, but like Windows XP keyboard behavior?

Are you a Mac transplant? Perhaps you’re new to the Mac after spending time in the Windows world? Whatever the case may be, you may find the keyboard characteristics on the Mac confusing, or you may just prefer how certain keys function in Windows. For example, do you like how pressing the Home and End keys in XP moves the cursor to the beginning and end of the line? Take heart. Changing the default keyboard action of Mac OS X is an easy task.
Continue reading

Quick and Easy Workflow for Photo Resizing

Here’s a quick way to resize a large number of photos using a built-in feature of Mac OS X, that also generates a web page while it’s at it for an easy photo album.

In Finder, click the “Go” menu, and select ” (shift-command-G), then copy in this path: /System/Library/Image Capture/Automatic Tasks/. Alternatively, you could open your hard drive and navigate to it.

Build Slide Show iconOnce there, you will notice ten automated tasks. The one we’re interested in is “Build Slide Show”. Double click on it to launch it. Notice that it’s icon is now in the Dock.

We’re going to use photos stored in our iPhoto library. Alternatively, you could use photos stored anywhere. Open iPhoto, select the photos you wish to process, and drag them to the “Build Web Page” icon in the dock. Presto. The script processes the images, and builds a web page for you, opening it in Safari (or your default browser).

You can derive the location of your resized photos and the HTML by looking at the URL, beginning with the word “Photos”.

« Older posts Newer posts »