Brian said the following on 11/18/04 23:06:
[color=blue]
> Harrie wrote:
>[color=green]
>> Mark Tranchant said the following on 11/17/04 10:38:
>>[color=darkred]
>>> Harrie wrote:
>>>
>>>> If a file is called index.htm I see no reason for whatever extension
>>>> to strip the .htm part.
>>>
>>> It's useful to specify URLs without the extension. For example:
>>>
>>>
http://tranchant.plus.com/ie
>>>
>>> is actually ie.phpc[/color]
>>
>> Thanks Mark, I'm aware of this, but this doesn't seem (to me at least)
>> what the OP is doing. In the example you gave both URLs work (with or
>> without an extension),[/color]
>
> By "extension", you only mean the last few characters of the url,
> starting with the period ".", right?[/color]
In the first part (".. for whatever extension ..") I was revering to a
server extension, like an Apache module. The OP answered to my question
why the ".htm" part was stripped of:
<quote>
The server extension (dll) does not require it.
</quote>
But maybe he wasn't talking about an Apache module (which is a .dll file
on Windows if I'm not mistaken), but about the ".dll" part of the file.
In my answer to Mark I was talking about the file/extension part. Sorry
for the confusion.
[color=blue]
> Because there is no file extension on the client end of an http transaction.[/color]
Agreed.
[color=blue]
> So whether a resource is
> available using two different urls doesn't really figure in here afaics.[/color]
From my point of view (which might very well be the problem) it does.
In the example Mark gave two URLs point to the same file, but the OP
said in hist first post:
<quote>
I'm wondering if the server is not including the correct content-type in
the header information because the ".htm" is stripped from the URL
during processing and before the response is actually returned to the
client side.
</quote>
Which looks to me that if a client specified a URL containing a ".htm"
part, it will be stripped of by the server (which it doesn't do when
looking at his site, but at least that's what I get from the quoted part).
[color=blue][color=green]
>> but the OP said a server extension is stripping off the extension,[/color]
>
> What extension? The extension is only useful on the server end. I'm
> afraid I don't quite follow you.[/color]
"server extension" ==> server module
"the extension" ==> any file extension
But by using the word extension twice in the same line it only adds to
the confusion. I think it's best to let it rest, it's not that important.
[color=blue][color=green][color=darkred]
>>> See
http://www.w3.org/Provider/Style/URI, just over half way down,
>>> under "What to leave out".[/color]
>>
>> Yes, I'm using this myself for a few months and already it paid of
>> (except for web statistics which show a lot of "unknown" file types
>> because of this).[/color]
>
> (?) But this is unrelated to the url.[/color]
True, but not to web statistics (which is server related). I'm using
AWStats and by file types I'm referring to this:
http://awstats.sourceforge.net/cgi-...right#filetypes
(or
http://tinyurl.com/4q9he)
--
Regards
Harrie