Fix an issue with Dreameaver and networked previews

When using Dreamweaver's Browser Preview feature when editing a file on a network drive, you will receive a path name which is incorrect in your browser window:file:///NetworkDrive/<s​pan class="found">Folder/Folder/file.htmlWhere the path name should be:file:///Volumes/NetworkDriv​e/Folder/Folder/file.htmlTo resolve this instead of making a 'site' for each website with the text Volumes: added to the front of the path name for the site it is much easier to use a symbolic link. Open Terminal and type$ cd /$ ln -s /Volumes/NetworkDrive NetworkDrivePlease note that NetworkDrive should be replaced with your drive's name. You will now see what looks like an alias on the root of your hard drive, but this is a symbolic link and you should have no problems previewing your sites.

published on Friday, the 12. June 2009, macosxhints

10.5: Create Stacks from network shares

One thing that I really miss from Tiger is having a shortcut on my Desktop to my network shared volumes, so I don't have to open a Finder window, click on share, and then select the machine or AirPort Extreme entry, and then the volume I want to access. Leopard won't let you make an alias of a network shared volume, or create one by dragging it to your desktop. What I found out, however, is that you can drag a shared volume to the dock as a Stack folder, and there it is, a direct link to your shared volume. You have to drag it to the area next to the trash; it won't work in the applications zone of the dock. It also helps when the Shared option won't even appear, and you don't remember the direct link to get to the volume through finder's Go » Connect to Server option. This happens quite often with AirPort Extreme, and now I just have to click the shortcut on the dock...

published on Tuesday, the 27. November 2007, macosxhints

Create a transparent local software update server

This is a way to transparently set up a server to cache software updates on your local network. This doesn't require any modifications (defaults write...) on clients -- it just works. And I didn't find any other similar solution on the internet; not even here! It does require Mac OS X Server, however. Here's how we did it:Build a Mac OS X Server and call it yoursus. We used a headless Mac mini to do the job.You must use external DNS servers on this server (so it won't check itself for updates).Add a record for your server on your internal DNS, so yoursus.yourdomain.com resolves to your SUS's IP.Start Software Update Server (SUS). It may take some time to cache all updates -- our /usr/share/swupd/html/ folder now has almost 9GB of files in it!Start Web Service, and add following redirect (Server Admin » Web » Sites » default » Edit » Aliases » ...

published on Wednesday, the 10. October 2007, macosxhints