URL redirect (IIS or Azure web App) Everything for domain to 1 api callIIS 7.5 URL Redirect for specific patternsURL Redirect with BlogEngineWhat is the difference between an Azure Web Site and an Azure Web RoleIIS URL Rewrite - with multiple domainsAdding HSTS http headers on domain root during redirect to www subdomain in web.configredirect subfolder/directory to other domain URL using IIS URL RewriteAzure app-service non-www to www redirect rule to ignore the cdn domainIIS URL Rewrite Http to Https, exclude single URLAzure Web App Vanity URL with redirect for default page onlyHow do I fix https warning when redirecting one domain to another domain using iis url rewrite?

Why was the Spitfire's elliptical wing almost uncopied by other aircraft of World War 2?

Are Boeing 737-800’s grounded?

Why does processed meat contain preservatives, while canned fish needs not?

Was there a Viking Exchange as well as a Columbian one?

Mysql fixing root password

Single Colour Mastermind Problem

Has any spacecraft ever had the ability to directly communicate with civilian air traffic control?

How deep to place a deadman anchor for a slackline?

When India mathematicians did know Euclid's Elements?

Can fracking help reduce CO2?

Reverse the word in a string with the same order in javascript

How to delegate to implementing class

Phrase for the opposite of "foolproof"

Counterexample: a pair of linearly ordered sets that are isomorphic to subsets of the other, but not isomorphic between them

Is there a way to get a compiler for the original B programming language?

Illegal assignment from SObject to Contact

Why is current rating for multicore cable lower than single core with the same cross section?

Transfer over $10k

How can the Zone of Truth spell be defeated without the caster knowing?

Why is the origin of “threshold” uncertain?

A non-technological, repeating, visible object in the sky, holding its position in the sky for hours

Any examples of headwear for races with animal ears?

Sci-fi novel series with instant travel between planets through gates. A river runs through the gates

You look catfish vs You look like a catfish



URL redirect (IIS or Azure web App) Everything for domain to 1 api call


IIS 7.5 URL Redirect for specific patternsURL Redirect with BlogEngineWhat is the difference between an Azure Web Site and an Azure Web RoleIIS URL Rewrite - with multiple domainsAdding HSTS http headers on domain root during redirect to www subdomain in web.configredirect subfolder/directory to other domain URL using IIS URL RewriteAzure app-service non-www to www redirect rule to ignore the cdn domainIIS URL Rewrite Http to Https, exclude single URLAzure Web App Vanity URL with redirect for default page onlyHow do I fix https warning when redirecting one domain to another domain using iis url rewrite?






.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty height:90px;width:728px;box-sizing:border-box;








0















I've been trying to get a rule that limits a certain domain to just one web api function. Any request regardless of url will be directed to the one api example.com.au/cx/feedback



So:



http://example.com.au will go to http://example.com.au/cx/feedback



http://example.com.au/feedback will go to http://example.com.au/cx/feedback



http://example.com.au/api/list will go to http://example.com.au/cx/feedback



etc etc



I get issues with infinite loops. Obviously misunderstanding something.



 <rule name="example.com.au" redirect" enabled="true" stopProcessing="true">
<match url=" (.*)" />
<conditions >
<add input="HTTP_HOST" pattern="^.*example.com.au$" negate="true" />
</conditions>
<action type="Redirect" url="cx/feedback" redirectType="Permanent" />
</rule>









share|improve this question
























  • docs.microsoft.com/en-us/iis/extensions/url-rewrite-module/… Learn from the trace.

    – Lex Li
    Mar 22 at 20:29


















0















I've been trying to get a rule that limits a certain domain to just one web api function. Any request regardless of url will be directed to the one api example.com.au/cx/feedback



So:



http://example.com.au will go to http://example.com.au/cx/feedback



http://example.com.au/feedback will go to http://example.com.au/cx/feedback



http://example.com.au/api/list will go to http://example.com.au/cx/feedback



etc etc



I get issues with infinite loops. Obviously misunderstanding something.



 <rule name="example.com.au" redirect" enabled="true" stopProcessing="true">
<match url=" (.*)" />
<conditions >
<add input="HTTP_HOST" pattern="^.*example.com.au$" negate="true" />
</conditions>
<action type="Redirect" url="cx/feedback" redirectType="Permanent" />
</rule>









share|improve this question
























  • docs.microsoft.com/en-us/iis/extensions/url-rewrite-module/… Learn from the trace.

    – Lex Li
    Mar 22 at 20:29














0












0








0








I've been trying to get a rule that limits a certain domain to just one web api function. Any request regardless of url will be directed to the one api example.com.au/cx/feedback



So:



http://example.com.au will go to http://example.com.au/cx/feedback



http://example.com.au/feedback will go to http://example.com.au/cx/feedback



http://example.com.au/api/list will go to http://example.com.au/cx/feedback



etc etc



I get issues with infinite loops. Obviously misunderstanding something.



 <rule name="example.com.au" redirect" enabled="true" stopProcessing="true">
<match url=" (.*)" />
<conditions >
<add input="HTTP_HOST" pattern="^.*example.com.au$" negate="true" />
</conditions>
<action type="Redirect" url="cx/feedback" redirectType="Permanent" />
</rule>









share|improve this question
















I've been trying to get a rule that limits a certain domain to just one web api function. Any request regardless of url will be directed to the one api example.com.au/cx/feedback



So:



http://example.com.au will go to http://example.com.au/cx/feedback



http://example.com.au/feedback will go to http://example.com.au/cx/feedback



http://example.com.au/api/list will go to http://example.com.au/cx/feedback



etc etc



I get issues with infinite loops. Obviously misunderstanding something.



 <rule name="example.com.au" redirect" enabled="true" stopProcessing="true">
<match url=" (.*)" />
<conditions >
<add input="HTTP_HOST" pattern="^.*example.com.au$" negate="true" />
</conditions>
<action type="Redirect" url="cx/feedback" redirectType="Permanent" />
</rule>






azure iis azure-web-sites






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Apr 2 at 20:18









Anass Kartit

607515




607515










asked Mar 22 at 18:51









PNCPNC

1,2171031




1,2171031












  • docs.microsoft.com/en-us/iis/extensions/url-rewrite-module/… Learn from the trace.

    – Lex Li
    Mar 22 at 20:29


















  • docs.microsoft.com/en-us/iis/extensions/url-rewrite-module/… Learn from the trace.

    – Lex Li
    Mar 22 at 20:29

















docs.microsoft.com/en-us/iis/extensions/url-rewrite-module/… Learn from the trace.

– Lex Li
Mar 22 at 20:29






docs.microsoft.com/en-us/iis/extensions/url-rewrite-module/… Learn from the trace.

– Lex Li
Mar 22 at 20:29













0






active

oldest

votes












Your Answer






StackExchange.ifUsing("editor", function ()
StackExchange.using("externalEditor", function ()
StackExchange.using("snippets", function ()
StackExchange.snippets.init();
);
);
, "code-snippets");

StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "1"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);

StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);

else
createEditor();

);

function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader:
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
,
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);



);













draft saved

draft discarded


















StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f55306101%2furl-redirect-iis-or-azure-web-app-everything-for-domain-to-1-api-call%23new-answer', 'question_page');

);

Post as a guest















Required, but never shown

























0






active

oldest

votes








0






active

oldest

votes









active

oldest

votes






active

oldest

votes















draft saved

draft discarded
















































Thanks for contributing an answer to Stack Overflow!


  • Please be sure to answer the question. Provide details and share your research!

But avoid …


  • Asking for help, clarification, or responding to other answers.

  • Making statements based on opinion; back them up with references or personal experience.

To learn more, see our tips on writing great answers.




draft saved


draft discarded














StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f55306101%2furl-redirect-iis-or-azure-web-app-everything-for-domain-to-1-api-call%23new-answer', 'question_page');

);

Post as a guest















Required, but never shown





















































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown

































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown







Popular posts from this blog

How to preserve electronics (computers, tablets and phones) for hundreds of years Announcing the arrival of Valued Associate #679: Cesar Manara Planned maintenance scheduled April 23, 2019 at 23:30 UTC (7:30pm US/Eastern) The network's official Twitter account is up and running again. What content…How might modern humans leave a message for 50,000 years?How would an aquatic race develop computers?How do we make computers care for human life?Keeping supplies for 1000 yearsWhat will cell phones become in 100 years?What body armor protects against a laser?Could a society attain 1800s technology if limited to using copper and bronze?Electricity power (magic) and electronicsScavenging metal resources in post-apocalypse after 100 yearsWhy would precursors create devices that can survive and still work after hundreds of years?

155 수학 과학 기타 둘러보기 메뉴eh추가해eh문서를 완성해

Convert JSON to MapSimplest way to convert a string representing JSON array into Java array List of key value pairsHow to take String JSON values into HashMapConvert a JSON String to a HashMapCreating BSON object from JSON stringJSONObject - How to get a value ?Better Map ConstructorReading JSON from Url javaUpdate columns if input values are not null otherwise ignore and keep the existing values of column in databaseHow to store object represented as Json string into Couchbase Lite?Go JSON into MapHow do I efficiently iterate over each entry in a Java Map?Sort a Map<Key, Value> by valuesHow to round a number to n decimal places in JavaCan comments be used in JSON?How do I read / convert an InputStream into a String in Java?How can I pretty-print JSON in a shell script?What is the correct JSON content type?How can I deserialize JSON to a simple Dictionary<string,string> in ASP.NET?Why does Google prepend while(1); to their JSON responses?Parse JSON in JavaScript?