Re: WebKit BaseURL problems
Re: WebKit BaseURL problems
- Subject: Re: WebKit BaseURL problems
- From: Fritz Anderson <email@hidden>
- Date: Wed, 28 Jul 2004 10:07:51 -0500
It's not counterintuitive when you reflect: When you are on the Web,
URLs that don't end in file names get resolved to specific files (or
CGIs, or whatever) by the HTTP server. The mapping between a particular
directory and an index.html, or default.html, or something else, is
specified by a global configuration file, as may be modified by a
per-directory configuration file.
When you pull an .html file directly, there's no server to map
directories to default files. You have to specify the file.
-- F
On 28 Jul 2004, at 2:57 AM, Jon Raphaelson wrote:
It worked!
Thank you very much... though that behavior seems extremely odd, and
quite counter-intuitive to me.
But Thanks!!
Hi!
Try it without stringByDeletingLastPathComponent, e.g.
/Users/jon/sites/index.html. Similar code to yours works for me if I
create the url with the whole path.
And remember "If path begins with a tilde, it must first be expanded
with stringByExpandingTildeInPath".
Regards,
Peter
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.