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;
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>
add a comment |
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>
docs.microsoft.com/en-us/iis/extensions/url-rewrite-module/… Learn from the trace.
– Lex Li
Mar 22 at 20:29
add a comment |
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>
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>
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
add a comment |
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
add a comment |
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
);
);
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
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
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.
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
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
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
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
docs.microsoft.com/en-us/iis/extensions/url-rewrite-module/… Learn from the trace.
– Lex Li
Mar 22 at 20:29