Newbie help - mod_perl use

2000-04-10 Thread Ron Beck


Hello all,
I have built Apache 1.3.12 and mod_perl 1.22 and everything seems to be
running fine.  I have verified that mod_perl.c shows up as one of the
compiled-in modules.  How can I test or verify that my perl cgi scripts
are actually running via mod_ perl rather than simply executing?  Is
there a section in some document you can point me to?

Thanks & regards,
Ron



RE: Newbie help - mod_perl use

2000-04-10 Thread Geoffrey Young

http://perl.apache.org/guide/install.html#How_can_I_tell_whether_mod_perl_

:)

--Geoff

> -Original Message-
> From: Ron Beck [mailto:[EMAIL PROTECTED]]
> Sent: Monday, April 10, 2000 1:28 PM
> To: modperl
> Subject: Newbie help - mod_perl use
> 
> 
> 
> Hello all,
> I have built Apache 1.3.12 and mod_perl 1.22 and everything 
> seems to be
> running fine.  I have verified that mod_perl.c shows up as one of the
> compiled-in modules.  How can I test or verify that my perl 
> cgi scripts
> are actually running via mod_ perl rather than simply executing?  Is
> there a section in some document you can point me to?
> 
> Thanks & regards,
> Ron
> 



Re: Newbie help - mod_perl use

2000-04-10 Thread bthak



On Mon, 10 Apr 2000, Ron Beck wrote:

> 
> Hello all,
> I have built Apache 1.3.12 and mod_perl 1.22 and everything seems to be
> running fine.  I have verified that mod_perl.c shows up as one of the
> compiled-in modules.  How can I test or verify that my perl cgi scripts
> are actually running via mod_ perl rather than simply executing?  Is
> there a section in some document you can point me to?

Ron,

The excellent guide covers this in detail.

How can I tell whether mod_perl is running?
http://perl.apache.org/guide/install.html#How_can_I_tell_whether_mod_perl_

Read it, Learn it, Bookmark it.

-
Baiju Thakkar
http://www.perlmonth.comhttp://www.linuxmonth.com
Just use Perl;  #!/boot/linux
 





Re: Newbie help - mod_perl use

2000-04-10 Thread Ron Beck

What does the following do for you...


  
  SetHandler perl-script
  PerlHandler Apache::Registry
  Options ExecCGI
  


The "Porting CGI Scripts" recommended including this in my httpd.conf
file.  I assumed it was so I didn't have to put all my scripts into a
single directory.  Is this not correct?

Ron

"J. Horner" wrote:
> 
> On Mon, 10 Apr 2000, Ron Beck wrote:
> 
> >
> > Hello all,
> > I have built Apache 1.3.12 and mod_perl 1.22 and everything seems to be
> > running fine.  I have verified that mod_perl.c shows up as one of the
> > compiled-in modules.  How can I test or verify that my perl cgi scripts
> > are actually running via mod_ perl rather than simply executing?  Is
> > there a section in some document you can point me to?
> >
> 
> In order for you to get full mod_perl speed, you will need to put all of
> your mod_perl enabled cgi scripts into a directory and tell mod_perl to
> interpret that directory and all perl scripts contained within.
> Otherwise, you are just taking advantage of the built-in interpreter.
> 
> Jon
> 
> J. J. Horner
> Linux, Apache, Perl, Unix, Stronghold
> [EMAIL PROTECTED] http://www.knoxlug.org
> System has been up: 9 days.



Re: Newbie help - mod_perl use

2000-04-10 Thread J. Horner

On Mon, 10 Apr 2000, Ron Beck wrote:

> What does the following do for you...
> 
>   
> 
> SetHandler perl-script
> PerlHandler Apache::Registry
> Options ExecCGI
> 
>   
> 
> The "Porting CGI Scripts" recommended including this in my httpd.conf
> file.  I assumed it was so I didn't have to put all my scripts into a
> single directory.  Is this not correct?
> 

No, that should work.  Did you run any benchmarks against your server
before implementing mod_perl, and after to see if it does any good?

J. J. Horner
Linux, Apache, Perl, Unix, Stronghold
[EMAIL PROTECTED] http://www.knoxlug.org
System has been up: 9 days.