Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Preview in browser with network home folders and Dreamweaver MX




On Jan 31, 2005, at 14:58, Ferenc Farkas MÁTYÁS wrote:

I use a 10.3.7 server with network home folders, where the users working in their home folders. If they use the F12 button in DW MX to preview their pages in Safari.app as the primary browser, if the app open first time, so not loaded in the memory before the command, the correct link gets loaded, and preview is succesfully.

We experienced the same problem, our solution was to write a loginhook that would place a symlink in /Users/USERNAME to the correct location (eg. /Network/Servers/whatever/USERNAME). Something like:


##########
#!/bin/sh

if [ ! -L /Users/$1 ]; then
	ln -s /Network/Servers/whatever/$1 /Users/$1
fi
##########

However, this will pollute your /Users dir. This is not important to us, because we use netboot clients, so everytime the machine gets rebooted, /Users will be empty again. You could solve this by writing a logouthook if you're not using netboot. Or periodically purge all the symlinks from /Users.

Regards, Sjoerd.

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Macos-x-server mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/macos-x-server/email@hidden

This email sent to email@hidden
References: 
 >Preview in browser with network home folders and Dreamweaver MX (From: Ferenc Farkas MÁTYÁS <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.