| Erwin Moller 2007-01-10, 1:19 pm |
| Mike Azzopardi wrote:
> Hi
>
> I'm hoping someone will help me with a problem please.
>
> On a webserver I was using (apache), I noticed that you could leave the
> .htm off the end of files and the webpage would still display correctly
> (not an index.htm file but any htm file)
>
> e.g.
> www.server.com/file1.htm would display correctly if I typed the URL
> www.server.com/file1 without the file extension.
>
> But I have moved hosting companies (I believe they are using a windows
> 2003 server) and it doesn't let me leave out the .htm.
>
> If anyone could shed any light it would be most appriciated.
>
> best regards
> mike
Hi Mike,
I expect your former server had some rewriterules (mod_rewrite) in the
configfile, probably adding .htm if no extension was given.
I do not know of such a engine under IIS.
My advise would be to fix the file extension.
Why did you leave them out in the first place?
Regards,
Erwin Moller
|