Будет ли DLE работать на IIS? в DataLife Engine (Общие вопросы) Опубликовано: 31 марта 2010 · Изменено 31 марта 2010 пользователем Frenzzy 3) Установить DLE. При установке отключить ЧПУ. Чтобы работало ЧПУ нужно сконвертировать правила ReWrite в правила Web.Comfig. Кто-нибудь может выложить IIS7 Rewrite Rules под DLE (8.5) ? У меня конечно есть своя версия, но я думаю что она не достаточно корректна. Может кто сможет подправить ошибки.. На всякий случай выложу для всех: <?xml version="1.0" encoding="UTF-8"?> <configuration> <system.webServer> <rewrite> <rules> <clear /> <rule name="RewriteUserFriendlyURL2" stopProcessing="true"> <match url="^forum/category_([0-9]+)(/?)+$" /> <conditions logicalGrouping="MatchAll"> <add input="{REQUEST_FILENAME}" matchType="IsFile" negate="true" /> <add input="{REQUEST_FILENAME}" matchType="IsDirectory" negate="true" /> </conditions> <action type="Rewrite" url="index.php?do=forum&category={R:1}" /> </rule> <rule name="RewriteUserFriendlyURL6" stopProcessing="true"> <match url="^forum/topic_([0-9]+)/last(/?)+$" /> <conditions logicalGrouping="MatchAll"> <add input="{REQUEST_FILENAME}" matchType="IsFile" negate="true" /> <add input="{REQUEST_FILENAME}" matchType="IsDirectory" negate="true" /> </conditions> <action type="Rewrite" url="index.php?do=forum&showtopic={R:1}&lastpost=1" /> </rule> <rule name="RewriteUserFriendlyURL8" stopProcessing="true"> <match url="^forum/topic_([0-9]+)/reply(/?)+$" /> <conditions logicalGrouping="MatchAll"> <add input="{REQUEST_FILENAME}" matchType="IsFile" negate="true" /> <add input="{REQUEST_FILENAME}" matchType="IsDirectory" negate="true" /> </conditions> <action type="Rewrite" url="index.php?do=forum&act=_topic&code=reply&tid={R:1}" /> </rule> <rule name="RewriteUserFriendlyURL7" stopProcessing="true"> <match url="^forum/topic_([0-9]+)/([0-9]+)(/?)+$" /> <conditions logicalGrouping="MatchAll"> <add input="{REQUEST_FILENAME}" matchType="IsFile" negate="true" /> <add input="{REQUEST_FILENAME}" matchType="IsDirectory" negate="true" /> </conditions> <action type="Rewrite" url="index.php?do=forum&showtopic={R:1}&cstart={R:2}" /> </rule> <rule name="RewriteUserFriendlyURL5" stopProcessing="true"> <match url="^forum/topic_([0-9]+)(/?)+$" /> <conditions logicalGrouping="MatchAll"> <add input="{REQUEST_FILENAME}" matchType="IsFile" negate="true" /> <add input="{REQUEST_FILENAME}" matchType="IsDirectory" negate="true" /> </conditions> <action type="Rewrite" url="index.php?do=forum&showtopic={R:1}" /> </rule> <rule name="RewriteUserFriendlyURL9" stopProcessing="true"> <match url="^forum/forum_([0-9]+)/add(/?)+$" /> <conditions logicalGrouping="MatchAll"> <add input="{REQUEST_FILENAME}" matchType="IsFile" negate="true" /> <add input="{REQUEST_FILENAME}" matchType="IsDirectory" negate="true" /> </conditions> <action type="Rewrite" url="index.php?do=forum&act=add_topic&forum_id={R:1}" /> </rule> <rule name="RewriteUserFriendlyURL4" stopProcessing="true"> <match url="^forum/forum_([0-9]+)/([0-9]+)(/?)+$" /> <conditions logicalGrouping="MatchAll"> <add input="{REQUEST_FILENAME}" matchType="IsFile" negate="true" /> <add input="{REQUEST_FILENAME}" matchType="IsDirectory" negate="true" /> </conditions> <action type="Rewrite" url="index.php?do=forum&showforum={R:1}&cstart={R:2}" /> </rule> <rule name="RewriteUserFriendlyURL3" stopProcessing="true"> <match url="^forum/forum_([0-9]+)(/?)+$" /> <conditions logicalGrouping="MatchAll"> <add input="{REQUEST_FILENAME}" matchType="IsFile" negate="true" /> <add input="{REQUEST_FILENAME}" matchType="IsDirectory" negate="true" /> </conditions> <action type="Rewrite" url="index.php?do=forum&showforum={R:1}" /> </rule> <rule name="RewriteUserFriendlyURL11" stopProcessing="true"> <match url="^forum/search/([0-9]+)-([^/]+)/([0-9]+)(/?)+$" /> <conditions logicalGrouping="MatchAll"> <add input="{REQUEST_FILENAME}" matchType="IsFile" negate="true" /> <add input="{REQUEST_FILENAME}" matchType="IsDirectory" negate="true" /> </conditions> <action type="Rewrite" url="index.php?do=forum&act=search&count_all={R:1}&search_text={R:2}&cstart={R:3}" /> </rule> <rule name="RewriteUserFriendlyURL10" stopProcessing="true"> <match url="^forum/search(/?)+$" /> <conditions logicalGrouping="MatchAll"> <add input="{REQUEST_FILENAME}" matchType="IsFile" negate="true" /> <add input="{REQUEST_FILENAME}" matchType="IsDirectory" negate="true" /> </conditions> <action type="Rewrite" url="index.php?do=forum&act=search" /> </rule> <rule name="RewriteUserFriendlyURL12" stopProcessing="true"> <match url="^forum/subscription(/?)+$" /> <conditions logicalGrouping="MatchAll"> <add input="{REQUEST_FILENAME}" matchType="IsFile" negate="true" /> <add input="{REQUEST_FILENAME}" matchType="IsDirectory" negate="true" /> </conditions> <action type="Rewrite" url="index.php?do=forum&act=subscription" /> </rule> <rule name="RewriteUserFriendlyURL14" stopProcessing="true"> <match url="^forum/getnew/([0-9]+)(/?)+$" /> <conditions logicalGrouping="MatchAll"> <add input="{REQUEST_FILENAME}" matchType="IsFile" negate="true" /> <add input="{REQUEST_FILENAME}" matchType="IsDirectory" negate="true" /> </conditions> <action type="Rewrite" url="index.php?do=forum&act=getnew&cstart={R:1}" /> </rule> <rule name="RewriteUserFriendlyURL13" stopProcessing="true"> <match url="^forum/getnew(/?)+$" /> <conditions logicalGrouping="MatchAll"> <add input="{REQUEST_FILENAME}" matchType="IsFile" negate="true" /> <add input="{REQUEST_FILENAME}" matchType="IsDirectory" negate="true" /> </conditions> <action type="Rewrite" url="index.php?do=forum&act=getnew" /> </rule> <rule name="RewriteUserFriendlyURL16" stopProcessing="true"> <match url="^forum/warn/([^/]*)/([0-9]+)(/?)+$" /> <conditions logicalGrouping="MatchAll"> <add input="{REQUEST_FILENAME}" matchType="IsFile" negate="true" /> <add input="{REQUEST_FILENAME}" matchType="IsDirectory" negate="true" /> </conditions> <action type="Rewrite" url="index.php?do=forum&act=warn&user={R:1}&cstart={R:2}" /> </rule> <rule name="RewriteUserFriendlyURL15" stopProcessing="true"> <match url="^forum/warn/([^/]*)(/?)+$" /> <conditions logicalGrouping="MatchAll"> <add input="{REQUEST_FILENAME}" matchType="IsFile" negate="true" /> <add input="{REQUEST_FILENAME}" matchType="IsDirectory" negate="true" /> </conditions> <action type="Rewrite" url="index.php?do=forum&act=warn&user={R:1}" /> </rule> <rule name="RewriteUserFriendlyURL18" stopProcessing="true"> <match url="^forum/reputation/([^/]*)/([0-9]+)(/?)+$" /> <conditions logicalGrouping="MatchAll"> <add input="{REQUEST_FILENAME}" matchType="IsFile" negate="true" /> <add input="{REQUEST_FILENAME}" matchType="IsDirectory" negate="true" /> </conditions> <action type="Rewrite" url="index.php?do=forum&act=reputation&user={R:1}&cstart={R:2}" /> </rule> <rule name="RewriteUserFriendlyURL17" stopProcessing="true"> <match url="^forum/reputation/([^/]*)(/?)+$" /> <conditions logicalGrouping="MatchAll"> <add input="{REQUEST_FILENAME}" matchType="IsFile" negate="true" /> <add input="{REQUEST_FILENAME}" matchType="IsDirectory" negate="true" /> </conditions> <action type="Rewrite" url="index.php?do=forum&act=reputation&user={R:1}" /> </rule> <rule name="RewriteUserFriendlyURL19" stopProcessing="true"> <match url="^forum/textversion.html$" /> <conditions logicalGrouping="MatchAll"> <add input="{REQUEST_FILENAME}" matchType="IsFile" negate="true" /> <add input="{REQUEST_FILENAME}" matchType="IsDirectory" negate="true" /> </conditions> <action type="Rewrite" url="engine/forum/textversion.php" /> </rule> <rule name="RewriteUserFriendlyURL1" stopProcessing="true"> <match url="^forum(/?)+$" /> <conditions logicalGrouping="MatchAll"> <add input="{REQUEST_FILENAME}" matchType="IsFile" negate="true" /> <add input="{REQUEST_FILENAME}" matchType="IsDirectory" negate="true" /> </conditions> <action type="Rewrite" url="index.php?do=forum" /> </rule> <rule name="RewriteUserFriendlyURL22" stopProcessing="true"> <match url="^page/(.*)$" /> <conditions logicalGrouping="MatchAll"> <add input="{REQUEST_FILENAME}" matchType="IsFile" negate="true" /> <add input="{REQUEST_FILENAME}" matchType="IsDirectory" negate="true" /> </conditions> <action type="Rewrite" url="index.php?cstart={R:1}" /> </rule> <rule name="RewriteUserFriendlyURL23" stopProcessing="true"> <match url="^([0-9]{4})/([0-9]{2})/([0-9]{2})/page,([0-9]+),([0-9]+),(.*).html(/?)+$" /> <conditions logicalGrouping="MatchAll"> <add input="{REQUEST_FILENAME}" matchType="IsFile" negate="true" /> <add input="{REQUEST_FILENAME}" matchType="IsDirectory" negate="true" /> </conditions> <action type="Rewrite" url="index.php?subaction=showfull&year={R:1}&month={R:2}&day={R:3}&news_page={R:4}&cstart={R:5}&news_name={R:6}" /> </rule> <rule name="RewriteUserFriendlyURL24" stopProcessing="true"> <match url="^([0-9]{4})/([0-9]{2})/([0-9]{2})/page,([0-9]+),(.*).html(/?)+$" /> <conditions logicalGrouping="MatchAll"> <add input="{REQUEST_FILENAME}" matchType="IsFile" negate="true" /> <add input="{REQUEST_FILENAME}" matchType="IsDirectory" negate="true" /> </conditions> <action type="Rewrite" url="index.php?subaction=showfull&year={R:1}&month={R:2}&day={R:3}&news_page={R:4}&news_name={R:5}" /> </rule> <rule name="RewriteUserFriendlyURL25" stopProcessing="true"> <match url="^([0-9]{4})/([0-9]{2})/([0-9]{2})/print:page,([0-9]+),(.*).html(/?)+$" /> <conditions logicalGrouping="MatchAll"> <add input="{REQUEST_FILENAME}" matchType="IsFile" negate="true" /> <add input="{REQUEST_FILENAME}" matchType="IsDirectory" negate="true" /> </conditions> <action type="Rewrite" url="engine/print.php?subaction=showfull&year={R:1}&month={R:2}&day={R:3}&news_page={R:4}&news_name={R:5}" /> </rule> <rule name="RewriteUserFriendlyURL26" stopProcessing="true"> <match url="^([0-9]{4})/([0-9]{2})/([0-9]{2})/(.*).html(/?)+$" /> <conditions logicalGrouping="MatchAll"> <add input="{REQUEST_FILENAME}" matchType="IsFile" negate="true" /> <add input="{REQUEST_FILENAME}" matchType="IsDirectory" negate="true" /> </conditions> <action type="Rewrite" url="index.php?subaction=showfull&year={R:1}&month={R:2}&day={R:3}&news_name={R:4}" /> </rule> <rule name="RewriteUserFriendlyURL27" stopProcessing="true"> <match url="^([^.]+)/page,([0-9]+),([0-9]+),([0-9]+)-(.*).html(/?)+$" /> <conditions logicalGrouping="MatchAll"> <add input="{REQUEST_FILENAME}" matchType="IsFile" negate="true" /> <add input="{REQUEST_FILENAME}" matchType="IsDirectory" negate="true" /> </conditions> <action type="Rewrite" url="index.php?newsid={R:4}&news_page={R:2}&cstart={R:3}" /> </rule> <rule name="RewriteUserFriendlyURL28" stopProcessing="true"> <match url="^([^.]+)/page,([0-9]+),([0-9]+)-(.*).html(/?)+$" /> <conditions logicalGrouping="MatchAll"> <add input="{REQUEST_FILENAME}" matchType="IsFile" negate="true" /> <add input="{REQUEST_FILENAME}" matchType="IsDirectory" negate="true" /> </conditions> <action type="Rewrite" url="index.php?newsid={R:3}&news_page={R:2}" /> </rule> <rule name="RewriteUserFriendlyURL29" stopProcessing="true"> <match url="^([^.]+)/print:page,([0-9]+),([0-9]+)-(.*).html(/?)+$" /> <conditions logicalGrouping="MatchAll"> <add input="{REQUEST_FILENAME}" matchType="IsFile" negate="true" /> <add input="{REQUEST_FILENAME}" matchType="IsDirectory" negate="true" /> </conditions> <action type="Rewrite" url="engine/print.php?news_page={R:2}&newsid={R:3}" /> </rule> <rule name="RewriteUserFriendlyURL30" stopProcessing="true"> <match url="^([^.]+)/([0-9]+)-(.*).html(/?)+$" /> <conditions logicalGrouping="MatchAll"> <add input="{REQUEST_FILENAME}" matchType="IsFile" negate="true" /> <add input="{REQUEST_FILENAME}" matchType="IsDirectory" negate="true" /> </conditions> <action type="Rewrite" url="index.php?newsid={R:2}" /> </rule> <rule name="RewriteUserFriendlyURL31" stopProcessing="true"> <match url="^page,([0-9]+),([0-9]+),([0-9]+)-(.*).html(/?)+$" /> <conditions logicalGrouping="MatchAll"> <add input="{REQUEST_FILENAME}" matchType="IsFile" negate="true" /> <add input="{REQUEST_FILENAME}" matchType="IsDirectory" negate="true" /> </conditions> <action type="Rewrite" url="index.php?newsid={R:3}&news_page={R:1}&cstart={R:2}" /> </rule> <rule name="RewriteUserFriendlyURL32" stopProcessing="true"> <match url="^page,([0-9]+),([0-9]+)-(.*).html(/?)+$" /> <conditions logicalGrouping="MatchAll"> <add input="{REQUEST_FILENAME}" matchType="IsFile" negate="true" /> <add input="{REQUEST_FILENAME}" matchType="IsDirectory" negate="true" /> </conditions> <action type="Rewrite" url="index.php?newsid={R:2}&news_page={R:1}" /> </rule> <rule name="RewriteUserFriendlyURL33" stopProcessing="true"> <match url="^print:page,([0-9]+),([0-9]+)-(.*).html(/?)+$" /> <conditions logicalGrouping="MatchAll"> <add input="{REQUEST_FILENAME}" matchType="IsFile" negate="true" /> <add input="{REQUEST_FILENAME}" matchType="IsDirectory" negate="true" /> </conditions> <action type="Rewrite" url="engine/print.php?news_page={R:1}&newsid={R:2}" /> </rule> <rule name="RewriteUserFriendlyURL34" stopProcessing="true"> <match url="^([0-9]+)-(.*).html(/?)+$" /> <conditions logicalGrouping="MatchAll"> <add input="{REQUEST_FILENAME}" matchType="IsFile" negate="true" /> <add input="{REQUEST_FILENAME}" matchType="IsDirectory" negate="true" /> </conditions> <action type="Rewrite" url="index.php?newsid={R:1}" /> </rule> <rule name="RewriteUserFriendlyURL35" stopProcessing="true"> <match url="^([0-9]{4})/([0-9]{2})/([0-9]{2})(/?)+$" /> <conditions logicalGrouping="MatchAll"> <add input="{REQUEST_FILENAME}" matchType="IsFile" negate="true" /> <add input="{REQUEST_FILENAME}" matchType="IsDirectory" negate="true" /> </conditions> <action type="Rewrite" url="index.php?year={R:1}&month={R:2}&day={R:3}" /> </rule> <rule name="RewriteUserFriendlyURL36" stopProcessing="true"> <match url="^([0-9]{4})/([0-9]{2})/([0-9]{2})/page/([0-9]+)(/?)+$" /> <conditions logicalGrouping="MatchAll"> <add input="{REQUEST_FILENAME}" matchType="IsFile" negate="true" /> <add input="{REQUEST_FILENAME}" matchType="IsDirectory" negate="true" /> </conditions> <action type="Rewrite" url="index.php?year={R:1}&month={R:2}&day={R:3}&cstart={R:4}" /> </rule> <rule name="RewriteUserFriendlyURL37" stopProcessing="true"> <match url="^([0-9]{4})/([0-9]{2})(/?)+$" /> <conditions logicalGrouping="MatchAll"> <add input="{REQUEST_FILENAME}" matchType="IsFile" negate="true" /> <add input="{REQUEST_FILENAME}" matchType="IsDirectory" negate="true" /> </conditions> <action type="Rewrite" url="index.php?year={R:1}&month={R:2}" /> </rule> <rule name="RewriteUserFriendlyURL38" stopProcessing="true"> <match url="^([0-9]{4})/([0-9]{2})/page/([0-9]+)(/?)+$" /> <conditions logicalGrouping="MatchAll"> <add input="{REQUEST_FILENAME}" matchType="IsFile" negate="true" /> <add input="{REQUEST_FILENAME}" matchType="IsDirectory" negate="true" /> </conditions> <action type="Rewrite" url="index.php?year={R:1}&month={R:2}&cstart={R:3}" /> </rule> <rule name="RewriteUserFriendlyURL39" stopProcessing="true"> <match url="^([0-9]{4})(/?)+$" /> <conditions logicalGrouping="MatchAll"> <add input="{REQUEST_FILENAME}" matchType="IsFile" negate="true" /> <add input="{REQUEST_FILENAME}" matchType="IsDirectory" negate="true" /> </conditions> <action type="Rewrite" url="index.php?year={R:1}" /> </rule> <rule name="RewriteUserFriendlyURL40" stopProcessing="true"> <match url="^([0-9]{4})/page/([0-9]+)(/?)+$" /> <conditions logicalGrouping="MatchAll"> <add input="{REQUEST_FILENAME}" matchType="IsFile" negate="true" /> <add input="{REQUEST_FILENAME}" matchType="IsDirectory" negate="true" /> </conditions> <action type="Rewrite" url="index.php?year={R:1}&cstart={R:2}" /> </rule> <rule name="RewriteUserFriendlyURL41" stopProcessing="true"> <match url="^tags/([^/]*)(/?)+$" /> <conditions logicalGrouping="MatchAll"> <add input="{REQUEST_FILENAME}" matchType="IsFile" negate="true" /> <add input="{REQUEST_FILENAME}" matchType="IsDirectory" negate="true" /> </conditions> <action type="Rewrite" url="index.php?do=tags&tag={R:1}" /> </rule> <rule name="RewriteUserFriendlyURL42" stopProcessing="true"> <match url="^tags/([^/]*)/page/([0-9]+)(/?)+$" /> <conditions logicalGrouping="MatchAll"> <add input="{REQUEST_FILENAME}" matchType="IsFile" negate="true" /> <add input="{REQUEST_FILENAME}" matchType="IsDirectory" negate="true" /> </conditions> <action type="Rewrite" url="index.php?do=tags&tag={R:1}&cstart={R:2}" /> </rule> <rule name="RewriteUserFriendlyURL43" stopProcessing="true"> <match url="^user/([^/]*)/rss.xml$" /> <conditions logicalGrouping="MatchAll"> <add input="{REQUEST_FILENAME}" matchType="IsFile" negate="true" /> <add input="{REQUEST_FILENAME}" matchType="IsDirectory" negate="true" /> </conditions> <action type="Rewrite" url="engine/rss.php?subaction=allnews&user={R:1}" /> </rule> <rule name="RewriteUserFriendlyURL44" stopProcessing="true"> <match url="^user/([^/]*)(/?)+$" /> <conditions logicalGrouping="MatchAll"> <add input="{REQUEST_FILENAME}" matchType="IsFile" negate="true" /> <add input="{REQUEST_FILENAME}" matchType="IsDirectory" negate="true" /> </conditions> <action type="Rewrite" url="index.php?subaction=userinfo&user={R:1}" /> </rule> <rule name="RewriteUserFriendlyURL45" stopProcessing="true"> <match url="^user/([^/]*)/page/([0-9]+)(/?)+$" /> <conditions logicalGrouping="MatchAll"> <add input="{REQUEST_FILENAME}" matchType="IsFile" negate="true" /> <add input="{REQUEST_FILENAME}" matchType="IsDirectory" negate="true" /> </conditions> <action type="Rewrite" url="index.php?subaction=userinfo&user={R:1}&cstart={R:2}" /> </rule> <rule name="RewriteUserFriendlyURL46" stopProcessing="true"> <match url="^user/([^/]*)/news(/?)+$" /> <conditions logicalGrouping="MatchAll"> <add input="{REQUEST_FILENAME}" matchType="IsFile" negate="true" /> <add input="{REQUEST_FILENAME}" matchType="IsDirectory" negate="true" /> </conditions> <action type="Rewrite" url="index.php?subaction=allnews&user={R:1}" /> </rule> <rule name="RewriteUserFriendlyURL47" stopProcessing="true"> <match url="^user/([^/]*)/news/page/([0-9]+)(/?)+$" /> <conditions logicalGrouping="MatchAll"> <add input="{REQUEST_FILENAME}" matchType="IsFile" negate="true" /> <add input="{REQUEST_FILENAME}" matchType="IsDirectory" negate="true" /> </conditions> <action type="Rewrite" url="index.php?subaction=allnews&user={R:1}&cstart={R:2}" /> </rule> <rule name="RewriteUserFriendlyURL48" stopProcessing="true"> <match url="^user/([^/]*)/news/rss.xml(/?)+$" /> <conditions logicalGrouping="MatchAll"> <add input="{REQUEST_FILENAME}" matchType="IsFile" negate="true" /> <add input="{REQUEST_FILENAME}" matchType="IsDirectory" negate="true" /> </conditions> <action type="Rewrite" url="engine/rss.php?subaction=allnews&user={R:1}" /> </rule> <rule name="RewriteUserFriendlyURL49" stopProcessing="true"> <match url="^lastnews/(/?)+$" /> <conditions logicalGrouping="MatchAll"> <add input="{REQUEST_FILENAME}" matchType="IsFile" negate="true" /> <add input="{REQUEST_FILENAME}" matchType="IsDirectory" negate="true" /> </conditions> <action type="Rewrite" url="index.php?do=lastnews" /> </rule> <rule name="RewriteUserFriendlyURL50" stopProcessing="true"> <match url="^lastnews/page/([0-9]+)(/?)+$" /> <conditions logicalGrouping="MatchAll"> <add input="{REQUEST_FILENAME}" matchType="IsFile" negate="true" /> <add input="{REQUEST_FILENAME}" matchType="IsDirectory" negate="true" /> </conditions> <action type="Rewrite" url="index.php?do=lastnews&cstart={R:1}" /> </rule> <rule name="RewriteUserFriendlyURL51" stopProcessing="true"> <match url="^catalog/([^/]*)(/?)+$" /> <conditions logicalGrouping="MatchAll"> <add input="{REQUEST_FILENAME}" matchType="IsFile" negate="true" /> <add input="{REQUEST_FILENAME}" matchType="IsDirectory" negate="true" /> </conditions> <action type="Rewrite" url="index.php?catalog={R:1}" /> </rule> <rule name="RewriteUserFriendlyURL52" stopProcessing="true"> <match url="^catalog/([^/]*)/page/([0-9]+)(/?)+$" /> <conditions logicalGrouping="MatchAll"> <add input="{REQUEST_FILENAME}" matchType="IsFile" negate="true" /> <add input="{REQUEST_FILENAME}" matchType="IsDirectory" negate="true" /> </conditions> <action type="Rewrite" url="index.php?catalog={R:1}&cstart={R:2}" /> </rule> <rule name="RewriteUserFriendlyURL53" stopProcessing="true"> <match url="^newposts(/?)+$" /> <conditions logicalGrouping="MatchAll"> <add input="{REQUEST_FILENAME}" matchType="IsFile" negate="true" /> <add input="{REQUEST_FILENAME}" matchType="IsDirectory" negate="true" /> </conditions> <action type="Rewrite" url="index.php?subaction=newposts" /> </rule> <rule name="RewriteUserFriendlyURL54" stopProcessing="true"> <match url="^newposts/page/([0-9]+)(/?)+$" /> <conditions logicalGrouping="MatchAll"> <add input="{REQUEST_FILENAME}" matchType="IsFile" negate="true" /> <add input="{REQUEST_FILENAME}" matchType="IsDirectory" negate="true" /> </conditions> <action type="Rewrite" url="index.php?subaction=newposts&cstart={R:1}" /> </rule> <rule name="RewriteUserFriendlyURL55" stopProcessing="true"> <match url="^static/(.*).html(/?)+$" /> <conditions logicalGrouping="MatchAll"> <add input="{REQUEST_FILENAME}" matchType="IsFile" negate="true" /> <add input="{REQUEST_FILENAME}" matchType="IsDirectory" negate="true" /> </conditions> <action type="Rewrite" url="index.php?do=static&page={R:1}" /> </rule> <rule name="RewriteUserFriendlyURL56" stopProcessing="true"> <match url="^favorites(/?)+$" /> <conditions logicalGrouping="MatchAll"> <add input="{REQUEST_FILENAME}" matchType="IsFile" negate="true" /> <add input="{REQUEST_FILENAME}" matchType="IsDirectory" negate="true" /> </conditions> <action type="Rewrite" url="index.php?do=favorites" /> </rule> <rule name="RewriteUserFriendlyURL57" stopProcessing="true"> <match url="^favorites/page/([0-9]+)(/?)+$" /> <conditions logicalGrouping="MatchAll"> <add input="{REQUEST_FILENAME}" matchType="IsFile" negate="true" /> <add input="{REQUEST_FILENAME}" matchType="IsDirectory" negate="true" /> </conditions> <action type="Rewrite" url="index.php?do=favorites&cstart={R:1}" /> </rule> <rule name="RewriteUserFriendlyURL58" stopProcessing="true"> <match url="^contact(/?)+$" /> <conditions logicalGrouping="MatchAll"> <add input="{REQUEST_FILENAME}" matchType="IsFile" negate="true" /> <add input="{REQUEST_FILENAME}" matchType="IsDirectory" negate="true" /> </conditions> <action type="Rewrite" url="index.php?do=feedback" /> </rule> <rule name="RewriteUserFriendlyURL59" stopProcessing="true"> <match url="^sitemap(/?)+$" /> <conditions logicalGrouping="MatchAll"> <add input="{REQUEST_FILENAME}" matchType="IsFile" negate="true" /> <add input="{REQUEST_FILENAME}" matchType="IsDirectory" negate="true" /> </conditions> <action type="Rewrite" url="index.php?do=sitemap" /> </rule> <rule name="RewriteUserFriendlyURL60" stopProcessing="true"> <match url="^rules.html$" /> <conditions logicalGrouping="MatchAll"> <add input="{REQUEST_FILENAME}" matchType="IsFile" negate="true" /> <add input="{REQUEST_FILENAME}" matchType="IsDirectory" negate="true" /> </conditions> <action type="Rewrite" url="index.php?do=rules" /> </rule> <rule name="RewriteUserFriendlyURL61" stopProcessing="true"> <match url="^statistics.html$" /> <conditions logicalGrouping="MatchAll"> <add input="{REQUEST_FILENAME}" matchType="IsFile" negate="true" /> <add input="{REQUEST_FILENAME}" matchType="IsDirectory" negate="true" /> </conditions> <action type="Rewrite" url="index.php?do=stats" /> </rule> <rule name="RewriteUserFriendlyURL62" stopProcessing="true"> <match url="^addnews.html$" /> <conditions logicalGrouping="MatchAll"> <add input="{REQUEST_FILENAME}" matchType="IsFile" negate="true" /> <add input="{REQUEST_FILENAME}" matchType="IsDirectory" negate="true" /> </conditions> <action type="Rewrite" url="index.php?do=addnews" /> </rule> <rule name="RewriteUserFriendlyURL63" stopProcessing="true"> <match url="^rss.xml$" /> <conditions logicalGrouping="MatchAll"> <add input="{REQUEST_FILENAME}" matchType="IsFile" negate="true" /> <add input="{REQUEST_FILENAME}" matchType="IsDirectory" negate="true" /> </conditions> <action type="Rewrite" url="engine/rss.php" /> </rule> <rule name="RewriteUserFriendlyURL64" stopProcessing="true"> <match url="^sitemap.xml$" /> <conditions logicalGrouping="MatchAll"> <add input="{REQUEST_FILENAME}" matchType="IsFile" negate="true" /> <add input="{REQUEST_FILENAME}" matchType="IsDirectory" negate="true" /> </conditions> <action type="Rewrite" url="uploads/sitemap.xml" /> </rule> <rule name="RewriteUserFriendlyURL65" stopProcessing="true"> <match url="^([^.]+)/page/([0-9]+)(/?)+$" /> <conditions logicalGrouping="MatchAll"> <add input="{REQUEST_FILENAME}" matchType="IsFile" negate="true" /> <add input="{REQUEST_FILENAME}" matchType="IsDirectory" negate="true" /> </conditions> <action type="Rewrite" url="index.php?do=cat&category={R:1}&cstart={R:2}" /> </rule> <rule name="RewriteUserFriendlyURL66" stopProcessing="true"> <match url="^([^.]+)/?$" /> <conditions logicalGrouping="MatchAll"> <add input="{REQUEST_FILENAME}" matchType="IsFile" negate="true" /> <add input="{REQUEST_FILENAME}" matchType="IsDirectory" negate="true" /> </conditions> <action type="Rewrite" url="index.php?do=cat&category={R:1}" /> </rule> <rule name="RewriteUserFriendlyURL67" stopProcessing="true"> <match url="^([^<]+)/rss.xml$" /> <conditions logicalGrouping="MatchAll"> <add input="{REQUEST_FILENAME}" matchType="IsFile" negate="true" /> <add input="{REQUEST_FILENAME}" matchType="IsDirectory" negate="true" /> </conditions> <action type="Rewrite" url="engine/rss.php?do=cat&category={R:1}" /> </rule> <rule name="RewriteUserFriendlyURL68" stopProcessing="true"> <match url="^page,([0-9]+),([^/]+).html$" /> <conditions logicalGrouping="MatchAll"> <add input="{REQUEST_FILENAME}" matchType="IsFile" negate="true" /> <add input="{REQUEST_FILENAME}" matchType="IsDirectory" negate="true" /> </conditions> <action type="Rewrite" url="index.php?do=static&page={R:2}&news_page={R:1}" /> </rule> <rule name="RewriteUserFriendlyURL69" stopProcessing="true"> <match url="^print:([^/]+).html$" /> <conditions logicalGrouping="MatchAll"> <add input="{REQUEST_FILENAME}" matchType="IsFile" negate="true" /> <add input="{REQUEST_FILENAME}" matchType="IsDirectory" negate="true" /> </conditions> <action type="Rewrite" url="engine/print.php?do=static&page={R:1}" /> </rule> <rule name="RewriteUserFriendlyURL70" stopProcessing="true"> <match url="^([^/]+).html$" /> <conditions logicalGrouping="MatchAll"> <add input="{REQUEST_FILENAME}" matchType="IsFile" negate="true" /> <add input="{REQUEST_FILENAME}" matchType="IsDirectory" negate="true" /> </conditions> <action type="Rewrite" url="index.php?do=static&page={R:1}" /> </rule> </rules> </rewrite> </system.webServer> </configuration>
Пожелания для новых версий DataLife Engine в DataLife Engine (Общие вопросы) Опубликовано: 21 марта 2008 Вопрос о поддержке скриптом ЧПУ под IIS тут ещё не пробегал? Или тут все поголовно сидят на Apache
Будет ли DLE работать на IIS?
в DataLife Engine (Общие вопросы)
Опубликовано: · Изменено пользователем Frenzzy
Кто-нибудь может выложить IIS7 Rewrite Rules под DLE (8.5) ?
У меня конечно есть своя версия, но я думаю что она не достаточно корректна.
Может кто сможет подправить ошибки..
На всякий случай выложу для всех: