-
Posted to
IIS7 - URL Rewrite Module
by
mcdotnet
on
10-08-2009, 7:46 AM
I am rewriting the url http://www.tworiverstaines.co.uk to http://www.tworiverstaines.co.uk/TwoRivers/ using this rule:
<rule name="tworiverstaines.co.uk" ...
-
Posted to
IIS7 - URL Rewrite Module
by
mcdotnet
on
10-05-2009, 10:53 AM
This is my latest stab at a rule to prevent the /TwoRivers/TwoRivers/ problem but it hasn't done the trick:
<match url="(.*)" />
<conditions logicalGrouping="MatchAll">
<add input="{URL}" negate="true" pattern="^www.tworiverstaines.co.uk/TwoRivers/.*$" />
<add ...
-
Posted to
IIS7 - URL Rewrite Module
by
McDotNet
on
10-05-2009, 9:49 AM
Hi Jeff I think the only strange part of the problem is me! however I am still confused I have changed my rule to the below which doesn't give me the /TwoRivers/TwoRivers/ problem but all of the links to my resources are broken i.e. app_themes, scripts etc.
<rule name="tworiverstaines.co.uk" ...
-
Posted to
IIS7 - URL Rewrite Module
by
mcdotnet
on
10-05-2009, 6:42 AM
I am rewriting the url http://www.tworiverstaines.co.uk to http://www.tworiverstaines.co.uk/TwoRivers/ using this rule:
<match url="(.*)" />
<conditions logicalGrouping="MatchAny">
<add input="{HTTP_HOST}" pattern="^www.tworiverstaines.co.uk$" />
</conditions>
<action ...
-
Posted to
IIS7 - URL Rewrite Module
by
mcdotnet
on
09-29-2009, 9:41 AM
Yes the webserver is running .NET Framework 3.5 sp1 and the web application is setup for .NET framework 3.5.
Would I need to change anything in my web.config for service pack 1?
The strangest problem is Response.Redirect which won't even redirect to an external url it always redirects to: Requested URL: ...
-
Posted to
IIS7 - URL Rewrite Module
by
mcdotnet
on
09-25-2009, 10:04 AM
Hi i am using the following rule to map a domain through to a subfolder in my shared hosting environment:
<rule name="mydomain.co.uk">
<match url="(.*)" />
<conditions logicalGrouping="MatchAny">
<add input="{HTTP_HOST}" pattern="^www.mydomain.co.uk$" />
<add ...
-
Posted to
IIS7 - URL Rewrite Module
by
mcdotnet
on
06-25-2009, 6:58 AM
Fantastic! This worked a treat! Thanks!
-
Posted to
IIS7 - URL Rewrite Module
by
mcdotnet
on
06-24-2009, 7:03 AM
Hi,
I am not sure if what I am asking is possible?
In a shared hosting enviroment with a static IP I have two websites located in two folders within the root directory.
I wish to map the two domains to their corresponding folders so when someone types in http://www.domain1.com they access the content at ...