Problems with routing on IIS server

nothing happens after implement rewrite url with parameter

iscan.bus.nl/bus.aspx?id=1000

iscan.bus.nl/certs/1000

Have you clicked the upload routes file button and have you uploaded the bus.aspx page?

Yes i did

Please don’t post code here, just answer the two question i asked above:

Have you clicked the upload routes file button

and

have you uploaded the bus.aspx page

I see internal server error (500) on your page, displaying a generic message. Please enable detailed error reporting on your server so we can see the exact error.

when adding rewrite an error on iis occured

afbeelding

Ok can you then paste the content of the web.config wrapped in three backticks: ```

<configuration>
<system.webServer>
<rewrite>
<rules>
<!-- Wappler routing -->
<rule name="wappler rewrite #sy5go96ou" stopProcessing="true">
  <match url="^/?certs/([^/]+?)(?:/)?$" ignoreCase="true" />
  <conditions logicalGrouping="MatchAll">
      <add input="{REQUEST_FILENAME}" matchType="IsFile" negate="true" pattern="" ignoreCase="false" />
  </conditions>
  <action type="Rewrite" url="bus.aspx?id={R:1}" appendQueryString="true" />
</rule>
<!-- End Wappler routing -->
</rules>
</rewrite>
</system.webServer>
</configuration>```

Maybe @patrick can advise better what’s wrong :slight_smile:

What is the OS and IIS version used?

Windows server 2012 and IIS 8

Rewrite module wasn’t installled. It is working now!

1 Like

Great to hear it’s working fine now :slight_smile: