Re: Browsers Resolving Symbolic Link (e.g. Windows Shortcuts)
- From: William Gill <noreply@xxxxxxxxxxx>
- Date: Sat, 10 Jan 2009 12:10:56 -0500
Five By Five wrote:
Does anyone know if Firefox (or IE?) running in a Microsoft Windows environment requesting a resource via LINK element will be given by the OS the file if it is referenced through a symbolic link?
For example,
The HTML document has the following element:
<link href="style/std.css" type="text/css">
The HTML document is located physically in the absolute path 'D:\Programming\My Interactive Pages\' using standard conventions of the Windows operating environment.
That path also contains a subdirectory (subfolder) 'style' in the same directory, and the subdirectory 'style' contains the file 'std.css' which is a Windows shortcut file. The shortcut points to 'C:\style\std.css'.
Not sure this is the appropriate place to ask your question, but maybe if we can help clear up a couple of your misconceptions it will either clear up your problem or redirect you in a more appropriate direction.
First off what you are asking about is a file system issue, not HTML or CSS. The only connection to HTML or CSS is via the http server (a program running on a particular OS and file system), the program that interprets a request from your browser and "serves" a resource (document, etc.). So what ever the server decides to "serve" will be dictated by either the file system's interpretation, or server options. In either case the request can be translated from what was asked for, to what is actually delivered ("if they ask for this, give them that"). For example your question asked this group a question. You could (and like should have) received a 303 status ("the resource you request is located elsewhere"), but I have chosen to "translate" your request, and provide (what I hope is) some helpful resource.
Secondly a windows "shortcut" is not a symbolic link. A shortcut is more like a HTML "bookmark", it is a reminder placed in a convenient place reminding you where to find what you want, or reminding you what to ask for. When your browser requests a resource (a shortcut file), the HTTP server dutifully serves that resource, it doesn't try to read and understand that resource and translate your request for you. A symbolic link on the other hand provides an "alias" name for the file in the file system.
.
- Follow-Ups:
- Re: Browsers Resolving Symbolic Link (e.g. Windows Shortcuts)
- From: Five By Five
- Re: Browsers Resolving Symbolic Link (e.g. Windows Shortcuts)
- References:
- Browsers Resolving Symbolic Link (e.g. Windows Shortcuts)
- From: Five By Five
- Browsers Resolving Symbolic Link (e.g. Windows Shortcuts)
- Prev by Date: Re: html formating the description of stuff you sell on ebay
- Next by Date: Completely OT - Rolo the Mouse Catcher
- Previous by thread: Browsers Resolving Symbolic Link (e.g. Windows Shortcuts)
- Next by thread: Re: Browsers Resolving Symbolic Link (e.g. Windows Shortcuts)
- Index(es):
Relevant Pages
|