locked
how can be sure rewrite module is installed in host? RRS feed

  • Question

  • User-1693623980 posted

    hi,

    I need  to handle redirecting all HTTP calls to HTTPS, so I must write this code in web.config

    <rule name="HTTP to HTTPS redirect" stopProcessing="true">
            <match url="(.*)" />
            <conditions>
                <add input="{HTTPS}" pattern="off" ignoreCase="true" />
            </conditions>
            <action type="Redirect" redirectType="Found" url="https://{HTTP_HOST}/{R:1}" />
        </rule>

    I test it but it doesnt work. so I think url rewrite module is not installed in server, how can I test the rewrite module installed in server or not?

    can I test it programatically?

    and If not installed do I need ask admin install the module rewrite_2.0_rtw_x64.msi ?

    and what is equal of above code if we want to use Intelligencia.UrlRewriter ? in this case do I need ask from admin of host to install Intelligencia module in server?

     thanks a lot

    Wednesday, May 21, 2014 2:54 AM

Answers

  • User-1454326058 posted

    Hi Bahare,

    For the IIS URL Rewrite, we should install the URL Rewrite Module. More information, please refer to:

    # URL Rewrite

    http://www.iis.net/downloads/microsoft/url-rewrite

    After succeed install that module, we can find IIS add the URL Rewrite feature. http://1drv.ms/SllZlD

    So, if it doesn’t installed, you need ask you administrator to install it.

    About Intelligencia UrlRewriter, please refer to:

    # URL Rewriter configuration

    http://urlrewriter.net/index.php/support/configuration

    If you still have the issue about Intelligencia UrlRewriter, I suggest that you should post it to the corresponding site for efficient response. (It is not supported here)

    Thanks

    Best Regards

    • Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
    Wednesday, May 21, 2014 10:21 PM

All replies

  • User-1454326058 posted

    Hi Bahare,

    For the IIS URL Rewrite, we should install the URL Rewrite Module. More information, please refer to:

    # URL Rewrite

    http://www.iis.net/downloads/microsoft/url-rewrite

    After succeed install that module, we can find IIS add the URL Rewrite feature. http://1drv.ms/SllZlD

    So, if it doesn’t installed, you need ask you administrator to install it.

    About Intelligencia UrlRewriter, please refer to:

    # URL Rewriter configuration

    http://urlrewriter.net/index.php/support/configuration

    If you still have the issue about Intelligencia UrlRewriter, I suggest that you should post it to the corresponding site for efficient response. (It is not supported here)

    Thanks

    Best Regards

    • Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
    Wednesday, May 21, 2014 10:21 PM
  • User-1693623980 posted

    Ok, but I think it's better to find a way to test locally and when we are sure about what exactly we want, call admin of host.

    I think I will find how can I test it locally by more googling.

    Thursday, May 22, 2014 3:09 AM