Deploying/Hosting Ember App on IIS


#1

Hi all,

Please can anyone guide me to Deploying Ember application on IIS. I can’t find clear steps to do. Thanks.


#2

Humm… it’s been quite some time since I’ve looked for docs, but it’s actually not all that difficult. You’ll need to install the URL Rewrite extension and create an inbound rule for the ember app. While I’m sure there can be some other tweaking, here are the basic settings I use;

Match URL Section

Requested URL: Matches the Pattern Using: Regular Expressions Pattern: ^path/to/app/(.*)$ Ignore case: Checked

###Conditions Section Logical grouping: Match All First Condition; Condition input: {REQUEST_FILENAME}, Check if input string: Is Not a File Second Condition; Condition input: {REQUEST_FILENAME}, Check if input string: Is Not a Directory Track capture groups across conditions: Unchecked

Server Variables

Blank

Action

Action type: Rewrite Rewrite URL: /path/to/app/ Append query string: Checked Log rewritten URL: Unchecked Stop processing of subsequent rules: Checked