Forum Replies Created

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter soc_j

    (@soc_j)

    Hi, finally I solve this situation with this code in “web.config”…

    ———————————————–
    <?xml version=”1.0″ encoding=”UTF-8″?>
    <configuration>
    <system.webServer>
    <rewrite>
    <rules>
    <rule name=”Canonical Host Name” stopProcessing=”true”>
    <match url=”(.*)” />
    <conditions>
    <add input=”{HTTP_HOST}” negate=”true” pattern=”^mydomain\.com$” />
    <add input=”{URL}” negate=”true” pattern=”scoresubmit\.php$” />
    </conditions>
    <action type=”Redirect” url=”https://www.mydomain.com/{R:1}” redirectType=”Permanent” />
    </rule>
    <rule name=”Main Rule” 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/{R:0}” />
    </rule>
    </rules>
    </rewrite>
    </system.webServer>
    </configuration>
    ———————————

    I hope that is helpful for someone with the same problem…

    Thread Starter soc_j

    (@soc_j)

    Hi, anyone have any idea?

    Thanks in advanced

Viewing 2 replies - 1 through 2 (of 2 total)