in reply to Is mod_perl going the way of the dinosaur?

Hello Polyglot,

> A friend wants to run my scripts on his Windows computer..

I fought a lot trying to run my (oldies) CGIs on windows Internet Information Services (IIS) and was always a pain. I tried with XAMPP and was a pain too.

Now what is left running on windows at $work was rewrote by me with Dancer2 and started at system startup via scheduled tasks with

# program to run # arguments to be passed to C:\perl5.26-64\perl\site\bin\twiggy.bat --listen 10.10.10.10:80 c:/ +scripts/MyAwesomeWebsite/bin/app.psgi

I have perl5.26-64 in PATH and after several tries I found Twiggy a good choice.

good luck

L*

There are no rules, there are no thumbs..
Reinvent the wheel, then learn The Wheel; may be one day you reinvent one of THE WHEELS.

Replies are listed 'Best First'.
Re^2: Is mod_perl going the way of the dinosaur? -- win32
by Polyglot (Chaplain) on May 12, 2022 at 22:22 UTC

    Okay, I'm ignorant: Is IIS something like LAMP? I assumed it was something like a database system, and didn't think much of it. Could it actually be used in place of the Apache/MariaDB/mod_perl setup? All I was aware of was that I had to go in and change its port so that I could use port 80 with Apache.

    Blessings,

    ~Polyglot~

      Hello,

      maybe I was not clear enough.. I will rephrase it:

      avoid IIS as much as possible, dont even think IIS to be something useful for a perl programmer with Linux background

      It would be easier to write your own preforking server than bind IIS to your will. Unfortunately IIS is my daily brad at $work, so in this case, my statement is ~autorithative :)

      L*

      There are no rules, there are no thumbs..
      Reinvent the wheel, then learn The Wheel; may be one day you reinvent one of THE WHEELS.