|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
Execute #Include in file with extension .html
Hi,
The web server is running on IIS with asp. I'd like to know how do you execute #include with asp in a file with extension .html. The codes work fine with .asp but I'd like to do this in .html. Thanks in advance. |
|
#2
|
|||
|
|||
|
App Mappings
By default, IIS is only set up to treat ASP files as "executable", i.e. whenever it comes across a file with an ASP extension it runs it through the ASP dll. You need to set this up yourself.
Under IIS, right-click on "Default Web Site", click Properties, select the "Home Directory" tab and then click the "Configuration" button. Now add in an entry under "App Mappings" for ".html" and ".htm" and anything else you need. You can use the same executable path and verbs as set for the ASP extension. |
![]() |
| Viewing: Dev Shed Forums > Programming Languages - More > ASP Programming > Execute #Include in file with extension .html |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|