-1

I am using IIS 10.0 to host my Laravel Website. I already have laravel code containing web.config file in public folder. However after hosting the site, I am getting HTTP Error 500.19 - Internal Server Error with Error Code 0x8007000d. I checked the syntax of XML format in web.config and it seems to be ok. I also cheked permission for my public folder, which I have given all access to all user groups.

Here below is my web.config file

<configuration>
  <system.webServer>
    <rewrite>
      <rules>
        <rule name="Imported Rule 1" stopProcessing="true">
          <match url="^(.*)/$" ignoreCase="false" />
          <conditions>
            <add input="{REQUEST_FILENAME}" matchType="IsDirectory" ignoreCase="false" negate="true" />
          </conditions>
          <action type="Redirect" redirectType="Permanent" url="/{R:1}" />
        </rule>
        <rule name="Imported Rule 2" stopProcessing="true">
          <match url="^" ignoreCase="false" />
          <conditions>
            <add input="{REQUEST_FILENAME}" matchType="IsDirectory" ignoreCase="false" negate="true" />
            <add input="{REQUEST_FILENAME}" matchType="IsFile" ignoreCase="false" negate="true" />
          </conditions>
          <action type="Rewrite" url="index.php" />
        </rule>
      </rules>
    </rewrite>
  </system.webServer>
</configuration>

Please help me to solve this issue. Thank you in advance

  • 1
    Does this answer your question? [HTTP Error 500.19 on IIS7 "Malformed XML" in web.config](https://stackoverflow.com/questions/14132029/http-error-500-19-on-iis7-malformed-xml-in-web-config) – Lex Li Jun 16 '20 at 12:32

1 Answers1

1

Error 0x8007000d means URL rewriting module (referenced in web.config) is missing or proper version is not installed.

Just install URL rewriting module via web platform installer.

I recommend to check all dependencies from web.config and install them.

Jonathan Delean
  • 1,011
  • 1
  • 8
  • 25