Forum Moderators: open

Message Too Old, No Replies

How do I make .html files run asp

What is the mime type

         

ogletree

8:45 pm on Nov 18, 2003 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month



I want my .html files to run as if they were asp. I know I just set up a mime type I just don't know what to put in the Content type (MIME): box. the ext is just .html

panic

8:48 pm on Nov 18, 2003 (gmt 0)

10+ Year Member



You'll have to try something similar to IIS-Write (an IIS version of Mod ReWrite), and setup a rule so that when the request URI is *.html, it really executes *.asp (keep in mind that *.html doesn't truly exist).

-panic

ogletree

8:56 pm on Nov 18, 2003 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month



I have done it before I just don't remember the mime type. What do you mean *.html does not exist. If you type in allinurl:html you get almost a billion results. Twice as much as allinurl:htm

plumsauce

11:13 pm on Nov 18, 2003 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member




map the the file extension .html to asp in
the application configuration in the
iis control panel

ogletree

3:41 am on Nov 19, 2003 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month



Thank you. I finaly found it. I knew I had done it before.