You are viewing a plain text version of this content. The canonical link for it is here.
Posted to modperl@perl.apache.org by Kevin Old <ko...@carolina.rr.com> on 2003/04/28 22:05:50 UTC

What is mod_perl_start.pl?

Hello everyone,

I installed the Apache::UploadMeter module and am trying to use it and
this is all the code it gives to implement it:

  (in mod_perl_start.pl)
  use Apache::UploadMeter;
  
  $Apache::UploadMeter::UploadForm='/form.html';
  $Apache::UploadMeter::UploadScript='/perl/upload';
  $Apache::UploadMeter::UploadMeter='/perl/meter';
  
  Apache::UploadMeter::configure;

  (in /form.html)

  <!--#uploadform-->
  <INPUT TYPE="FILE" NAME="theFile"/>
  <INPUT TYPE="SUBMIT"/>
  </FORM>

It says to put the use & config statements in to mod_perl_start.pl, but
where is this file or where should it be located?  Can't this stuff just
go in the httpd.conf file in the directory configuration?

Any help is appreciated,
Kevin

-- 
Kevin Old <ko...@carolina.rr.com>


Re: What is mod_perl_start.pl?

Posted by Alex <ax...@m-net.arbornet.org>.
It's probably the same thing as the startup.pl file refered to on
perl.apache.org. Depending on how you setup modperl configuration you
might not have used a startup file.


On 28 Apr 2003, Kevin Old wrote:

> Hello everyone,
>
> I installed the Apache::UploadMeter module and am trying to use it and
> this is all the code it gives to implement it:
>
>   (in mod_perl_start.pl)
>   use Apache::UploadMeter;
>
>   $Apache::UploadMeter::UploadForm='/form.html';
>   $Apache::UploadMeter::UploadScript='/perl/upload';
>   $Apache::UploadMeter::UploadMeter='/perl/meter';
>
>   Apache::UploadMeter::configure;
>
>   (in /form.html)
>
>   <!--#uploadform-->
>   <INPUT TYPE="FILE" NAME="theFile"/>
>   <INPUT TYPE="SUBMIT"/>
>   </FORM>
>
> It says to put the use & config statements in to mod_perl_start.pl, but
> where is this file or where should it be located?  Can't this stuff just
> go in the httpd.conf file in the directory configuration?
>
> Any help is appreciated,
> Kevin
>
> --
> Kevin Old <ko...@carolina.rr.com>
>