ironmansoftware / powershell-universal

Issue tracker for PowerShell Universal
https://powershelluniversal.com
38 stars 4 forks source link

make the url case insensitive #3912

Open Omzig opened 1 month ago

Omzig commented 1 month ago

Summary of the new feature / enhancement

when i visit a nested iis website, we have to specify the url exactly the way the iis application is built, is there any way to make the /iisSiteName handle requests for /iissitename for people that type urls instead of using a link?

Proposed technical implementation details (optional)

No response

adamdriscoll commented 1 week ago

I can't reproduce this. Is it possible it's an IIS configuration? I have a super basic IIS setup.

image

Omzig commented 1 week ago

make /PSU1 your site name and then try to visit /psu1, it doesn't route, maybe it is IIS! idk, still researching.

adamdriscoll commented 2 days ago

I find that if my base URL in the appsettings.json does not match the case of IIS, this happens.

Never mind, didn't have the app started. Still works.

image

Omzig commented 14 hours ago

~I find that if my base URL in the appsettings.json does not match the case of IIS, this happens.~

Never mind, didn't have the app started. Still works.

image

wow, i am baffled. so u created a new iis site, i was doing everything under the default one, i will have to do some more testing.