Beefy Boxes and Bandwidth Generously Provided by pair Networks
Your skill will accomplish
what the force of many cannot
 
PerlMonks  

Re: Is mod_perl going the way of the dinosaur? -- win32

by Discipulus (Canon)
on May 12, 2022 at 11:15 UTC ( [id://11143829]=note: print w/replies, xml ) Need Help??


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.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://11143829]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others chanting in the Monastery: (1)
As of 2026-04-10 09:04 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?
    hippoepoptai's answer Re: how do I set a cookie and redirect was blessed by hippo!
    erzuuliAnonymous Monks are no longer allowed to use Super Search, due to an excessive use of this resource by robots.