Mailing List Archive

$c->uri_for() issue in Windows IIS10/FastCGI
Hello
I have a Perl/Catalyst WebAapp running on Windows IIS with FastCGI.
I am trying to move the application from Windows 2012R2/IIS8.5 to 2019/IIS10
Old: Windows 2012R2/IIS 8.5(Perl:5.20.2(x64)/Catalyst: 5.90091)
New: Windows 2019/IIS 10(Perl:5.32(x64)/Catalyst: 5.90129)

Problem: what I am experiencing is that calls to uri_for seem to be using a relative path(based on current page)
instead of the root path.
e.g :[% c.uri_for('/static/css/vendor/bootstrap/3.3.5/bootstrap.min.css') %]
upon login points to: http://testapp.net/login/static/css/vendor/bootstrap/3.3.5/bootstrap.min.css
instead of http://testapp.net/static/css/vendor/bootstrap/3.3.5/bootstrap.min.css

I have root ($c->config->{root}) set to my Catalysts root folder (c:\inetpb\MyApp\root)
This has worked fine for 6 years on my 2012R2 box.
Any ideas on how to resolve this on IIs10
PS: I did copy over the existing Perl install from the old server and it still does the same thing
which rules out Perl/Catalyst version.
U.S. BANCORP made the following annotations --------------------------------------------------------------------- Electronic Privacy Notice. This e-mail, and any attachments, contains information that is, or may be, covered by electronic communications privacy laws, and is also confidential and proprietary in nature. If you are not the intended recipient, please be advised that you are legally prohibited from retaining, using, copying, distributing, or otherwise disclosing this information in any manner. Instead, please reply to the sender that you have received this communication in error, and then immediately delete it. Thank you in advance for your cooperation. ---------------------------------------------------------------------