RE: Re: Mod_perl X cgi Script

2000-05-31 Thread gomes

Hi guy!! 

Thanks for your reply!! and sorry for my english :) But, i need to run another script 
(not embperl script)..

ex:
I have a script (convert.pl) and any requests calling files with extension .com (ex: 
index.com) my script calling converte.pl.

ex:

| 
|index.com |->> |converte.pl|--->>|return html result|
| 

Ok ? do you understand me now ?

Thanks again and best regards.

Robson


On Tue, 30 May 2000,  wrote:
>not sure i understand this completely.
>i am assuming that you want embperl to work
>for only part of your site - yet it is handling for the
>whole site.  if that's not what you meant - perhaps you
>need to rephrase.
>
>first of all - i think you need to use:
>
>
>OR
>
>
>THEN,
>either change the extension for the embperl stuff only
>such as:  *.ep
>
>OR
>
>limit the embperl to a particular directory
>
>   
>  stuff
>   
>
>
>around the 
>
>
>--
>___cliff [EMAIL PROTECTED]
>Robson Paiva Gomes wrote:
>
>> Hi all, I Have problems to setup my apache with mod_perl 1.22 to run a
>> perl script... I need to always execute one script that .com will be
>> called archives with the extension. With HTML::Embperl (and mod_perl)
>> is easy... in my configuration file, just add some lines (ex):  > *.shtm>
>> PerlSetEnv EMBPERL_OBJECT_BASE base.shtm
>> PerlSetEnv EMBPERL_FILESMATCH "\.shtm$"
>> SetHandler perl-script
>> PerlHandler HTML::EmbperlObject
>> Options ExecCGI
>> And always that I execute archives with the extension .shtm it
>> calls base.shtm. But I do not want to use the EMBPERL. To put I did
>> not find correct documentation on the subject. sombeone could help
>> me? Thanks for any quick reply and regards from Brazil. Robson
>
>
>
>



RE: Re: Mod_perl X cgi Script

2000-05-31 Thread gomes

Hi guy!! 

Thanks for your reply!! and sorry for my english :) But, i need to run another script 
(not embperl script)..

ex:
I have a script (convert.pl) and any requests calling files with extension .com (ex: 
index.com) my script calling converte.pl

Ok ? do you understand me now ?

Thanks again and best regards.

Robson]








On Tue, 30 May 2000,  wrote:
>not sure i understand this completely.
>i am assuming that you want embperl to work
>for only part of your site - yet it is handling for the
>whole site.  if that's not what you meant - perhaps you
>need to rephrase.
>
>first of all - i think you need to use:
>
>
>OR
>
>
>THEN,
>either change the extension for the embperl stuff only
>such as:  *.ep
>
>OR
>
>limit the embperl to a particular directory
>
>   
>  stuff
>   
>
>
>around the 
>
>
>--
>___cliff [EMAIL PROTECTED]
>Robson Paiva Gomes wrote:
>
>> Hi all, I Have problems to setup my apache with mod_perl 1.22 to run a
>> perl script... I need to always execute one script that .com will be
>> called archives with the extension. With HTML::Embperl (and mod_perl)
>> is easy... in my configuration file, just add some lines (ex):  > *.shtm>
>> PerlSetEnv EMBPERL_OBJECT_BASE base.shtm
>> PerlSetEnv EMBPERL_FILESMATCH "\.shtm$"
>> SetHandler perl-script
>> PerlHandler HTML::EmbperlObject
>> Options ExecCGI
>> And always that I execute archives with the extension .shtm it
>> calls base.shtm. But I do not want to use the EMBPERL. To put I did
>> not find correct documentation on the subject. sombeone could help
>> me? Thanks for any quick reply and regards from Brazil. Robson
>
>
>
>



Mod_perl X cgi Script

2000-05-30 Thread Robson Paiva Gomes



Hi all, 
 
I Have problems to setup my apache with mod_perl 
1.22 to run a perl script...
 
I need to always execute one script that .com will 
be called archives with the extension. 
 
With HTML::Embperl (and mod_perl) is easy... in my 
configuration file, just add some lines (ex):
 
 
PerlSetEnv EMBPERL_OBJECT_BASE 
base.shtm    
PerlSetEnv EMBPERL_FILESMATCH 
"\.shtm$"    
SetHandler 
perl-script    
PerlHandler 
HTML::EmbperlObject    
Options ExecCGI
And always that I execute archives with the 
extension .shtm it calls base.shtm. But I do not want to use the EMBPERL.  

 
To put I did not find correct documentation on the 
subject. sombeone could help me? 
 
Thanks for any quick reply and regards from 
Brazil.
 
Robson