Solved

mod_perl, Apache, NT, ActivePerl

Posted on 2000-02-21
3
325 Views
Last Modified: 2008-03-06
I've programmed w/ Perl on UNIX, and I'm trying to make the switch.  I'm looking for a cook-book on how to install.  It appears the ActivePerl site leaves you hanging a bit if you want to use mod_perl, and the perl.apache.org site gets you going in mod_perl - perhaps the two don't mix.  

Questions - How to install ActivePerl and mod_perl - (building Perl from the sources?)  Where are the best examples for Win32 applications of perl cgi?
0
Comment
Question by:robjay
3 Comments
 
LVL 1

Expert Comment

by:dmag
Comment Utility
Quoting from the Apache web site: "Please note that at this time, Windows support is entirely experimental, and is recommended only for experienced users". I'd bet you won't get it working with the activestate  port.

I'd suggest doing plain CGI at first, since it's simpler. Remember, the only reason to get away from CGI is performance. But it's great to get started and testing with. Converting from CGI to something else is pretty easy.

If you are having performance problems (and NT handles CGI *much* slower than unix), you might investigate PerlIIS, which is similar to mod_perl, but for IIS. Also you can look at fastcgi (fastcgi.com).

In theory, there aren't many differences between perl on UNIX and NT. Mostly, you have to deal with differences in databases, files, etc.

> Where are the best examples for Win32 applications of perl cgi?

Depends on how you define "best". That's a pretty vauge question.
0
 

Author Comment

by:robjay
Comment Utility
Good points, dmag.  I have this aversion to IIS, so if there's another web server for NT out there that works - I would be interested.  Apache on NT appears to do OK but I haven't tested the cgi - it does appear that ActiveState has done a successful configuration.
0
 

Accepted Solution

by:
logique earned 100 total points
Comment Utility
If you would like another webserver for Windows NT, I would suggest Xitami (http://www.imatix.com/). It is pretty fast and has Perl. It is capable with most Unix CGI scripts. Xitami comes with a web interface, and can support virtual hosting.

I don't believe I know how to get Apache with mod_perl and ActivePerl.
0

Featured Post

Better Security Awareness With Threat Intelligence

See how one of the leading financial services organizations uses Recorded Future as part of a holistic threat intelligence program to promote security awareness and proactively and efficiently identify threats.

Join & Write a Comment

I've just discovered very important differences between Windows an Unix formats in Perl,at least 5.xx.. MOST IMPORTANT: Use Unix file format while saving Your script. otherwise it will have ^M s or smth likely weird in the EOL, Then DO NOT use m…
Email validation in proper way is  very important validation required in any web pages. This code is self explainable except that Regular Expression which I used for pattern matching. I originally published as a thread on my website : http://www…
Explain concepts important to validation of email addresses with regular expressions. Applies to most languages/tools that uses regular expressions. Consider email address RFCs: Look at HTML5 form input element (with type=email) regex pattern: T…
In this seventh video of the Xpdf series, we discuss and demonstrate the PDFfonts utility, which lists all the fonts used in a PDF file. It does this via a command line interface, making it suitable for use in programs, scripts, batch files — any pl…

771 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

10 Experts available now in Live!

Get 1:1 Help Now