Re: Problem with sections in httpd.conf, mod_perl 1.26

2002-04-18 Thread PinkFreud
Here's a bit more information: Given two directives: $VirtualHost{$host}->{Alias} = [ '/perl/', "$vhostdir/$dir/perl/" ]; $VirtualHost{$host}->{Alias} = $vhost{config}->{Alias}; The first works. The second does not. According to Apache::PerlSections->dump, %VirtualHost is *exac

RE: Throttling, once again

2002-04-18 Thread Jeremy Rusnak
Hi, I *HIGHLY* recommend mod_throttle for Apache. It is very configurable. You can get the software at http://www.snert.com/Software/mod_throttle/index.shtml . The best thing about it is the ability to throttle based on bandwidth and client IP. We had problems with robots as well as malicious

Re: Restarting named service

2002-04-18 Thread Bruno Connelly
Abd> How can i restart the named service via mod_perl. Abd> The script will be activated via a web page. Abd> My apache is configured to use "User: apache, Group: apache" Abd> Is ther any other way except usine "User root" directive in my Abd> httpd.conf file Assuming you're running a

Re: Throttling, once again

2002-04-18 Thread Matt Sergeant
On Friday 19 April 2002 6:55 am, Bill Moseley wrote: > Hi, > > Wasn't there just a thread on throttling a few weeks ago? > > I had a machine hit hard yesterday with a spider that ignored robots.txt. I thought the standard practice these days was to put some URL at an un-reachable place (by a hum

Throttling, once again

2002-04-18 Thread Bill Moseley
Hi, Wasn't there just a thread on throttling a few weeks ago? I had a machine hit hard yesterday with a spider that ignored robots.txt. Load average was over 90 on a dual CPU Enterprise 3500 running Solaris 2.6. It's a mod_perl server, but has a few CGI scripts that it handles, and the spide

Re: Problem with sections in httpd.conf, mod_perl 1.26

2002-04-18 Thread PinkFreud
On Thu, Apr 18, 2002 at 11:15:15PM -0500, Salvador Ortiz Garcia babbled thus: > Subject: Re: Problem with sections in httpd.conf, mod_perl 1.26 > From: Salvador Ortiz Garcia <[EMAIL PROTECTED]> > To: PinkFreud <[EMAIL PROTECTED]> > Cc: [EMAIL PROTECTED] > X-Mailer: Ximian Evolution 1.0.3 > Date:

Re: Redhat 7.2 glibc update causes problems with Apache::Cookie?

2002-04-18 Thread Stas Bekman
Edward Moon wrote: > I did that Stas. I forgot to mention that I updated Apache::Cookie via > CPAN. weird, I've glibc 2.2.4 and no such a problem (mandrake 8.2 here). In any case follow the path that it cannot find. Also try to strace(1) the startup to see exactly where it looks for libapreq.

Re: Redhat 7.2 glibc update causes problems with Apache::Cookie?

2002-04-18 Thread Edward Moon
I did that Stas. I forgot to mention that I updated Apache::Cookie via CPAN. On Fri, 19 Apr 2002, Stas Bekman wrote: [snip] > looks like you have a broken or missing binary package. It says exactly > what's your problem - it cannot find the library. Check that you have > the right symlinks f

Re: Redhat 7.2 glibc update causes problems with Apache::Cookie?

2002-04-18 Thread Stas Bekman
Edward Moon wrote: > I recently applied the glibc updates described at > to a system > running Apache 1.2.22/modperl 1.2.26 on a Perl 5.6.1/Redhat Linux 7.2 > system. > > All seemed well until I updated Apache::Cookie to the latest vers

Re: Problem Installing mod_perl + mod_ssl in Solaris 8 - PleaseH elp !

2002-04-18 Thread Stas Bekman
Per Einar Ellefsen wrote: > At 23:02 18.04.2002, Fernando Munoz wrote: > >> Thank you very much Stas and Mark !... Everything went fine and I have a >> fresh Apache+mod_perl+mod_ssl running is this box. I noticed though that >> after rebooting I need to push again the path into $LD_LIBRARY_PATH f

Re: Problem with sections in httpd.conf, mod_perl 1.26

2002-04-18 Thread Salvador Ortiz Garcia
On Mon, 2002-04-15 at 23:17, PinkFreud wrote: > I have a rather odd problem, one which I can only assume is a bug > somewhere, due to how bizarre it is. > > I am attmempting to generate virtual host configs via mod_perl, using > sections in httpd.conf. Not all hosts will be using a /perl > Alia

Re: Apache::DProf seg faulting

2002-04-18 Thread Paul Lindner
On Thu, Apr 18, 2002 at 02:18:04AM -0400, Sam Tregar wrote: > On Wed, 17 Apr 2002, Paul Lindner wrote: > > > Geoffrey and I tested our environments today and the recipe given in > > the book seems to work just fine: > > > > PerlModule Apache::DB > > PerlModule Apache::DProf > > With those li

Redhat 7.2 glibc update causes problems with Apache::Cookie?

2002-04-18 Thread Edward Moon
I recently applied the glibc updates described at to a system running Apache 1.2.22/modperl 1.2.26 on a Perl 5.6.1/Redhat Linux 7.2 system. All seemed well until I updated Apache::Cookie to the latest version and restarted apache. Apa

Re: Solaris 8 lockups

2002-04-18 Thread Jamie LeTual
We had problems with mod_perl compiled as a DSO under Solaris 8. Try it with mod_perl compiled into apache. Peace, Jamie On Thu, Apr 18, 2002 at 10:39:31AM -0700, Tom Servo wrote: > We've recently started trying to migrate a number of Solaris 7 machines to > Solaris 8, and everything seemed fin

RE: Problem Installing mod_perl + mod_ssl in Solaris 8 - Please H elp !

2002-04-18 Thread Per Einar Ellefsen
At 23:02 18.04.2002, Fernando Munoz wrote: >Thank you very much Stas and Mark !... Everything went fine and I have a >fresh Apache+mod_perl+mod_ssl running is this box. I noticed though that >after rebooting I need to push again the path into $LD_LIBRARY_PATH for >apache to run ??? any suggestion

RE: Problem Installing mod_perl + mod_ssl in Solaris 8 - Please H elp !

2002-04-18 Thread Fernando Munoz
Thank you very much Stas and Mark !... Everything went fine and I have a fresh Apache+mod_perl+mod_ssl running is this box. I noticed though that after rebooting I need to push again the path into $LD_LIBRARY_PATH for apache to run ??? any suggestion ?. But again Thanks so much. -Original Mes

Re: [OT] Encrypting Embedded URLs

2002-04-18 Thread Elizabeth Barham
Hi, I read about this the other day... lemesee where did I read this... Oh yes! In Web Security, Privacy and Commerce by Simson Garfinkel, p. 453-454. The perl code is on those pages. Elizabeth Nigel Hamilton <[EMAIL PROTECTED]> writes: > Hi, > > I'm looking for a two-way cipher to ob

Re: pnotes notes and subprocess_env

2002-04-18 Thread darren chamberlain
* Rasoul Hajikhani <[EMAIL PROTECTED]> [2002-04-18 16:29]: > I don't seem to be able to make pnotes, notes or subprocess_env work. > I am trying to pass a value from a handler to another, and from what I > have read in the Eagle, and cook book, the request ought to be the > main one in order for t

pnotes notes and subprocess_env

2002-04-18 Thread Rasoul Hajikhani
Folks, I don't seem to be able to make pnotes, notes or subprocess_env work. I am trying to pass a value from a handler to another, and from what I have read in the Eagle, and cook book, the request ought to be the main one in order for the pnotes, ... to work. So Here is the snippet of my code:

Re: Restarting named service

2002-04-18 Thread darren chamberlain
* Stephen Gray <[EMAIL PROTECTED]> [2002-04-18 15:34]: > On Thu, 18 Apr 2002 [EMAIL PROTECTED] wrote: > > or you would be safer running your name server as named as opposed > > to root. > > > > STEVE > > It should be run as named, but trying to start and stop it as the > named user won't get you

Re: Solaris 8 lockups

2002-04-18 Thread Marc Slagle
We had problems with that combination of apache/mod_perl, on solaris 8 as well. We switched to mod_perl 1.25 and that fixed our problems. Since then we have also moved to newer versions of apache. I would build a newer version of apache/mod_perl on one of the systems and then leave the configur

Re: Restarting named service

2002-04-18 Thread Stephen Gray
On Thu, 18 Apr 2002 [EMAIL PROTECTED] wrote: > or you would be safer running your name server as named as opposed > to root. > > STEVE It should be run as named, but trying to start and stop it as the named user won't get you very far if you plan on using port 53. :-) ===

Re: [OT] Encrypting Embedded URLs

2002-04-18 Thread Perrin Harkins
Nigel Hamilton wrote: > I'm looking for a two-way cipher to obfuscate URL parameters > safely and succinctly (not too many extra characters). Try Crypt::CBC. - Perrin

Re: Restarting named service

2002-04-18 Thread wells
or you would be safer running your name server as named as opposed to root. STEVE > You could use sudo and give the apache user permission to run, as root, > whichever command you use to restart the server. > > Steve > > On Thu, 18 Apr 2002, Abd El-Hameed Mohammed wrote: > >> Hi, >> How can

Re: Restarting named service

2002-04-18 Thread Stephen Gray
You could use sudo and give the apache user permission to run, as root, whichever command you use to restart the server. Steve On Thu, 18 Apr 2002, Abd El-Hameed Mohammed wrote: > Hi, > How can i restart the named service via mod_perl. > The script will be activated via a web page. > My apa

Re: mod_perl Basic Authentication problem using PerlAuthenHandler

2002-04-18 Thread Jason
Thank you... cant believe I missed that... was to excited about the ability to do my own auth program I added allow from x.x.x.x and it worked great Thank you. - Original Message - From: "Geoffrey Young" <[EMAIL PROTECTED]> To: "Jason" <[EMAIL PROTECTED]> Cc: <[EMAIL PROTECTE

Restarting named service

2002-04-18 Thread Abd El-Hameed Mohammed
Hi,     How can i restart the named service via mod_perl. The script will be activated via a web page. My apache is configured to use "User: apache, Group: apache"   Is ther any other way except usine "User root" directive in my httpd.conf file   Hamid

Re: [OT] Encrypting Embedded URLs

2002-04-18 Thread Andrew Ho
Hello, JS>If you just want to obfuscate, you can do a rot13, with special JS>substitutions for non alpha charachters. Or any other 'roll your own' JS>solution [XOR against 'snakeoil' then URL encode what needs it]. For simple obfuscation, I would prefer Base64 (using MIME::Base64 in Perl). It's

Re: Problem Installing mod_perl + mod_ssl in Solaris 8 - Please H elp !

2002-04-18 Thread Stas Bekman
Fernando Munoz wrote: > Well I tried your suggestion and it didn't work at first but, after revising > my steps I noticed that $LD_LIBRARY_PATH did not have /usr/local/ssl/lib > (where libssl libraries live) so I push that path there and ssl passed. > Unfortunately I got a different problem now ..

Re: Solaris 8 lockups

2002-04-18 Thread Tom Servo
Nevermind about mod_perl version number, looks like we're running 1.24 Brian Nilsen [EMAIL PROTECTED] On Thu, 18 Apr 2002, Marc Slagle wrote: > What version apache/mod_perl are you running? Also, were these intel > solaris 7 servers or sparc? > > > > We've recently started tryin

Re: Solaris 8 lockups

2002-04-18 Thread Tom Servo
We're running Apache 1.3.12, as for the mod_perl version, it's not reported in the logs when the servers start and there doesn't seem to be any source lying around, so I'm not sure how to determine its version number. If you could point me in the right direction on that, I'd appreciate it. It's

Re: Solaris 8 lockups

2002-04-18 Thread Marc Slagle
What version apache/mod_perl are you running? Also, were these intel solaris 7 servers or sparc? > We've recently started trying to migrate a number of Solaris 7 machines to > Solaris 8, and everything seemed fine for a while. > > We have each box running its own static, dynamic (mod_perl) and

RE: Problem Installing mod_perl + mod_ssl in Solaris 8 - Please H elp !

2002-04-18 Thread Fernando Munoz
Well I tried your suggestion and it didn't work at first but, after revising my steps I noticed that $LD_LIBRARY_PATH did not have /usr/local/ssl/lib (where libssl libraries live) so I push that path there and ssl passed. Unfortunately I got a different problem now .. <=== src/modules/ssl ===> sr

Re: [OT] Encrypting Embedded URLs

2002-04-18 Thread John Saylor
Hi ( 02.04.18 17:32 -0500 ) Nigel Hamilton: > I'm looking for a two-way cipher to obfuscate URL parameters > safely and succinctly (not too many extra characters). If you just want to obfuscate, you can do a rot13, with special substitutions for non alpha charachters. Or any other 'roll yo

Solaris 8 lockups

2002-04-18 Thread Tom Servo
We've recently started trying to migrate a number of Solaris 7 machines to Solaris 8, and everything seemed fine for a while. We have each box running its own static, dynamic (mod_perl) and ssl servers, and everything runs fine for 3-7 hours after starting the server. Eventually, however, the mod

Lock block problem with Apache::Session::Oracle

2002-04-18 Thread Brian Lavender
I have Apache::Session::Oracle running. It creates the session fine, but after accessing the page successfully a few times, the script gets held up waiting for a lock to release and page never loads until I restart Apache. Here is the sample code I am using. Is there something I need to do with Ap

Re: Problem Installing mod_perl + mod_ssl in Solaris 8 - Please Help !

2002-04-18 Thread Stas Bekman
Fernando Munoz wrote: > Thanks for your input Stas. I followed (step-by-step) the installation > suggested in the guide and I ended with the same message after .. > > # perl Makefile.PL USE_APACI=1 EVERYTHING=1 \ > DO_HTTPD=1 SSL_BASE=/usr/local/ssl \ > APACHE_PREFIX=/usr/local/ap

Re: Problem Installing mod_perl + mod_ssl in Solaris 8 - Please H elp !

2002-04-18 Thread Mark P. Fister
On Thu, Apr 18, 2002 at 10:19:09AM -0700, Fernando Munoz wrote: > Thanks for your input Stas. I followed (step-by-step) the installation > suggested in the guide and I ended with the same message after .. > > # perl Makefile.PL USE_APACI=1 EVERYTHING=1 \ > DO_HTTPD=1 SSL_BASE=/usr/local/s

RE: Problem Installing mod_perl + mod_ssl in Solaris 8 - Please Help !

2002-04-18 Thread Fernando Munoz
Thanks for your input Stas. I followed (step-by-step) the installation suggested in the guide and I ended with the same message after .. # perl Makefile.PL USE_APACI=1 EVERYTHING=1 \ DO_HTTPD=1 SSL_BASE=/usr/local/ssl \ APACHE_PREFIX=/usr/local/apachessl \ APACHE_SRC=../ap

[ANN] Multiple user website app framework, Apache::Onanox

2002-04-18 Thread Russell Matbouli
Apache::Onanox is a framework for multi-user websites. It supports user customisation and theming. It has a document management facility. It is currently in beta testing. It is my final project for my university degree and I'm looking for feedback to put into my report. If you try it out, I'd app

Re: [OT] Encrypting Embedded URLs

2002-04-18 Thread Nigel Hamilton
> > # For example, something that converts this URL: > > $url = 'http://www.foo.com?a=1212&u=http://www.foo1.com?&a=12323'; > > > > # that looks like this: > > http://www.foo.com?params=aJHKJHKJHKJHHGHFTDTDGDFDFGDGHDHG879879 > > Why are you trying to do this? What's the goal h

Re: [OT] Encrypting Embedded URLs

2002-04-18 Thread Rob Nagler
Nigel Hamilton writes: > http://www.foo.com?params=aJHKJHKJHKJHHGHFTDTDGDFDFGDGHDHG879879 > > A built-in checksum would be a bonus ... any ideas? You can use any of the Crypt::CBC ciphers. We then use a modified MIME::Base64 encoding which is more compact than encrypt_hex and does

Re: [OT] Encrypting Embedded URLs

2002-04-18 Thread Andy Lester
> # For example, something that converts this URL: > $url = 'http://www.foo.com?a=1212&u=http://www.foo1.com?&a=12323'; > > # that looks like this: > http://www.foo.com?params=aJHKJHKJHKJHHGHFTDTDGDFDFGDGHDHG879879 Why are you trying to do this? What's the goal here? x

[OT] Encrypting Embedded URLs

2002-04-18 Thread Nigel Hamilton
Hi, I'm looking for a two-way cipher to obfuscate URL parameters safely and succinctly (not too many extra characters). # For example, something that converts this URL: $url = 'http://www.foo.com?a=1212&u=http://www.foo1.com?&a=12323'; # to an encoded URL with th

Help with Apache::DBI

2002-04-18 Thread Woody Woodring
I implemented Apache::AuthCookieDBI for the logins to my web site. AuthCookieDBI requires Apache::DBI. This all works great. I have also started using embperl. This seems to work fairly good as well except it inherited the Apache::DBI from my AuthCookieDBI implementation. Now I get 6 database

Re: Compiling mod_perl 1.99 on Solaris 8

2002-04-18 Thread Doug MacEachern
On Thu, 18 Apr 2002, Stas Bekman wrote: > Also why do you need to use MP_AP_PREFIX? Use MP_APXS= instead. You > don't need Apache sources to build mod_perl as DSO. MP_AP_PREFIX is not the source tree, it is the install tree. all modperl needs is the include/ directory from the install tree, i

Re: Compiling mod_perl 1.99 on Solaris 8

2002-04-18 Thread Doug MacEachern
On Thu, 18 Apr 2002, Darragh Sherwin wrote: > I did this with the enviromental varible CFLAGS=-DUSE_ITHREADS ... > MP_CCOPTS=-DUSE_ITHREADS you can't do that. and that is the source of your problems. if you are going to use a threaded mpm, *perl* needs to be built with ithreads enabled. perl

RE: Re: Apache/Mod_Perl in Production Env-- NOT Recommended inWindows?

2002-04-18 Thread Randy Kobes
On Thu, 18 Apr 2002, Arul, Rex wrote: > Thanks Per. But should the stoic silence for this poser of > mine, be construed as there are NO takers out there who have > their Web Sites in Production, running out of Apache 1.XX and > Mod-Perl 1.XX on Windows NT/2000? >From private correspondence I kno

Re: Compiling mod_perl 1.99 on Solaris 8

2002-04-18 Thread Stas Bekman
Darragh Sherwin wrote: > Hi, > > Stas Bekman wrote: > >> Darragh Sherwin wrote: >> >>> Hi, >>> I am trying to compile mod_perl 1.99 with apacche 2.0.35, I give >>> up with mod_perl 1.24 after numberous headaches and lots of profanties. >>> >>> It build configured Apache with following opti

RE: Re: Apache/Mod_Perl in Production Env-- NOT Recommended inWindows?

2002-04-18 Thread Per Einar Ellefsen
At 16:57 18.04.2002, Arul, Rex wrote: >Thanks Per. But should the stoic silence for this poser of mine, be >construed as there are NO takers out there who have their Web Sites in >Production, running out of Apache 1.XX and Mod-Perl 1.XX on Windows NT/2000? > >Primarily we are a Microsoft shop, a

Re: Compiling mod_perl 1.99 on Solaris 8

2002-04-18 Thread Darragh Sherwin
Hi, Stas Bekman wrote: > Darragh Sherwin wrote: > >> Hi, >> I am trying to compile mod_perl 1.99 with apacche 2.0.35, I give >> up with mod_perl 1.24 after numberous headaches and lots of profanties. >> >> It build configured Apache with following options : >> >> ./configure --with-mpm=

Re: Inline generation of error document?

2002-04-18 Thread Geoffrey Young
Bas A. Schulte wrote: > Hi all, > > I'm a little confused (honestly). I want to handle parameter errors in a > content handler. When there's a parameter missing in the URL, my handler > returns HTTP_BAD_REQUEST. > > Now Apache sees the HTTP_BAD_REQUEST return value from my handler and > ge

RE: Re: Apache/Mod_Perl in Production Env-- NOT Recommended inWindows?

2002-04-18 Thread Arul, Rex
Thanks Per. But should the stoic silence for this poser of mine, be construed as there are NO takers out there who have their Web Sites in Production, running out of Apache 1.XX and Mod-Perl 1.XX on Windows NT/2000? Primarily we are a Microsoft shop, and I would like to answer this question to

Inline generation of error document?

2002-04-18 Thread Bas A. Schulte
Hi all, I'm a little confused (honestly). I want to handle parameter errors in a content handler. When there's a parameter missing in the URL, my handler returns HTTP_BAD_REQUEST. Now Apache sees the HTTP_BAD_REQUEST return value from my handler and generates an error (HTML) document. How ca

Re: Compiling mod_perl 1.99 on Solaris 8

2002-04-18 Thread Stas Bekman
Darragh Sherwin wrote: > Hi, > I am trying to compile mod_perl 1.99 with apacche 2.0.35, I give up > with mod_perl 1.24 after numberous headaches and lots of profanties. > > It build configured Apache with following options : > > ./configure --with-mpm=prefork --prefix=/export/home/websit

Re: Apache::DProf seg faulting

2002-04-18 Thread Geoffrey Young
>>Geoffrey and I tested our environments today and the recipe given in >>the book seems to work just fine: >> >> PerlModule Apache::DB >> PerlModule Apache::DProf >> > > With those lines I get a seg-fault on the first hit to the server. > Reversing the lines I can get a few hits before seg-fau

Compiling mod_perl 1.99 on Solaris 8

2002-04-18 Thread Darragh Sherwin
Hi, I am trying to compile mod_perl 1.99 with apacche 2.0.35, I give up with mod_perl 1.24 after numberous headaches and lots of profanties. It build configured Apache with following options : ./configure --with-mpm=prefork --prefix=/export/home/website/apache --enable-so --with-por

Re: Loading function?

2002-04-18 Thread Stas Bekman
VML wrote: > Hi All, > We have script that including functions in different file. > Can I pre-loading the functions? > Where I put it? into startup.pl? > How I pre-loading it? Read these two: http://perl.apache.org/preview/modperl-docs/dst_html/docs/1.0/guide/porting.html#Reloading_Modules_and_Re

Re: newbie - installation problems

2002-04-18 Thread Tom Brown
On Thu, Apr 18, 2002 at 12:57:52PM +0200, Carlo Giomini - tesista Federico wrote: > > > 2. If this risk exists, I should procede with the old installation BUT > > > what would I get at the end? Mod_perl statically built inside Apache? > > Build what you want and install it. I wouldn't worry about

Re: newbie - installation problems

2002-04-18 Thread Tom Brown
On Thu, Apr 18, 2002 at 12:20:41PM +0200, Carlo Giomini - tesista Federico wrote: > I can't manage very well with Apache and mod_perl. I have made an > installation of mod_perl WITHOUT building a new httpd daemon (NO_HTTPD=1), > undergoing all the steps until the end (perl MAKEFILE_PL, make, make

newbie - installation problems

2002-04-18 Thread Carlo Giomini - tesista Federico
Hi there! I can't manage very well with Apache and mod_perl. I have made an installation of mod_perl WITHOUT building a new httpd daemon (NO_HTTPD=1), undergoing all the steps until the end (perl MAKEFILE_PL, make, make install). After that, I read on the Stas Bekman's guide at http://perl.apach

Loading function?

2002-04-18 Thread VML
Hi All, We have script that including functions in different file. Can I pre-loading the functions? Where I put it? into startup.pl? How I pre-loading it? Here is my startup.pl #/usr/bin/perl use strict; # only library-type routines should go in this directory use lib "/var/www/perllib"; # Wh

Re: Apache/Mod_Perl in Production Env-- NOT Recommended in Windows?

2002-04-18 Thread Per Einar Ellefsen
At 03:48 18.04.2002, Arul, Rex wrote: >Friends, > >I know Apache/Mod_Perl on OS other than Windows to be the trend du juor. >However, I am in jitters seeing this explicit warning given in >http://www.perl.com web-portal. > >"NOTE: it is not recommended to use Windows for production Apache/mod_pe

RE: framesets/AuthCookie question

2002-04-18 Thread Jonathan M. Hollin
>Is there a solution to breaking out of the frameset >AND propagating the reason for the logout to the /real/login page? > >I'd appreciate and and all ideas. Thanks! Well, if you're not against using a little JavaScript, the following code within your ... tags will not allow the page it is us

Re: Apache::DProf seg faulting

2002-04-18 Thread Ged Haywood
Hi there, On Thu, 18 Apr 2002, Sam Tregar wrote: > - something inside Devel::DProf is seg-faulting as far as I can tell. Oops. Didn't cc the List. 73, Ged. -- Date: Wed, 17 Apr 2002 09:53:08 +0100 (BST) Subject: Re: Apache: