modperl 2.0 build... MM.pm
I built Apache 2 and mod_perl for the first time today. To get it to work, I had to edit: blib/lib/ModPerl/MM.pm and add: use Apache::Build; for the 'make install' to work. Now... it is built, and I am ready to try out stuff like Apache::Echo that I learned about at the ApacheCon. Rudy
Re: best encryption module
Probably, you don't even need (or want) to encrypt the password. Rather, all you want is a MAC for the password the user supplies. In this case, use MD5. Rudy clayton cottingham aka drfrog wrote: whats the best encryption module for use with mod perl? i want to encrypt passwords store in a db and then be able to check what a users inputs against it
RE: How to run a secure mod_perl ?
I run a small ISP, I like Embperl, but I am reluctant to let just any user use it. A script such as the following can make the httpd child go very high in MEMORY and CPU usage. Even after the request is terminated from the client, the server keeps on chugging away. This example uses: Embperl 1.2b7 Apache/1.3.6 mod_perl/1.21 Solaris 2.7 h1Embperl Examples - Crash Apache Child/h1 [- %h = qw(1 a 2 b 3 c 4 d 5 e 6 f 7 g 8 h 9 i 10 j); -] table [$ foreach $Row (keys(%h)) $] tr td[+ $Row +]/td td[+ $h{$Row} +]/td [- $row = $Row -] /tr [$endforeach$] /table n Wed, 24 Nov 1999, Tubbs, Derric L wrote: I agree, I think it's time to start looking elsewhere. He's the sysadmin and service provider, it's his job to figure out how to make it work to meet your needs. There are ways for him to sufficiently reduce the risk of you crashing the rest of his sites. Make him work for that money or find another provider. -- From: Aaron Turner[SMTP:[EMAIL PROTECTED]] Sent: Wednesday, November 24, 1999 1:34 PM Subject:Re: How to run a secure mod_perl ? Don't know the answer to your problem, but I wonder how much $$$ you're spending to be told you can't do this? Maybe it's time to find a new ISP? On Wed, 24 Nov 1999, Martin A. Langhoff wrote: hi mod_perl gurus, I'm currently in dire problems (read sh*t): - Just now, my webmaster tells me that I can't use Embperl _nor_
Re: Generic Server
I'll use POP3 as my example, although any other service (eg telnet, ssh, FTP, SMTP) are equally valid. Having apache run on a non-http port, say port 110 (POP3), could be handy. You could even have POP3 running elsewhere and use the POP3 module: o to proxy POP3 requests inside a firewall, or o to proxy to a POP3 running on a non-standard port (eg 10110), or o to get POP3 mail from multiple accounts! Imagine, a custom mod_perl POP3 server which grabs mail from all your email boxes all over the net. There are two major stopping points from being able to do this today with Apache/mod_perl: [1] POP3 clients do not send HTTP headers. Is there already a way in mod_perl to get a request before the HEADERS are parsed? [2] POP3 clients have 'interactive' connections. Is there a way in apache/mod_perl to read/write more info from a socket without dropping the connection? James G Smith wrote: Matt Sergeant [EMAIL PROTECTED] wrote: Would it be possible to have a generic server, like Apache, but not just for HTTP - something that could also serve up NNTP connections, FTP connections, etc. It seems to me at first look this should be possible. As I can see it there's a few key components to Apache: forking tcp/ip server file caching/sending header parsing logging Sounds a lot like inetd to me, IMHO. Well, if you are not into performance, you could shut down apache and have a perl script run every time an access is made to port 80! Obviously, there would be some benifits to having apache/mod_perl up and running on non-https (eg POP3). Neil Kandalgaonkar wrote: Matt Sergeant [EMAIL PROTECTED] wrote: Am I completely wacko or is this something that potentially could be possible? Not wacko. Although it may not be desirable, at least in the way you envision. Say there's a bug in one of your HTTP mod_perl modules, do you want to lose SMTP? You could have *two* apaches running, one on port 80 and another on port 25 (SMTP). YOu would probably want to do this considering would could build your apache's very differently. Rudy
HELLO WORLD embperl/freeBSD/PII 300 184RPS
Embperl on FreeBSD 2.2.7 PII/300 Mhz 256 Mb Ram Session yes localhost = This is ApacheBench, Version 1.3 Copyright (c) 1996 Adam Twiss, Zeus Technology Ltd, http://www.zeustech.net/ Copyright (c) 1998-1999 The Apache Group, http://www.apache.org/ Server Software:Apache/1.3.6 Server Hostname:localhost Server Port:80 Document Path: /hello.epl Document Length:14 bytes Concurrency Level: 1 Time taken for tests: 30.005 seconds Complete requests: 5537 Failed requests:0 Total transferred: 980226 bytes HTML transferred: 77532 bytes Requests per second:184.54 Transfer rate: 32.67 kb/s received Connnection Times (ms) min avg max Connect:0 038 Processing: 3 4 316 Total: 3 4 354