View Issue Details

IDProjectCategoryView StatusLast Update
0024347mantisbtsecuritypublic2019-03-16 20:20
Reporterdregad Assigned Tocommunity  
PrioritynormalSeverityminorReproducibilityN/A
Status closedResolutionfixed 
Product Version2.19.0 
Target Version2.20.0Fixed in Version2.20.0 
Summary0024347: web.config file is missing in api/rest
Description

As reported by @obmsch in 0024302:0059628

htaccess equivalant web.config for IIS is missing in api/rest

<?xml version="1.0" encoding="UTF-8"?>
<configuration>
  <system.webServer>
    <rewrite>
      <rules>
        <rule name="imported rule" stopProcessing="true">
          <match url="^" ignoreCase="false" />
          <conditions>
            <!--# Based on Slim Framework recommendation @ http://docs.slimframework.com/routing/rewrite/-->
            <add input="{REQUEST_FILENAME}" matchType="IsFile" ignoreCase="false" negate="true" />
          </conditions>
          <action type="Rewrite" url="index.php" appendQueryString="true" />
        </rule>
      </rules>
    </rewrite>
  </system.webServer>
  <location allowOverride="true"/>  
</configuration>
TagsNo tags attached.

Activities

Related Changesets

MantisBT: master c7ca4005

2019-01-10 11:45

obmsch

Committer: vboctor


Details Diff
To enable access to MantisBT through REST API under IIS, add an
.htaccess equivalent web.config for the url rewrite rule.
Otherwise 404 is returned on every request.
Generated with IIS-URL-Rewrite.Import(api/rest/.htaccess).

Fixes 0024347
Affected Issues
0024347
add - api/rest/web.config Diff File