Note that there are some explanatory texts on larger screens.

plurals
  1. PODoes Web.config also effect .html file?
    text
    copied!<p>I upload an index.html to asp.net hosting, it works well. After I add a web.config file to the website, I get the following error when I try to visit index.html again. Why? "The page cannot be displayed because an internal server error has occurred."</p> <p>You can download the code at <a href="http://dl.dropbox.com/u/209352/Html5Demo.zip" rel="nofollow">http://dl.dropbox.com/u/209352/Html5Demo.zip</a></p> <pre><code>&lt;!DOCTYPE html&gt; &lt;html lang="en" manifest="offline.manifest"&gt; &lt;head&gt; &lt;meta charset="utf-8"&gt; &lt;title&gt;Cats Who Code demo&lt;/title&gt; &lt;link href="style.css" type="text/css" rel="stylesheet" media="screen"&gt; &lt;meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0;"&gt; &lt;/head&gt; &lt;body&gt; &lt;div id="container"&gt; &lt;header class="ma-class-en-css"&gt; &lt;h1 id="logo"&gt; &lt;a href="#"&gt;Cats Who Code&lt;/a&gt;&lt;/h1&gt; &lt;/header&gt; &lt;div id="content"&gt; &lt;h2&gt; Paris, France&lt;/h2&gt; &lt;p&gt; Lorem ipsum dolor sit amet, consectetur adipiscing elit. &lt;/p&gt; &lt;p&gt; Integer faucibus.&lt;/p&gt; &lt;/div&gt; &lt;!-- #content --&gt; &lt;footer&gt;A demo by &lt;a href="http://www.catswhocode.com"&gt;CatsWhoCode&lt;/a&gt;&lt;/footer&gt; &lt;/div&gt; &lt;!-- #container --&gt; &lt;/body&gt; &lt;/html&gt; &lt;?xml version="1.0"?&gt; &lt;configuration&gt; &lt;system.web&gt; &lt;compilation debug="true" targetFramework="4.0"/&gt; &lt;/system.web&gt; &lt;system.webServer&gt; &lt;staticContent&gt; &lt;mimeMap fileExtension=".manifest" mimeType="text/cache-manifest" /&gt; &lt;/staticContent&gt; &lt;/system.webServer&gt; &lt;/configuration&gt; </code></pre>
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload