p2p.wrox.com Forums

Need to download code?

View our list of code downloads.


  Return to Index  

proasp_codeclinic thread: Does the .STM Rename trick work?


Message #1 by robg@r... on Wed, 13 Jun 2001 05:56:25
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
: From: <robg@r...>
: Subject: [proasp_codeclinic] Re: Does the .STM Rename trick work?
:

: Regular include files are processed fine by the ssinc.dll. I know becuase
: otherwise the pages would "Blow up" because they rely on code inside of
: the includes.

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

uh? What type of code are you talking about? I'm not sure what you mean by
regular includes - AFAIK there is only one type of include, #include. This
is one of a number of server-side directives, which are supported by a
number of webservers, including IIS.

Pages with SSI, that have extensions .stm, .shtml, shtm are processed by
ssinc.dll, which includes the necessary files and sends the whole lot to the
browser.

Pages with SSI, that have extensions .asp etc are processed by asp.dll,
which includes the necessary files, then processes any ASP code.

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
: What should I check on my server config?
: If it's of any importance I am using IIS 5 on Win
: 2000 Pro for development.

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Open the IIS MMC Snapin (in Administrative Tools). Right click on your
website and choose Properties. Goto the Home Directory tab, and press the
button labelled "Configuration". On the App Options tab you should see all
the file mappings.

Cheers
Ken



  Return to Index