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

Будет ли DLE работать на IIS?


Рекомендованные сообщения

Здравствуйте.

Есть ли опыт по работе DLE на сервере IIS? Это возможно?

Попытался установить на IIS 7.0 (php через FastCgiModule). Установка прошла нормально, без ошибок. Только потом index.php, admin.php вызывают ошибку http error 500.0 (Module FastCgiModule, Notification:ExecuteRequestHandler, Error Code 0x00000000 :) ).

Буду признателен за помощь.

Ссылка на сообщение
Поделиться на других сайтах

1. Если ваша тема начинается с вопроса и вам нужна какая либо помощь, то в самой теме в обязательном порядке вы должны указывать ссылку на ваш сайт. Если ваш сайт находится в локальной сети и вы не можете предоставить ссылку то отправляйте персональное сообщение с вопросом в службу поддержки непосредственно с сайта http://dle-news.ru/, вам ответят на ваш вопрос в персональном порядке, в случае если пользуетесь легальной копией скрипта. Если вы не указали сайт, то ваша тема будет закрыта, а аккаунт на форуме заблокирован.

Ссылка на сообщение
Поделиться на других сайтах

1. Если ваша тема начинается с вопроса и вам нужна какая либо помощь, то в самой теме в обязательном порядке вы должны указывать ссылку на ваш сайт. Если ваш сайт находится в локальной сети и вы не можете предоставить ссылку то отправляйте персональное сообщение с вопросом в службу поддержки непосредственно с сайта http://dle-news.ru/, вам ответят на ваш вопрос в персональном порядке, в случае если пользуетесь легальной копией скрипта. Если вы не указали сайт, то ваша тема будет закрыта, а аккаунт на форуме заблокирован.

Тут вопрос в целом о движке и требавнях движка к серверу, возможно человек только хочет его купить, и тестит на демке, возможно еще и домена нет, а ты ему сразу правила показываешь, подсказал бы человеку лчше ;) ну или мимо прошел если не уверен.

p.s.

Владимир сделайте уже WWW.ZEOS.IN модератором, ну ведь стараетя человек :lol:

Ссылка на сообщение
Поделиться на других сайтах

Владимир сделайте уже WWW.ZEOS.IN модератором, ну ведь стараетя человек

spam, хаха :lol::D, спасибо не надо мне такого счастья ^_^

Просто правила одни для всех :)

Ссылка на сообщение
Поделиться на других сайтах

Здравствуйте.

Есть ли опыт по работе DLE на сервере IIS? Это возможно?

Попытался установить на IIS 7.0 (php через FastCgiModule). Установка прошла нормально, без ошибок. Только потом index.php, admin.php вызывают ошибку http error 500.0 (Module FastCgiModule, Notification:ExecuteRequestHandler, Error Code 0x00000000 :) ).

Буду признателен за помощь.

Всё должно работать, кроме ЧПУ. Проверь настройки PHP. Существует несколько способов подключения PHP на IIS.

B)

Ссылка на сообщение
Поделиться на других сайтах

Человек пытается установить все это счастье на Windows Server 2008 в состав которого и входит вышеупомянутый IIS7, система выдает 500 ошибку если не ошибаюсь то это внутренняя ошибка сервера в данном случае IIS7, если со связкой IIS+PHP все в норме то надо смотреть все настройки IIS (отключены какие то модули). Как сказали выше, ЧПУ надо отключить. Почитайте статью здесь http://technet.microsoft.com/ru-ru/magazine/cc194388.aspx

Ссылка на сообщение
Поделиться на других сайтах

Уважаемые господа. Проблема решилась. Спасибо! Всё заработало.

Kaliostro, спасибо (не сомневался ни секунды, что на IIS работает PHP, но вселил-таки дополнительную надежду). Грешил сначала на какие-то тонкости DLE, а оказалось все в неточной настройке php.

Г-н spam, именно так и есть: живой и не маленький сайт (iis+asp+aspx), надо протестировать новостную cms. Конечно же в локалке, не по живому же....

Если кому-то в будущем поможет, то суть решения - следующая.

0) Vista x64 sp1, IIS 7.

1) Установить обновление FastCGI (KB954946). Windows6.0-KB954946-x64.msu

2) Сконфигурировать PHP на IIS (См. инструкцию) Верить всему, что написано, кроме "Set open_basedir to point to a folder...."! Закомментировать и ничего не указывать, а если очень хочется, то вдумчиво.

Для x64 работает 32-разрядный PHP. Причем пул приложений может быть 32-х или 64-х битный (работает в обоих случаях).

3) Установить DLE. При установке отключить ЧПУ.

Ссылка на сообщение
Поделиться на других сайтах

3) Установить DLE. При установке отключить ЧПУ.

Чтобы работало ЧПУ нужно сконвертировать правила ReWrite в правила Web.Comfig.

Ссылка на сообщение
Поделиться на других сайтах

Владимир сделайте уже WWW.ZEOS.IN модератором, ну ведь стараетя человек

spam, хаха :lol::D, спасибо не надо мне такого счастья ^_^

Просто правила одни для всех :)

Только не надо в кажой теме совать это сообщение :rolleyes:

Ссылка на сообщение
Поделиться на других сайтах
  • 10 месяцев спустя...

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>

Ссылка на сообщение
Поделиться на других сайтах

Архивировано

Эта тема находится в архиве и закрыта для публикации сообщений.

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