Welcome to the SRP Forum! Please refer to the SRP Forum FAQ post if you have any questions regarding how the forum works.

URL rewrite?


  • Yes. If you follow these instructions and adapt to your URLs it should work:

    URL Rewrite Rules
  • Thank you.
    I will give it a go.
  • Ok, I create the rewrite scripts by copying ones I had already for the http_frameworks and then just guessed at the changes required and came up with this that works, well sort of.

    browser DevTools shows this:

    Does this mean I have to do all the folders in IIS , because I did not have to when http://localhost/pbc/oecgi4.exe/O4W_PBCMOBILE
    Is there a bit more I need to do?

    My url rewite is:

    <rule name="PBCO4W Root API" stopProcessing="true"> <match url="^pbco4wmobile$" /> <conditions logicalGrouping="MatchAll" trackAllCaptures="false" /> <action type="Rewrite" url="pbc/oecgi4.exe/o4w_pbcmobile" /> </rule> <rule name="PBCO4W API" stopProcessing="true"> <match url="^pbco4wmobile([_0-9a-z-/]+)$" /> <conditions logicalGrouping="MatchAll" trackAllCaptures="false" /> <action type="Rewrite" url="pbc/oecgi4.exe/o4w_pbcmobile/{R:1}" /> </rule>
  • Not in my wheelhouse. Perhaps others will chime in.
  • edited June 2023
    Bit more info on my new simpler setup (same errors)

    This is the working one:

    This is the rewrite rule:
    <rule name="PBC API" stopProcessing="false"> <match url="^app/([_0-9a-z-]+)$" /> <conditions logicalGrouping="MatchAll" trackAllCaptures="false" /> <action type="Rewrite" url="pbc/oecgi4.exe/{R:0}" /> </rule>

    this is now what I try and get those errors:

    The form does display (but of cause no styles)
Sign In or Register to comment.