apache dies silently at start with perl-5.6.1 rpm

2002-03-19 Thread Francesc Guasch Ortiz
I'm testing the latest perl rpms from redhat updates: perl-5.6.1-26.72.3 mod_perl-1.26-2 I'm using HTML::Mason. When I start apache it just dies silently without complaining and I got nothing in the logs. I even tried to remove the former perl and modules. I rpmed -e a lot of

RE: apache dies silently at start with perl-5.6.1 rpm

2002-03-19 Thread Nicolai Schlenzig (DXD)
Are you using the mason-handler supplied with Mason? Or did you extend it already? I have had similar problems, and it turned out my customized mason-handler had some inconsistencies concerning sessions handling. After I cleaned that up everything was fine again. You could try to make a very

Fwd: Permission conflict between mod_cgi and mod_perl

2002-03-19 Thread Marceusz
Forgot to cc the list ... ---BeginMessage--- In a message dated 18-Mar-02 10:14:50 PM GMT Standard Time, [EMAIL PROTECTED] writes: To change set the default /etc/skel files and to use useradd on linux, you need to run as root ... but the cgi code normally runs with the userid of the web

Re: apache dies silently at start with perl-5.6.1 rpm

2002-03-19 Thread Marius Kjeldahl
About CPAN trying to install perl 5.6.1; I think this is an issue with some CPAN version. Update CPAN _first_, and it should not try to force you to install 5.6.1 if you do not want to. Marius Kjeldahl Nicolai Schlenzig (DXD) wrote: Are you using the mason-handler supplied with Mason? Or did

Re: apache dies silently at start with perl-5.6.1 rpm

2002-03-19 Thread Francesc Guasch Ortiz
Nicolai Schlenzig (DXD) escribió: Are you using the mason-handler supplied with Mason? Or did you extend it already? I have my own You could try to make a very minimized mason-handler and see what that The minimal handler.pl still won't work. I can launch apache if I remove the

Re: apache dies silently at start with perl-5.6.1 rpm

2002-03-19 Thread Kurt Hansen
Francesc Guasch Ortiz said: It looks like perl-5.6.1 rpms won't work with HTML::Mason. I'm going to compile my own perl. I think if I do: sh ./Configure -de -Dprefix=/usr will overwrite the rpm perl. Did you see this message from the Mason list? If so, did this solution not work for you?

RE: apache dies silently at start with perl-5.6.1 rpm

2002-03-19 Thread Stathy G. Touloumis
One of the most common issues is that mod_perl is installed as a DSO and not built statically into Apache. mod_perl is usually installed this way with rpm packages. I'm testing the latest perl rpms from redhat updates: perl-5.6.1-26.72.3 mod_perl-1.26-2 I'm using HTML::Mason.

ANNOUNCE: Apache::GTopLimit v1.02

2002-03-19 Thread Stas Bekman
The uploaded file Apache-GTopLimit-1.02.tar.gz has entered CPAN as file: $CPAN/authors/id/S/ST/STAS/Apache-GTopLimit-1.02.tar.gz size: 5956 bytes md5: 6c1b4bc672eab5f025eb0889cc362ad4 Changes: * return DECLINED and not OK when not doing anything * made the request counter a

Entire Site Search

2002-03-19 Thread GsuLinuX
Hi from Istanbul, I wan to integrate an "Entire Site Search" and also "Specific Search" for my site. I didn't make a substructure in my site for this. How cani make it? thanx Derya

Poll for my site

2002-03-19 Thread GsuLinuX
Hi again from Istanbul:) , I wanna make poll for some datas that we obtain from the users. For this, i know howto insert the datas to my sql database, make an average or something specific but how can i show the results as visualwhich has become very popular in web sites? thanx Derya

Forgot to load Apache::Request?

2002-03-19 Thread Alexander Hanuska
I am trying to call the Apache::Request module from one of my modules that I wrote and here is the error I get in my error_log: Can't locate object method new via package Apache::Request blablabla I was browsing though the mod_perl archives and found a similar post, so I checked to make sure

Re: Forgot to load Apache::Request?

2002-03-19 Thread Geoffrey Young
Alexander Hanuska wrote: I am trying to call the Apache::Request module from one of my modules that I wrote and here is the error I get in my error_log: Can't locate object method new via package Apache::Request blablabla looks like you are doing everything right... you know

Re: Forgot to load Apache::Request?

2002-03-19 Thread Alexander Hanuska
Geoff, Thanks for your answer. I had installed the libapreq package and I had tried to pre-load the module in my httpd.conf file, and apache started up with no complaints. Even using the standard: perl -e use Apache::Request seems to like the Request module. Maybe I'll have to pay more

RE: mod_perl does not see multipart POSTs

2002-03-19 Thread Vuillemot, Ward W
I simplified everything to the bare bones. Nothing is getting passed. I am at a complete loss. If anyone has a few minutes, just try running this. You should be able to point it toward a text/plain file and have it displayed below the file upload form. No matter what I do, all I am seeing for

Re: mod_perl does not see multipart POSTs

2002-03-19 Thread Ernest Lergon
Vuillemot, Ward W wrote: Here is the Apache config PerlModule testUpload Location /testUpload SetHandler perl-script PerlHandler testUpload PerlSendHeader Off # limit POSTS so that they get processed properly Limit POST PerlInitHandler POST2GET /Limit /Location Hi

Apache::DBI startup?

2002-03-19 Thread Doug Silver
I don't know if this is a PostgreSQL oddity, but in the startup.pl file, I can have the entry like so and it seems to start fine: Apache::DBI-connect_on_init (dbi:pg(PrintError=1,AutoCommit=0):, , ) or die Cannot connect to database: $DBI::errstr; The error log shows a couple of

Re: Poll for my site

2002-03-19 Thread Fran Fabrizio
I wanna make poll for some datas that we obtain from the users. For this, i know howto insert the datas to my sql database, make an average or something specific but how can i show the results as visual which has become very popular in web sites? This is not really on-topic for this

trouble with interactive debugger in apache

2002-03-19 Thread gidon
Here's the log error: [notice] Apache::DB initialized in child 6217 Default die handler restored. [Tue Mar 19 15:59:07 2002] [error] Undefined subroutine Apache::Registry::handler called. END log error Here's my config snippet: IfDefine PERLDB Perl use Apache::DB ();

Security of a modperl enabled site

2002-03-19 Thread fred
Hi, I am in front of a security issue. We are running several site using modperl. Last days, a hacker used a script to call some script of our sites for bad purpose. He needed to be authenticated, but we are only using session cookies. Then, once he was loged in, he could retrieve this id and

Global configuration

2002-03-19 Thread Ryan Thompson
Hi all, I did a brief search of the archives, and the web, but found few ideas that address this issue... which seems odd, because this is a very common problem with typical mod_perl applications. What I have is a large distributed mod_perl application, with many packages strewn throughout a

Re: Apache::DBI startup?

2002-03-19 Thread Stas Bekman
Doug Silver wrote: I don't know if this is a PostgreSQL oddity, but in the startup.pl file, I can have the entry like so and it seems to start fine: Apache::DBI-connect_on_init (dbi:pg(PrintError=1,AutoCommit=0):, , ) or die Cannot connect to database: $DBI::errstr; The error log

Re: Global configuration

2002-03-19 Thread Stas Bekman
Ryan Thompson wrote: Hi all, I did a brief search of the archives, and the web, but found few ideas that address this issue... which seems odd, because this is a very common problem with typical mod_perl applications. What I have is a large distributed mod_perl application, with many

Accessing Apache master process pid

2002-03-19 Thread Jon Jensen
Forgive me if this is really elementary. Within mod_perl, I would like to know the pid of the master Apache daemon, *after* it forks and goes into the background, but without knowing the location of httpd.conf or knowing the pidfile beforehand. Storing $$ during startup gives me the pid before

Re: Accessing Apache master process pid

2002-03-19 Thread Stas Bekman
Jon Jensen wrote: Forgive me if this is really elementary. Within mod_perl, I would like to know the pid of the master Apache daemon, perldoc -f getppid _ Stas Bekman JAm_pH -- Just Another mod_perl

Re: Accessing Apache master process pid

2002-03-19 Thread Jon Jensen
On Wed, 20 Mar 2002, Stas Bekman wrote: Jon Jensen wrote: Within mod_perl, I would like to know the pid of the master Apache daemon, perldoc -f getppid Thanks, Stas. I should've found that. I'm still interested in getting the PidFile setting at runtime, but can live without it if I

Re: mod_perl does not see multipart POSTs

2002-03-19 Thread Randy Kobes
- Original Message - From: Vuillemot, Ward W [EMAIL PROTECTED] To: 'Issac Goldstand' [EMAIL PROTECTED]; [EMAIL PROTECTED] Sent: Tuesday, March 19, 2002 2:30 PM Subject: RE: mod_perl does not see multipart POSTs I simplified everything to the bare bones. Nothing is getting passed. I

Re: Global configuration

2002-03-19 Thread Perrin Harkins
In addition to the techniques Stas mentioned (which I've always found to be more than adequate), there are tons of configuration modules on CPAN. AppConfig, Config::* modules, etc. Just make sure you choose one that can do layered configs, so that you can specify a configuration that's shared

Re: Security of a modperl enabled site

2002-03-19 Thread gidon
I've had people run password guessing scripts and stuff. I've handled it on a case by case basis, ie, limit the number of wrong guesses. There are a bunch of modules that can set limits as well which can come in handy against very brutish sorts of misuses of your site,. I used mod_throttle.c,

Re: trouble with interactive debugger in apache

2002-03-19 Thread Stas Bekman
gidon wrote: Here's the log error: [notice] Apache::DB initialized in child 6217 Default die handler restored. [Tue Mar 19 15:59:07 2002] [error] Undefined subroutine Apache::Registry::handler called. END log error Yup, I see the same. To solve it add before the debugger config:

Re: Security of a modperl enabled site

2002-03-19 Thread victor
Try this. http://www.snert.com/Software/mod_throttle/ Tor. fred wrote: Hi, I am in front of a security issue. We are running several site using modperl. Last days, a hacker used a script to call some script of our sites for bad purpose. He needed to be authenticated, but we are only

Re: Security of a modperl enabled site

2002-03-19 Thread Perrin Harkins
I am in front of a security issue. We are running several site using modperl. Last days, a hacker used a script to call some script of our sites for bad purpose. He needed to be authenticated, but we are only using session cookies. Then, once he was loged in, he could retrieve this id and

Re: apache dies silently at start with perl-5.6.1 rpm

2002-03-19 Thread Francesc Guasch Ortiz
Kurt Hansen escribió: Did you see this message from the Mason list? If so, did this solution not work for you? I installed an old Data::Dumper: Data-Dumper-2.101 Right now I have a compiled perl-5.6.1 and these apache-1.3.22-2 rpm. Now I can start apache with the mason handler, but as soon