forced win32 mod_perl

2001-05-24 Thread Tom Gioconda

My company, to my objections, recently decided to force all of our new 
servers to running only Win2k.  I won't go into the details, but let's just 
say that in our standard hosting facilities, nothing runing Linux is allowed 
anymore.  This kinds of screws my department, as we have just finished 
development on a Linux/Apache solution tied heavily into mod_perl for a 
support web site.

This leaves me with few options:
1) Run Apache/win32 and mod_perl.
2) Run IIS 5 and use an ISAPI handler to hook into my perl code.

Could anyone help me out here?  The first option is bad because of 
mod_perl's reduced functionality on win32 in version 1.25 (no threads, to my 
understanding).  Option 2 is evil because I'd have to figure out some way to 
get an ISAPI extension to call perl code in a multithreaded way, and I'd 
have to use IIS.

Am I stuck waiting for Apache 2 and mod_perl 2 to get to a point where 
they'll work in a production environment, or am I simply screwed and have to 
work around my company's dumb decree?  Any help would be appreciated, 
although no comments on my company's IT policies, please... :)

-Tom

_
Get your FREE download of MSN Explorer at http://explorer.msn.com




Re: forced win32 mod_perl

2001-05-24 Thread Chris Winters

* Tom Gioconda ([EMAIL PROTECTED]) [010524 20:06]:
 My company, to my objections, recently decided to force all of our new 
 servers to running only Win2k.  I won't go into the details, but let's just 
 say that in our standard hosting facilities, nothing runing Linux is allowed 
 anymore.  This kinds of screws my department, as we have just finished 
 development on a Linux/Apache solution tied heavily into mod_perl for a 
 support web site.
 
 This leaves me with few options:
 1) Run Apache/win32 and mod_perl.
 2) Run IIS 5 and use an ISAPI handler to hook into my perl code.
 
 Could anyone help me out here?  The first option is bad because of 
 mod_perl's reduced functionality on win32 in version 1.25 (no threads, to my 
 understanding).  Option 2 is evil because I'd have to figure out some way to 
 get an ISAPI extension to call perl code in a multithreaded way, and I'd 
 have to use IIS.
 
 Am I stuck waiting for Apache 2 and mod_perl 2 to get to a point where 
 they'll work in a production environment, or am I simply screwed and have to 
 work around my company's dumb decree?  Any help would be appreciated, 
 although no comments on my company's IT policies, please... :)

ActiveState sells a (IMO) cheap solution for just this sort of thing:
PerlEx. (http://www.activestate.com/perlex/)

Chris

-- 
Chris Winters ([EMAIL PROTECTED])
Building enterprise-capable snack solutions since 1988.



Re: forced win32 mod_perl

2001-05-24 Thread Tom Gioconda

It was my impression that PerlEx handled the persistance and what not, but 
it wouldn't allow one to make a content handler using perl.  I need some way 
of processing every html file through my TemplateHandler::handler method.  
The way I was doing this was telling Apache to use my method as the content 
handler, instead of Apache just return the results, I was processing the 
file and sending those results to the client. PerlEx only does the part that 
keeps the perl interpreter running, right?

If it does more, is there documentation that shows how this is done?  I 
certainly couldn't find anything about content handlers on their sites.

From: Chris Winters [EMAIL PROTECTED]
To: Tom Gioconda [EMAIL PROTECTED]
CC: [EMAIL PROTECTED]
Subject: Re: forced win32 mod_perl
Date: Thu, 24 May 2001 20:44:01 -0400

ActiveState sells a (IMO) cheap solution for just this sort of thing:
PerlEx. (http://www.activestate.com/perlex/)

Chris

--
Chris Winters ([EMAIL PROTECTED])
Building enterprise-capable snack solutions since 1988.

_
Get your FREE download of MSN Explorer at http://explorer.msn.com




Re: forced win32 mod_perl

2001-05-24 Thread Chris Winters

* Tom Gioconda ([EMAIL PROTECTED]) [010524 23:03]:
 It was my impression that PerlEx handled the persistance and what not, but 
 it wouldn't allow one to make a content handler using perl.  I need some way 
 of processing every html file through my TemplateHandler::handler method.  
 The way I was doing this was telling Apache to use my method as the content 
 handler, instead of Apache just return the results, I was processing the 
 file and sending those results to the client. PerlEx only does the part that 
 keeps the perl interpreter running, right?

It keeps a pool of interpreters running, and I'd *thought* that you
could make something akin to a content handler (by using the directory
mapping stuff) but on second thought it doesn't appear so. (I haven't
used it for quite some time...)

 If it does more, is there documentation that shows how this is done?  I 
 certainly couldn't find anything about content handlers on their sites.

I hadn't realized you were so tied to the mod_perl way of doing this,
my bad. I heard the magic words 'forced to move to Win2000' and my
reflex kicked in :-)

Chris

-- 
Chris Winters ([EMAIL PROTECTED])
Building enterprise-capable snack solutions since 1988.