Forum Moderators: open

Message Too Old, No Replies

SSI - how to enable on IIS?

         

tepidarium

3:14 pm on Mar 12, 2004 (gmt 0)

10+ Year Member



Hi,

I edit a website where I only have permission to add and delete files on the server. The server is running IIS. I want to make shtml pages. The problem is that when I upload an shtml page to the site, the browser says "the page is not found" its like the page doesn't exist.

I am not a server person. I talked to the it people but they are not helping me. When changing the shtml file to asp, the page shows up and the includes work. I'm figuring that some configuration has to be done to the server to get it to recognize the shtml file extension and parse the file - but I can't get help.

Can someone please post a list of things that need to be done to get the shtml extension recognized by the server and parse files on IIS...I would really appreciate it...!

Thank you! :-)

john_k

3:25 pm on Mar 12, 2004 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



The most likely cause for this is that they ran the IIS lockdown tool on the server and it is preventing requests for .shtml documents. The specific thing that does this is an ISAPI filter called UrlScan. It has an .ini file that it reads when it starts. The .ini file determines what extensions are allowed to make it through to IIS.

Another possibility is that within IIS itself, they have removed .shtml as one of the extensions handled by the asp dll.

There could also be some 3rd party filtering or even a firewall filter at work here.

The bottom line is that out of the box, IIS would respond to requests for the .shtml file. I would recommend that you first create a simple test file with that extension and verify that it doesn't work. Use this file in your discussions with the server owner. If that file doesn't work, then what they need to recall is the place(s) where they pruned the list of allowable extensions. If they never did any explicit pruning, then my bet is that they ran the lockdown tool using one of the default templates. They can just edit the .ini file to permit .shtml.

tepidarium

8:42 pm on Mar 15, 2004 (gmt 0)

10+ Year Member



Thanks for your advice. I'm going to pass this along and see what they think.

IF anyone else has any ideas, please feel free to post!
Thanks...!