May 01, 2005

Updating all the Code…

Well, someday I’ll be ready to start commenting on news and other issues regularly—right now, I’m working primarily on getting all the back-end code working properly. It’s definitely getting closer!

Interestingly, one of the biggest issues that I had to deal with was Apple’s iDisk synchronizing mechanism in Mac OS X 10.3. For some reason (and this apparently started only recently), custom pages uploaded to an iDisk’s Sites folder would not display correctly in Mozilla-based browsers, such as Firefox and Camino. Instead, they’d prompt the user to download the file. To make a long story short, this was apparently due to Apple changing their servers to use the MIME-type specified when the file was uploaded, rather than ignoring it all together. Unfortunately, the iDisk syncing procedure seems to specify ‘application/octet-stream’ for any uploaded file, regardless of its type. Uploading directly to the iDisk in the Finder seemed to solve the problem—and I think using the rsync Unix command will also work and spare me from manually updating changed sites.

I found both a user’s report on the problem and a discussion on Apple’s discussion lists to be useful.

I also found that I could use the command-line tool caDAVer, from the WebDAV project, to change the MIME-types as necessary.

Maybe this all had something to do with the new file type architecture in Tiger?

Comment~ permanent link ~ • Category: [News / David / Web Site]

© 2005-2007 David and Rita Hjelle