modperl apears to break my Apache DirectoryIndex

2003-03-18 Thread Merritt Krakowitzer
Hi When i create an Apache Virtual host, It breaks the DirectoryIndex index.html. I am using Apache/2.0.44 (Unix) mod_perl/1.99_08 Perl/v5.8.0 If I remove the following: SetHandler perl-script PerlHandler RT::Mason from the virtual host config below it picks up the index.html again, although

binary cgi mess ( repost )

2003-03-18 Thread Francesc Guasch
I posted this, I received a couple of answers but the problem is still unsolved. I have a mod_perl server and I need to add a cgi application outside mod_perl, nagios. I followed the guide and when I try to use the cgis, the binary files are displayed instead of executed. I tried the same in

Re: binary cgi mess ( repost )

2003-03-18 Thread Nikolaus Rath
Francesc Guasch [EMAIL PROTECTED] wrote: Location /nagios/cgi-bin Options ExecCGI /Location Alias /nagios/ /usr/share/nagios/ Directory /usr/share/nagios/ AllowOverride AuthConfig Options None order deny,allow deny from all allow from ip_removed

Re: binary cgi mess ( repost )

2003-03-18 Thread Abdul-wahid Paterson
Hi, This is the config I have for nagios on one of my servers. I also have mod_perl working so there should be no problem with the two together. (My directory paths are different to yours but the principle is the same) ScriptAlias /nagios/cgi-bin/ /usr/local/nagios/sbin/ Directory

Re: PerlSendHeader On

2003-03-18 Thread Bleicke Holm
Perrin Harkins wrote: Bleicke Holm wrote:  I continue to get returned the source-code. Searching the doc and faqs it looks as if I should turn on PerlSendHeader. But that's already done! Make sure the file is executable by the user that the server is running as. I've checked that one.

Using a Startup.pl

2003-03-18 Thread Chris Faust
Hello All, This may be a stupid question, but I'm not finding any clear documentation to give me a answer. I'm running mod_perl 2 on RedHat with Apache 2.0.44 and I'm using NamedBased Virtual Hosting in apache (so I have a number of virtual hosts and apache directs properly based on hostname).

Re: PerlSendHeader On

2003-03-18 Thread Perrin Harkins
Bleicke Holm wrote: Also, make sure that mod_perl is actually running by checking the error_log as described in the docs. For the time being there is no error message at all dans the error_log. I was actually referring to this:

Re: Using a Startup.pl

2003-03-18 Thread Thomas Klausner
Hi! On Tue, Mar 18, 2003 at 01:39:41PM -0500, Chris Faust wrote: I'm running mod_perl 2 on RedHat with Apache 2.0.44 and I'm using NamedBased Virtual Hosting in apache (so I have a number of virtual hosts and apache directs properly based on hostname). I use a startup.pl to load up common

BerkeleyDB vs. Linux file system benchmark (on Perlmonks)

2003-03-18 Thread Perrin Harkins
I thought some of you might be interested in this thread from Perlmonks.org: http://perlmonks.org/index.pl?node_id=243899 I benched BerkeleyDB against multiple files for medium-sized documents, and the results were that Berkeley was faster for writes and slower for reads. - Perrin

Problems with custom authentication module

2003-03-18 Thread Hann, Brian
Title: Message Hi, I'm writing my own authentication module that uses Oracle and special encryption to handle passwords, it uses pretty much the same code as AuthDBI except for a few changes. Everything was running smoothly until I tried to make a mod_perl handler be the 401

RE: Using a Startup.pl

2003-03-18 Thread Chris Faust
Thanks Thomas, that is what I wanted to know!! -Chris -Original Message- From: Thomas Klausner [mailto:[EMAIL PROTECTED] Sent: Tuesday, March 18, 2003 1:50 PM To: Modperl Subject: Re: Using a Startup.pl Hi! On Tue, Mar 18, 2003 at 01:39:41PM -0500, Chris Faust wrote:

Re: Using a Startup.pl

2003-03-18 Thread Stas Bekman
Thomas Klausner wrote: Hi! On Tue, Mar 18, 2003 at 01:39:41PM -0500, Chris Faust wrote: I'm running mod_perl 2 on RedHat with Apache 2.0.44 and I'm using NamedBased Virtual Hosting in apache (so I have a number of virtual hosts and apache directs properly based on hostname). I use a startup.pl

Re: Using a Startup.pl

2003-03-18 Thread Stas Bekman
Chris Faust wrote: I'm running mod_perl 2 on RedHat with Apache 2.0.44 and I'm using NamedBased Virtual Hosting in apache (so I have a number of virtual hosts and apache directs properly based on hostname). also make sure to upgrade your mod_perl 2 to the latest stable version 1.99_08 or even

[mp2] adding SERVER_ROOT and SERVER_ROOT/lib/perl to @INC

2003-03-18 Thread Stas Bekman
Nick Tonkin wrote: On Mon, 17 Mar 2003, Perrin Harkins wrote: Goehring, Chuck Mr., RCI - San Diego wrote: Where do you put your .pm files for application-specific code? Under mod_perl 1, I just put them in SERVER_ROOT/lib/perl, which is automatically added to @INC by mod_perl. Can someone

Re: [mp2] adding SERVER_ROOT and SERVER_ROOT/lib/perl to @INC

2003-03-18 Thread Perrin Harkins
Stas Bekman wrote: The question is, do we want to have this feature in mp2? I thought it was cool to have it automatically add a path relative to the server root, because it makes it feel more like you are writing real Apache modules, and not just CGI scripts. It's just a warm fuzzy thing

required files not in a namespace?

2003-03-18 Thread Justin Luster
Are required files in a namespace under Apache::Registry in Mod_Perl? I have just done a simple test that seems to show that they are not in a namespace. In the documentation (http://perl.apache.org/docs/1.0/guide/intro.html#Apache__Registry) it says that the initial script is stored under

RE: Using a Startup.pl

2003-03-18 Thread Chris Faust
Thanks for the explanation and the details Stas, I'm actually OK with everything in my startup.pl being available to all virtual hosts. After reading the post from Thomas I went back in and removed all the perlModule and perlRequire lines from the virtual host containers and loaded everything at

Re: required files not in a namespace?

2003-03-18 Thread Stas Bekman
Justin Luster wrote: Are required files in a namespace under Apache::Registry in Mod_Perl? I have just done a simple test that seems to show that they are not in a namespace. In the documentation (http://perl.apache.org/docs/1.0/guide/intro.html#Apache__Registry) it says that the initial

Re: [mp2] adding SERVER_ROOT and SERVER_ROOT/lib/perl to @INC

2003-03-18 Thread Stas Bekman
Perrin Harkins wrote: Stas Bekman wrote: The question is, do we want to have this feature in mp2? I thought it was cool to have it automatically add a path relative to the server root, because it makes it feel more like you are writing real Apache modules, and not just CGI scripts. It's just

Re: [mp2] adding SERVER_ROOT and SERVER_ROOT/lib/perl to @INC

2003-03-18 Thread Geoffrey Young
Stas Bekman wrote: Perrin Harkins wrote: Stas Bekman wrote: The question is, do we want to have this feature in mp2? I thought it was cool to have it automatically add a path relative to the server root, because it makes it feel more like you are writing real Apache modules, and not just

Re: [mp2] adding SERVER_ROOT and SERVER_ROOT/lib/perl to @INC

2003-03-18 Thread Nick Tonkin
On Tue, 18 Mar 2003, Geoffrey Young wrote: Stas Bekman wrote: Perrin Harkins wrote: Stas Bekman wrote: The question is, do we want to have this feature in mp2? I thought it was cool to have it automatically add a path relative to the server root, because it makes it feel