Re: Apache::DProf seg faulting

2002-04-18 Thread Sam Tregar
On Wed, 17 Apr 2002, Paul Lindner wrote: I think that this may be a problem with the use of Perl sections. I believe your original post had something like this: Perl use Apache::DProf use Apache::DB Apache::DB-init(); /Perl Nope. That was Perrin Harkins, but I tried it too!

Re: Sharing Variable Across Apache Children

2002-04-18 Thread Peter Bi
What will happen if the client's DNS caches the domain name to an IP, which is then dead ? If I understand it corrently, the current system can work only if there is something like NAT in front of the machines, which dynaimcally forward each request. Won't it ? Peter Bi - Original

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_perl

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

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

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

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

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 generates

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, and I

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=prefork

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.

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, it

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

[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=1212u=http://www.foo1.com?a=12323'; # to an encoded URL with the

Re: [OT] Encrypting Embedded URLs

2002-04-18 Thread Andy Lester
# For example, something that converts this URL: $url = 'http://www.foo.com?a=1212u=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? xoox,

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

Re: [OT] Encrypting Embedded URLs

2002-04-18 Thread Nigel Hamilton
# For example, something that converts this URL: $url = 'http://www.foo.com?a=1212u=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? HI,

[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

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 ssl

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/ssl \

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.

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 trying to

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

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

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

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: [OT] Encrypting Embedded URLs

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

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 PROTECTED] Sent:

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: 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 apache

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 i restart

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

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: 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 the

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 very far if

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

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

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

2002-04-18 Thread Edward Moon
I recently applied the glibc updates described at http://www.redhat.com/support/errata/RHBA-2002-056.html 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.

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 http://www.redhat.com/support/errata/RHBA-2002-056.html 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

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

Re: Problem with Perl 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 Perl 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: 18

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

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 human),