Перейти к публикации

Frenzzy

Клиенты
  • Публикации

    2
  • Зарегистрирован

  • Посещение

Сообщения, опубликованные пользователем Frenzzy

  1. 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&amp;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&amp;showtopic={R:1}&amp;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&amp;act=_topic&amp;code=reply&amp;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&amp;showtopic={R:1}&amp;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&amp;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&amp;act=add_topic&amp;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&amp;showforum={R:1}&amp;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&amp;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&amp;act=search&amp;count_all={R:1}&amp;search_text={R:2}&amp;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&amp;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&amp;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&amp;act=getnew&amp;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&amp;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&amp;act=warn&amp;user={R:1}&amp;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&amp;act=warn&amp;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&amp;act=reputation&amp;user={R:1}&amp;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&amp;act=reputation&amp;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&amp;year={R:1}&amp;month={R:2}&amp;day={R:3}&amp;news_page={R:4}&amp;cstart={R:5}&amp;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&amp;year={R:1}&amp;month={R:2}&amp;day={R:3}&amp;news_page={R:4}&amp;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&amp;year={R:1}&amp;month={R:2}&amp;day={R:3}&amp;news_page={R:4}&amp;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&amp;year={R:1}&amp;month={R:2}&amp;day={R:3}&amp;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}&amp;news_page={R:2}&amp;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}&amp;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}&amp;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}&amp;news_page={R:1}&amp;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}&amp;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}&amp;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}&amp;month={R:2}&amp;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}&amp;month={R:2}&amp;day={R:3}&amp;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}&amp;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}&amp;month={R:2}&amp;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}&amp;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&amp;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&amp;tag={R:1}&amp;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&amp;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&amp;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&amp;user={R:1}&amp;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&amp;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&amp;user={R:1}&amp;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&amp;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&amp;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}&amp;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&amp;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&amp;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&amp;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&amp;category={R:1}&amp;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&amp;category={R:1}" />
    
                    </rule>
    
                    <rule name="RewriteUserFriendlyURL67" stopProcessing="true">
    
                        <match url="^([^&lt;]+)/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&amp;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&amp;page={R:2}&amp;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&amp;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&amp;page={R:1}" />
    
                    </rule>
    
                </rules>
    
            </rewrite>
    
        </system.webServer>
    
    </configuration>
    
    

×
×
  • Создать...