« Previous Next »

Thread: serving ASP as text on 2003

Last post 04-13-2007 11:32 AM by abadincrotch. 1 replies.

Average Rating Rate It (5)

RSS

Page 1 of 1 (2 items)

Sort Posts:

  • 04-13-2007, 11:26 AM

    serving ASP as text on 2003

    hello-

    I have a client who decided to go with (against my recommendation) HTTP rather than FTP to serve updates for his application. Because the "application" is really just ASP served in a VB.NET browser window, the file updates are individual ASP files, which are MD5 signed for comparison. When a new file is posted, the signature is updated, and the new ASP file is downloaded prior to opening the browser window on the local installation.

     (I'm just the subcontractor providing the MD5 signing and update component, so don't blame me for the silliness of this.)

    When all these details shook out, I successfully served ASP as plain (unrendered) text from an IIS5 installation by removing the asp mapping for the directory. Unfortunately, this does not seem to work on IIS6, instead producing a 404. How can we get a directory on an IIS6 install to serve ASP as plain text?

     Thanks in advance!
     

  • 04-13-2007, 11:32 AM In reply to

    Re: serving ASP as text on 2003

    *slapping self on forehead*

     yeah, I just needed to set up asp as a mime type of application/text.

Page 1 of 1 (2 items)
Microsoft Communities