Après 4 heures de recherche et de test, j'ai besoin d'experts car je m'en sors pas dans le webconfig iis7
Voila sur mon site ou il y a un joomla j'ai fait un autre mini-site dans le répertoire ville pour le referencement de ce site
j'ai fais un rewrite pour ce répertoire (Règle 1 en rouge) jusque là tout va bien mais ou cela se gate c'est que dans ville j'ai mis une administration dans le répertoire admin et dans ce répertoire je ne veux pas de rewrite d'url et la je n'y arrive pas. comment je dois faire?
<rule name="Joomla! Rule 1" stopProcessing="true">
<match url="^(.*)$" ignoreCase="false" />
<conditions logicalGrouping="MatchAny">
<add input="{QUERY_STRING}" pattern="base64_encode[^(]*\([^)]*\)" ignoreCase="false" />
<add input="{QUERY_STRING}" pattern="(>|%3C)([^s]*s)+cript.*(<|%3E)" />
<add input="{QUERY_STRING}" pattern="GLOBALS(=|\[|\%[0-9A-Z]{0,2})" ignoreCase="false" />
<add input="{QUERY_STRING}" pattern="_REQUEST(=|\[|\%[0-9A-Z]{0,2})" ignoreCase="false" />
</conditions>
<action type="CustomResponse" url="index.php" statusCode="403" statusReason="Forbidden" statusDescription="Forbidden" />
</rule>
<rule name="Joomla! Rule 2">
<match url="(.*)" ignoreCase="false" />
<conditions logicalGrouping="MatchAll">
<add input="{URL}" pattern="^/index.php" ignoreCase="true" negate="true" />
<add input="{URL}" pattern="/component/|(/[^.]*|\.(php|html?|feed|pdf|vcf|raw))$" />
<add input="{REQUEST_FILENAME}" matchType="IsFile" ignoreCase="false" negate="true" />
<add input="{REQUEST_FILENAME}" matchType="IsDirectory" ignoreCase="false" negate="true" />
</conditions>
<action type="Rewrite" url="index.php" />
</rule> <rule name="wordpress" 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" />
</rule>
<rule name="Règle 1" stopProcessing="true">
<match url="/ville/|(/[^.]*|\.(php|html?|feed|pdf|vcf|raw))$" ignoreCase="false" />
<action type="Rewrite" url="/ville/index.php?cp=id" appendQueryString="false" logRewrittenUrl="true" />
<conditions>
</conditions>
</rule>








Répondre avec citation
Partager