iis 7 - IIS7 Rewrite issue - Multiple websites -


Hi there is an issue with the rewrite mod for IIS7

I have many examples in this example Websites are .com.com summer.com, winter.com, spring.com)

All of these domains point to the same folder (G: \ Websites \ season \ HTOX)

< P> Now complex bits

rewrites Summer.com: \ websites \ seasons \ htdocs \ domains \ summer \ therefore any file in this folder will appear \ htdocs \ web.config

now summer .com also has its own rewrite rules in a web.config file located in the villages \ websites \ seasons :: \ websites \ weather \ it appears in the rewriting village Htdocs \ domains \ summer \ web.config

< P> If a visitor tried to visit moudle's rewrite again to write again, The site should rewrite the news.php file within the Season \ HTOX \ domain. \ Summer \ news.php) instead of

url: path: g: \ websites \ seasons \ htdocs Rewrite the rules \ domains \ summer \ news \

g: \ websites \ seasons \ htdocs \ web.config

< Pre> & lt; Rule name = "summer" & gt; The file located at & lt; Mail url = "(. *)" / & Gt; Terms Rational Group = "Matching" & gt; & Lt; Input = "{HTTP_HOST}" pattern = "summer.com" /> Add & lt; / Status & gt; & Lt; Action type = "rewrite" url = "/ domain / heat / {R: 0}" /> & Lt; / Rules & gt; File located on

g: \ websites \ season \ htdcoc \ domains \ summer \ web.config

  & lt; Rule name = "rewrite for news" & gt; & Lt; Mail url = "^ news /" /> & Lt; Action type = "rewrite" url = "news.php" /> & Lt; / Rules & gt;  

I know this is not right. Any help appreciated


Comments

Popular posts from this blog

c# - sqlDecimal to decimal clr stored procedure Unable to cast object of type 'System.Data.SqlTypes.SqlDecimal' to type 'System.IConvertible' -

Calling GetGUIThreadInfo from Outlook VBA -

Obfuscating Python code? -