Solved

mod_perl, Apache, NT, ActivePerl

Posted on 2000-02-21
3
331 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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

I have been pestered over the years to produce and distribute regular data extracts, and often the request have explicitly requested the data be emailed as an Excel attachement; specifically Excel, as it appears: CSV files confuse (no Red or Green h…
In the distant past (last year) I hacked together a little toy that would allow a couple of Manager types to query, preview, and extract data from a number of MongoDB instances, to their tool of choice: Excel (http://dilbert.com/strips/comic/2007-08…
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…
Internet Business Fax to Email Made Easy - With  eFax Corporate (http://www.enterprise.efax.com), you'll receive a dedicated online fax number, which is used the same way as a typical analog fax number. You'll receive secure faxes in your email, f…

867 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

17 Experts available now in Live!

Get 1:1 Help Now