GithubHelp home page GithubHelp logo

server-configs-iis's People

Contributors

0xadada avatar ad7six avatar akkuma avatar alessandrolia avatar alrra avatar bbosman avatar chaoaretasty avatar chrismckee avatar coliff avatar curtisk avatar dieseltravis avatar duncansmart avatar jamierytlewski avatar jerph avatar jozefizso avatar michaud avatar mikealmond avatar mozmorris avatar necolas avatar olsh avatar paulirish avatar rexcfnghk avatar rexpan avatar stevenw00 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

server-configs-iis's Issues

Keep-Alive

Should these have the Keep-Alive attribute?

<httpProtocol allowKeepAlive="true">

CacheBusting rewrite rule is missing file exists check

The .htaccess version of this rewrite rule contains a check that the requested file does not exist before rewriting (the !-f part in RewriteCond %{REQUEST_FILENAME} !-f).

This check is needed to avoid rewriting if the file exists on the server. Otherwise it will return 404, example below.
jquery-1.11.3.js => jquery-1.11.js

This can be solved by using a condition of the rewiterule, full example below:

<rewrite>
    <rules>
        <rule name="Cachebusting">
            <match url="^(.+)\.\d+(\.(js|css|png|jpg|gif)$)" />
            <conditions>
              <add input="{REQUEST_FILENAME}" matchType="IsFile" negate="true" />
            </conditions>
            <action type="Rewrite" url="{R:1}{R:2}" />
        </rule>
    </rules>
</rewrite>

remove chrome=1

removed from all other configs as well. No reason for it to be there still.

chrome=1 can be removed

chrome=1 can be removed in the snippet:

Google's ChromeFrame has been discontinued and is no longer available.

[Request] Create generic web.config for projects don't use asp pages on IIS

As a developer I tend to have trouble sometimes going through and cherry picking the nodes that have changed from the web.configs that are in the IIS repo.

I tend to use Coldfusion and Node JS on my IIS 7.5-8.5. When going through the IIS repo, I normally copy nodes from the .net 4 webforms, but worry that I might miss something in a future release as this project continues.

Dead wiki link in all sample web.configs

In all sample web.configs, in the Cachebusting section, there is a link that leads to a nonexistent wiki page.

To understand why this is important and a better idea than all.css?v1231,
read: github.com/h5bp/html5-boilerplate/wiki/Version-Control-with-Cachebusting

There is a "cachebusting" link in the pages navigation but that links to other documentation and I have yet to find the content I'm supposed to read.

Please update the link and consider updating the content on the wiki page to point more specifically to where the actual information is or additionally include an executive summary plus the link to the external information.

Thanks for all your work on this excellent project!

Add MIME type for manifest.webapp?

I noticed that the mobile boilerplate includes a manifest.webapp file but this config doesn't actually support that file type.

<remove fileExtension=".webapp" />
<mimeMap fileExtension=".webapp" mimeType="application/x-web-app-manifest+json; charset=UTF-8" />

Issue when using the same web.config in two IIS applications one being a child of the other

The issue is you receive a blank page when you try to run a child application of another IIS app (website) both of which use the same H5BP web.config.

The problem lies in the customheaders section of system.webServer. Unless we remove the header first in our child application we cannot add the same header name. If we do that, it results in blank page render, which is extremely difficult to troubleshoot (I wonder how no one ever experienced that before).

So the solution is to first remove the header (which for some reason some headers already do) and then add it back again.

If we don't do that we have to watch out for these blank pages and errors and have to resort to

which we don't necessarily want.

I'll be creating a pull request shortly.

IIS 8 - remove ETAG comment

First, thank you for this project. Very helpful.

Not to pick nits, but I suspect this comment isn't quite correct:

<staticContent>
<!-- Remove ETAG IN IIS >8 ; for IIS 7/7.5 see the Rewrite rules (bigger description of why you might remove etag down there aswell)
<clientCache setEtag="false"/>
-->

Should probably read: ETAG IN IIS >=8

Document why requestValidationMode is 2.0 instead of 4.0 for MVC5

web.config is a tricky thing to rely on simple copy-pasting. I'm trying to read this line by line and look up the options. I mostly understand what-it-does part, but the why-it-is-needed part is not clear.

Default requestValidationMode value is 4.0. Are you setting it 2.0 for backward compatibility?

Anyway, It would be great to have line by line docs or html representation of this with side notes.

    <!-- enableVersionHeader -- Security through obscurity. Removes X-AspNet-Version HTTP header from the response -->
    <!-- relaxedUrlToFileSystemMapping -- Optional. Set this if you're upgrading from older versions of ASP. See: http://www.asp.net/whitepapers/aspnet4/breaking-changes#0.1__Toc256770147 -->
    <!-- requestPathInvalidCharacters -- Allow zombie DOS names to be captured by ASP.NET (/con, /com1, /lpt1, /aux, /prt, /nul, etc) -->
    <!-- targetFramework -- ??? -->
    <httpRuntime enableVersionHeader="false"
                 relaxedUrlToFileSystemMapping="true"
                 requestPathInvalidCharacters="" 
                 requestValidationMode="2.0" 
                 targetFramework="4.5"/> 

Permissions issue

@alrra I'm unable to commit to this repo.

"You are editing a file in a project you do not have write access to. We are forking this project for you (if one does not yet exist) to write your proposed changes to. Submitting a change to this file will write it to a new branch in your fork so you can send a pull request."

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.