{* * $Revision: 15945 $ * If you want to customize this file, do not edit it directly since future upgrades * may overwrite it. Instead, copy it into a new directory called "local" and edit that * version. Gallery will look for that file first and use it if it exists. *}
{g->text text="IIS ISAPI_Rewrite Support"}{g->text text="Testing if the server supports IIS ISAPI_Rewrite."} |
{if $TestResults.isapiInfo == REWRITE_STATUS_OK}
{g->text text="Success"}{else}{g->text text="Error"}{/if} |
{if $TestResults.isapiInfo != $TestResults.trueIsapiInfo}
||||
|
{g->text text="The current status may not be accurate, you have forced the test to pass."} |
{/if}
{if $TestResults.isapiInfo != REWRITE_STATUS_OK}
|||||
{g->text text="How to setup ISAP Rewrite"}{g->text text="In order to make the test pass you need to add the test rewrite rule in your httpd.ini:"} {$TestResults.contents}
{g->text text="If you add this at the bottom, please make sure that there's at least one empty line below the section"} {g->text text="Test ISAPI Rewrite Manually"}{g->text text="Gallery did not detect ISAPI Rewrite, please run this test yourself to verify."}
{g->text text="If the test gives you a page that says PASS_ISAPI_REWRITE you are good to go."} |
{/if}
|||||
{g->text text="ISAPI_Rewrite httpd.ini file"}{g->text text="Testing if Gallery can write to the httpd.ini file."} |
{if $TestResults.httpdini == REWRITE_STATUS_OK}
{g->text text="Success"}{else}{g->text text="Error"}{/if} |
{if $TestResults.httpdini != REWRITE_STATUS_OK}
||||
|
{if $TestResults.httpdini == REWRITE_STATUS_HTTPDINI_MISSING}
{g->text text="Please configure the correct location of ISAPI_Rewrite httpd.ini."}{/if} {if $TestResults.httpdini == REWRITE_STATUS_HTTPDINI_CANT_READ}{g->text text="Please make sure Gallery can read the httpd.ini file"}{/if} {if $TestResults.httpdini == REWRITE_STATUS_HTTPDINI_CANT_WRITE}{g->text text="Please make sure Gallery can write to the httpd.ini file"}{/if} |
{/if}
|||||