Re: SSI "include file" doesn't work under IIS 5.1
From: Ken Schaefer (kenREMOVE_at_THISadOpenStatic.com)
Date: 03/14/04
- Next message: Ken Schaefer: "Re: Win XP Prof / IIS 5.1: WebDAV included?"
- Previous message: Jonathan Maltz [MS-MVP]: "Re: McAfee VirusScan on Windows 2003 Web Edition"
- In reply to: Marco Veniani: "Re: SSI "include file" doesn't work under IIS 5.1"
- Next in thread: Marco Veniani: "Re: SSI "include file" doesn't work under IIS 5.1"
- Reply: Marco Veniani: "Re: SSI "include file" doesn't work under IIS 5.1"
- Messages sorted by: [ date ] [ thread ]
Date: Sun, 14 Mar 2004 13:09:14 +1100
Hi:
You should not be double-clicking on the file. You should be using a http://
request, eg:
Server-side includes require the request to go through the webserver (hence
server-side includes). If you just double-click on it in Explorer, you're
just opening a file on your hard disk.
The fact that the extension is mapped to 404.dll indicates that you have run
the IISLockDown tool on your computer (this disables a lot of
uncommon/unused extensions). If you had done http://localhost/index.shtml
before, you should have received a 404 File Not Found error. Now that you've
mapped it to ssinc.dll you should received index.shtml.
If you still receive a 404, you may need to alter your URLScan.ini settings,
located in:
c:\windows\system32\inetsrv\urlscan\urlscan.ini
to allow .shtml requests.
Cheers
Ken
"Marco Veniani" <mv@chpro.it> wrote in message
news:BCF58E97-B2FE-4435-A2BC-56CA178329F5@microsoft.com...
: Thanks you Ken,
:
: In the "Mappings" tab there was "404.dll" instead of "ssinc.dll"
: I have changed it, but it still doesn't work! :-(( I have even restarted
IIS.
: Into the "Verb Limit to" I put "GET,HEAD,POST,TRACE". Is it ok ?
:
: Another thing: on the same PC I have IE 6.0 and Mozilla
: and when I change the index.html extension into .shtml the related icon
becomes the Mozilla one.
: As a matter of fact when I double click on index.shtml it opens Mozilla
instead of IE.
: Could it be a problem ?
:
: Anyway, in the previous mail you said: "...since asp.dll also can handle
#include directives"
: and I have seen that the mapping to .asp file is with asp.dll
: but even if I put the .asp extension it still doesn't work.
:
: ken!! help me please!
:
:
: ----- Ken Schaefer wrote: -----
: [...]
: On the "Mappings" tab, you should see a list of extensions, and what
.dlls
: those extensions are mapped to. Make sure that .shtml is in the list,
and
: that it is mapped to c:\windows\system32\inetsrv\ssinc.dll
:
- Next message: Ken Schaefer: "Re: Win XP Prof / IIS 5.1: WebDAV included?"
- Previous message: Jonathan Maltz [MS-MVP]: "Re: McAfee VirusScan on Windows 2003 Web Edition"
- In reply to: Marco Veniani: "Re: SSI "include file" doesn't work under IIS 5.1"
- Next in thread: Marco Veniani: "Re: SSI "include file" doesn't work under IIS 5.1"
- Reply: Marco Veniani: "Re: SSI "include file" doesn't work under IIS 5.1"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|