Monday, 19 February 2018

Re: linking to root of website, not root of drive

In article <f4f7e9cc56.jim@6.abbeypress.net>, Jim Nagel
<netsurf@abbeypress.co.uk> wrote:

[Snipped]

> (Begs the question: why does RiscOS actually bother having a specific
> filetype for a CSS file?

You don't need to give your HTML or CSS files an extension with WebJames.
It seems to use the filetype to create the MIME data.

Conversely, files with no .ext on an Apache server seem to be treated as
text and sent to the browser. I rely on this with
http://timil.com/riscos/mimemap/mimemap

These are identical (ancient) files:
Apache (no .ext)
http://timil.com/links and
WebJames (no .ext but correct HTML RISC OS filetype)
http://dev.timil.com/timil.com/links

--

Tim Hill

timil.com : tjrh.eu : butterwick.eu : blue-bike.uk : youngtheatre.co.uk

No comments:

Post a Comment