installing another Apache version

2007-01-12 Thread Octavian Rasnita
Hi, I want to install Apache with mod_perl on a server where Apache and mod_perl are already installed and running. Is it possible to install Apache (listening on a different port than the installed version) with mod_perl, in order to test it, but without stopping the already installed Apache

Re: system() call fails without lefting any status

2007-01-12 Thread c chan
>>c chan wrote: >>> A simple system call like system("app & > /dev/nuil ") in a CGI >>> aborts the CGI without leaving any status in the error_log. Did >>> anyone experence anything like this? >> >>No. Experiment with it. Take the & off. Take the STDOUT redirection >>off. See what causes it.

Re: installing mod_perl for 2 servers

2007-01-12 Thread Octavian Rasnita
From: "Jonathan Vanasco" <[EMAIL PROTECTED]> No. Build the server with modules you want, either built-in or shared. Some modules that are very common /often used are built-in -- there's a chance that modules you want and didn't build as shared modules are already compiled into apache. As p

Re: installing mod_perl for 2 servers

2007-01-12 Thread Jonathan Vanasco
On Jan 12, 2007, at 1:58 PM, Octavian Rasnita wrote: Ok, thank you. I understand now that I will probably need to build the web server with all its modules included as shared, and if I will need a certain module, I will be able to add it using just httpd.conf. Until now I've tried to build

Re: system() call fails without lefting any status

2007-01-12 Thread Perrin Harkins
On Fri, 2007-01-12 at 09:04 -0800, c chan wrote: > Am I mistaking the difference between Apache2 and Apache1? It seems to > me that Apache::Registry is built for Apache1 and mp1, but > ModPerl::Registry is built for mp2. That's correct. > I used Apache::DB->init() on mp1, so I am not sure that i

Re: installing mod_perl for 2 servers

2007-01-12 Thread Octavian Rasnita
Ok, thank you. I understand now that I will probably need to build the web server with all its modules included as shared, and if I will need a certain module, I will be able to add it using just httpd.conf. Until now I've tried to build it with as few as possible modules, and add more modules

Re: installing mod_perl for 2 servers

2007-01-12 Thread Jonathan Vanasco
On Jan 12, 2007, at 12:21 PM, Octavian Rasnita wrote: I know that, but the .so modules are not in the modules/ directory, and I need to compile them, but I don't know how. make args on the build - you can specify what modules you want or don't , and if they're a .so or build in For examp

Re: installing mod_perl for 2 servers

2007-01-12 Thread Octavian Rasnita
From: "Michael Peters" <[EMAIL PROTECTED]> But how can I install the other Apache modules that can be installed by adding --enable when using ./config if the server is already installed? As long as you install mod_so the rest can be added dynamically (via httpd.conf) and don't need to be spe

Re: installing mod_perl for 2 servers

2007-01-12 Thread Michael Peters
Octavian Rasnita wrote: > But how can I install the other Apache modules that can be installed by > adding --enable when using ./config if the server is already installed? As long as you install mod_so the rest can be added dynamically (via httpd.conf) and don't need to be specified at build ti

Re: installing mod_perl for 2 servers

2007-01-12 Thread Octavian Rasnita
From: "Michael Peters" <[EMAIL PROTECTED]> Is it possible to install mod_perl on 2 servers on the same computer without having 2 separate perl installations? Yes. Just use 2 different apache config files and it can use the same Apache/mod_perl/Perl code base. No need to install anything else.

Re: system() call fails without lefting any status

2007-01-12 Thread c chan
-Original Message- >From: Perrin Harkins <[EMAIL PROTECTED]> >Sent: Jan 12, 2007 8:03 AM >To: c chan <[EMAIL PROTECTED]> >Cc: modperl@perl.apache.org >Subject: Re: system() call fails without lefting any status > >c chan wrote: >> A simple system call like system("app & > /dev/nuil ") in a

Re: installing mod_perl for 2 servers

2007-01-12 Thread Michael Peters
Octavian Rasnita wrote: > Hi all, > > I have installed a proxy/reverse proxy server and on the same computer I > want to install other 2 Apache servers and use mod_perl on both of them. > (One would be for testing the programs before running them in production.) > > Is it possible to install mo

installing mod_perl for 2 servers

2007-01-12 Thread Octavian Rasnita
Hi all, I have installed a proxy/reverse proxy server and on the same computer I want to install other 2 Apache servers and use mod_perl on both of them. (One would be for testing the programs before running them in production.) Is it possible to install mod_perl on 2 servers on the same compu

Re: Problem installing mod_perl on solaris

2007-01-12 Thread Joseph Werner
For some reason, you are not linking against the math lib [-lm]. Did you build perl clean and use the Configure script? Werner On 1/12/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: Thanks for the response, I tried building perl with gcc and am getting the following error now.. gcc -o mini

RE: Problem installing mod_perl on solaris

2007-01-12 Thread Kiran.Nadgir
Thanks for the response, I tried building perl with gcc and am getting the following error now.. gcc -o miniperl \ miniperlmain.o opmini.o libperl.a Undefined first referenced symbol in file cos libperl.a(pp.o

Re: system() call fails without lefting any status

2007-01-12 Thread Perrin Harkins
c chan wrote: A simple system call like system("app & > /dev/nuil ") in a CGI aborts the CGI without leaving any status in the error_log. Did anyone experence anything like this? No. Experiment with it. Take the & off. Take the STDOUT redirection off. See what causes it. But I can see

Re: Problem installing mod_perl on solaris

2007-01-12 Thread Joseph Werner
Have you tried building with the GUN c compiler? It is available on the sunfreeware site. On Solaris, I always load a suite of GNU tools and THEN at a minimum build apache, Perl, mod_perl and libapreq. Hope this helps, Werner On 1/11/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: I've been tr

Re: Lost ENV variable value .........

2007-01-12 Thread Peter Rosenthal
I have used CAS myself, but instead of attempting to implement the server module for CAS authentication I used mod_cas. This might be an easier way of doing what you are trying to do. On 12/01/07, Michael Peters <[EMAIL PROTECTED]> wrote: Tracy12 wrote: > 1) As we dont use the apache basic aut

Re: Lost ENV variable value .........

2007-01-12 Thread Michael Peters
Tracy12 wrote: > 1) As we dont use the apache basic authentication but our CAS > authentication. If the authentication is not successful how can we redirect > to the CAS login page. > > My suggestion -> instead of returning the AUTH_REQUIRED redirect to > CAS URL with the service. > i