Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things
 
PerlMonks  

Mojo app running IIS CGI

by WookieeJeff (Initiate)
on Feb 11, 2021 at 14:15 UTC ( #11128226=perlquestion: print w/replies, xml ) Need Help??

WookieeJeff has asked for the wisdom of the Perl Monks concerning the following question:

I'm trusted with maintaining a late 90's era Perl CGI application, running on a Windows 2016 Server under IIS.

I am trying to port parts of the application into Modern Perl with Mojolicious. However, I'm running into some difficulties with Mojo's router. When running in CGI mode, Mojo can't properly detect the request URL and routes everything to /.

Is anyone familiar with setting up Mojolicious in IIS? Is there a way to get CGI mode to work correctly?

Replies are listed 'Best First'.
Re: Mojo app running IIS CGI
by alexander_lunev (Pilgrim) on Feb 11, 2021 at 16:58 UTC
    Mojolicious have it's own HTTP server, so you won't need IIS no more. Did you manage to run Mojo application? How do you start it?
    A reply falls below the community's threshold of quality. You may see it by logging in.
A reply falls below the community's threshold of quality. You may see it by logging in.
A reply falls below the community's threshold of quality. You may see it by logging in.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: perlquestion [id://11128226]
Approved by herveus
Front-paged by Corion
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others examining the Monastery: (2)
As of 2021-06-16 01:31 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    What does the "s" stand for in "perls"? (Whence perls)












    Results (74 votes). Check out past polls.

    Notices?