Solved

mod_perl, Apache, NT, ActivePerl

Posted on 2000-02-21
3
349 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
ID: 2544851
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
ID: 2546258
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
ID: 2547191
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

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Perl strange behaviour 5 74
Help with a Script that will rename a file when it's not longer being written to 5 79
Perl string filter 5 84
perl syntax 3 29
On Microsoft Windows, if  when you click or type the name of a .pl file, you get an error "is not recognized as an internal or external command, operable program or batch file", then this means you do not have the .pl file extension associated with …
Many time we need to work with multiple files all together. If its windows system then we can use some GUI based editor to accomplish our task. But what if you are on putty or have only CLI(Command Line Interface) as an option to  edit your files. I…
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…

735 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