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?
Will URL rewrite do this for me and if so, how.
Run http://localhost/pbc/oecgi4.exe/O4W_PBCMOBILE as http://localhost/PBCO4WMOBILE
Run http://localhost/pbc/oecgi4.exe/O4W_PBCMOBILE as http://localhost/PBCO4WMOBILE
Comments
URL Rewrite Rules
I will give it a go.
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>
This is the working one:
http://localhost/pbc/oecgi4.exe/O4W_PBCMOBILE
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:
http://localhost/app/o4w_pbcmobile
The form does display (but of cause no styles)