|
Posted by Alan J. Flavell on 12/04/05 09:09
On Sat, 3 Dec 2005, Leonard Blaisdell wrote:
> Now for the tough part. As I understand it, the file extension doesn't
> open a default app for your daughter other than the program that created
> it. Extensions don't mean squat to Macs less than OSX unless the file
> association is changed internally, or the file is opened and 'saved as'
> in a current app. The file is associated with the application that
> created it. You drag and drop the file onto the application you want it
> to run in, generally.
> But with a web browser, make sure the file has an .html extension or the
> browser won't read it properly. Type it in text.editor.whatever, make
> sure it has a .html filename ending, and drag it to any.webbrowser you
> have. From there, even relative links work for any directory (or folder
> in old Mac terms).
But for best results, run a local Apache web server, and browse the
files via localhost (127.0.0.1). That's what our chief Mac-OSX-based
web author does, and it avoids lots of different shortcomings that he
could not solve when he was trying to browse the local file system
directly.
Apache then controls the file types issue, and the browser correctly
responds to the MIME types as the HTTP protocol demands - not to some
incidental file association defined by the OS. The httpd environment
can be as close as you bother to make it, to the production server
where the files will ultimately be served out. Highly recommended.
Navigation:
[Reply to this message]
|