.httaccess => web.config

Trying to put the Cockpit under IIS
But I need a web.config file
I tried to convert with the help of the tool URL Rewrite
And got the following:

<?xml version="1.0" encoding="UTF-8"?>

Cockpit starts, but when you work gives an error
Error: “/modules/Collections/assets/field-collectionlink.tag?nc=1556089632” not found

Microsoft === VERY NOT Adequate Expression

<?xml version="1.0" encoding="UTF-8"?>
<mimeMap fileExtension=".f4a" mimeType="audio/mp4" />
<mimeMap fileExtension=".f4b" mimeType="audio/mp4" />
<mimeMap fileExtension=".f4v" mimeType="video/mp4" />
<mimeMap fileExtension=".f4p" mimeType="video/mp4" />

<mimeMap fileExtension=".webp" mimeType="image/webp" />
<mimeMap fileExtension=".appcache" mimeType="atext/cache-manifest" />
<mimeMap fileExtension=".rss" mimeType="application/xml" />
<mimeMap fileExtension=".rdf" mimeType="application/xml" />
<rule name="Imported Rule 2" stopProcessing="true">
  <match url=".*" ignoreCase="false" />
  <conditions>
    <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>

it`s work

…may be

Hi,

I’m zero experienced in IIS but maybe this config may help: https://github.com/agentejo/cockpit/issues/726#issuecomment-380102335

1 Like

Alas … Microsoft doesn’t understand the secrets of Microsoft even in their own support office :frowning:

But with the given configuration, it seems to work.

sorry to revive a dead topic, though it partially few thing:

  • one can login
  • one can access dashboard

But creating records, accessing accounts etc returns blank and anyone help?