Может кто-нибудь помочь мне, чтобы преобразовать этот файл web.config в .htaccessПреобразование файла web.config в .htaccess
я могу найти несколько онлайн-конвертеры для .htaccess в web.config, но ни для web.config с. htaccess
<rules>
<rule name="RedirectUserFriendlyURL1" stopProcessing="true">
<match url="^themes/sets\.cfm$" />
<conditions>
<add input="{REQUEST_METHOD}" pattern="^POST$" negate="true" />
<add input="{QUERY_STRING}" pattern="^set=([^=&]+)$" />
</conditions>
<action type="Redirect" url="themes/sets/{C:1}" appendQueryString="false" />
</rule>
<rule name="RewriteUserFriendlyURL1" stopProcessing="true">
<match url="^themes/sets/([^/]+)/?$" />
<conditions>
<add input="{REQUEST_FILENAME}" matchType="IsFile" negate="true" />
<add input="{REQUEST_FILENAME}" matchType="IsDirectory" negate="true" />
</conditions>
<action type="Rewrite" url="themes/sets.cfm?theme={R:1}" />
</rule>
<rule name="RedirectUserFriendlyURL2" stopProcessing="true">
<match url="^set\.cfm$" />
<conditions>
<add input="{REQUEST_METHOD}" pattern="^POST$" negate="true" />
<add input="{QUERY_STRING}" pattern="^set=([^=&]+)&name=([^=&]+)$" />
</conditions>
<action type="Redirect" url="set/{C:1}/{C:2}" appendQueryString="false" />
</rule>
<rule name="RewriteUserFriendlyURL2" stopProcessing="true">
<match url="^set/([^/]+)/([^/]+)/?$" />
<conditions>
<add input="{REQUEST_FILENAME}" matchType="IsFile" negate="true" />
<add input="{REQUEST_FILENAME}" matchType="IsDirectory" negate="true" />
</conditions>
<action type="Rewrite" url="set.cfm?set={R:1}&name={R:2}" />
</rule>
</rules>
Заранее спасибо.
мне нужна помощь по этому вопросу тоже. Любая помощь будет оценена по достоинству. –
Это не кажется большим, почему бы не преобразовать его вручную? –