Hello.
I got the following problem:
I have multiple objects with QR codes on them, the QR codes are containing a URL:
example.com/x/y, where x and y represents numbers, no one QR code are the same.
The URL does not lead to any site so i figured out i needed to add a web.config file. After some research I added the following:
<?xml version="1.0" encoding="utf-8" ?><configuration><system.webServer><rewrite><rules><rule name="Main Rule" stopProcessing="true"><match url=".*" /><conditions logicalGrouping="MatchAll"><add input="{REQUEST_FILENAME}" matchType="IsFile" negate="true" /><add input="{REQUEST_FILENAME}" matchType="IsDirectory" negate="true" /></conditions><action type="Rewrite" url="index.php" /></rule></rules></rewrite></system.webServer></configuration>
The code does not work properly, when i scan the QR code or just go to example.com/x/y it does no load the page properly. It seem that i cannot load the css, or any of the images ,but the html is loaded. But if i try example.com/x it works just fine.
My website is hosted in Azure.
Does anyone have an idea what i am doing wrong?
Roberth