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
Solved

mod_perl, Apache, NT, ActivePerl

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

Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

Question has a verified solution.

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

Suggested Solutions

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…
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…

829 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