Solved

mod_perl, Apache, NT, ActivePerl

Posted on 2000-02-21
3
352 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

Technology Partners: 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 for loop for 2000 ms 7 112
Removing file extension within a file. 4 111
Perl passing in variables to do substitution 6 86
quoting a comma separated list 20 92
A year or so back I was asked to have a play with MongoDB; within half an hour I had downloaded (http://www.mongodb.org/downloads),  installed and started the daemon, and had a console window open. After an hour or two of playing at the command …
Checking the Alert Log in AWS RDS Oracle can be a pain through their user interface.  I made a script to download the Alert Log, look for errors, and email me the trace files.  In this article I'll describe what I did and share my script.
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…

732 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