Mike P. Mikhailov wrote:
Hello Michael,
Wednesday, July 30, 2003, 7:32:23 AM, you wrote:
M I have a web application for that needs to execute a privileged
M command on its host for administrative purposes. Can someone suggest a
M good solution that will allow 'nobody' to execute the script
Don't mess with the cooker, try using a subclass, e.g.:
# ModPerl/RegistryPrefork.pm
package ModPerl::RegistryPrefork;
use strict;
use warnings FATAL = 'all';
our $VERSION = '0.01';
use base qw(ModPerl::Registry);
use File::Basename ();
sub handler : method {
my $class
This seems to work OK. Hopefully I should now be able to remove the
mod_perl 1's Registry.pm file.
Thanks everyone.
Perfect. I've replaced the suggestion to use mp1's Apache::Registry with this
better solution, which doesn't require mp1:
Eric Choler reports on the dev list that mp2 builds and passes all tests with
prefork and worker mpms on MacOSX 10.2.6 with perl 5.8.0 w/ithreads. There was
another success report a few weeks ago.
Do people still have problems with MacOSX? If you do please post the output of
t/REPORT here. I
Thank's for yours comments. You are right, is not a replacement for
Apache::Request, is a alternative implementation.
On Wed, 30 Jul 2003, Stas Bekman wrote:
Henrique Dias wrote:
I'm pleased to announce the release of Apache-ParseFormData-0.06, a
replace for Apache::Request (libapreq).
Le lundi, 28 juil 2003, à 21:27 Europe/Paris, Jean-Michel Hiver a écrit
:
Also, with TT you have to use the filter 'html' to XML encode your
variables. Petal does it by default, and you need to use the TALES
'structure' keyword to NOT encode.
You don't *have* to use the 'html' filter in TT. I
--- Stas Bekman [EMAIL PROTECTED] wrote:
This seems to work OK. Hopefully I should now be able to remove the
mod_perl 1's Registry.pm file.
Thanks everyone.
Perfect. I've replaced the suggestion to use mp1's Apache::Registry
with this
better solution, which doesn't require mp1:
ColinB wrote:
http://perl.apache.org/docs/2.0/user/porting/compat.html#C_Apache__Registry___C_Apache__PerlRun__and_Friends
I'm a little confused about the changes you've made here. You still
mention using Apache::Registry, and then you added the text that
describes ModPerl::RegistryPrefork but
Hello
On apache startup I get:
Invalid command 'PerlLoadModule', perhaps mis-spelled or defined by a
module not included in the server configuration
This is with
Apache/2.0.46 (Debian GNU/Linux) mod_perl/1.99_07-dev Perl/v5.8.0
Is my mod_perl to old or something?
Btw, I have followed
Martin Wickman wrote:
Hello
On apache startup I get:
Invalid command 'PerlLoadModule', perhaps mis-spelled or defined by a
module not included in the server configuration
This is with
Apache/2.0.46 (Debian GNU/Linux) mod_perl/1.99_07-dev Perl/v5.8.0
Is my mod_perl to old or something?
Btw,
Hi,
I've a strange problem I've never encountered before when compiling my
own apache.
I simply run:
1) in mod_perl-1.28:
/opt/perl/bin/perl Makefile.PL DO_HTTPD=1 USE_APACI=1 APACHE_PREFIX=/opt/apache
make
make test
make install
2) If I know try to start my apache with a
Hi,
sorry for my begginer question , i have this code in HTML-Embperl
1 open (F , 'my_file') or die ;
2 @lines = F;
On line 2 embperl return error syntax error . Why ?
And when I need open new file open (F , ' my_file') or die then
embperl dont open new file.
Thanks
Rado.
Oh found it my self. I forgot to add EVERYTHING=1 to perl-Makefile call
because i simply copied it from INSTALL.simple where this is not
mentionned.
tom
On Wed, 2003-07-30 at 14:20, Thomas Schindl wrote:
Hi,
I've a strange problem I've never encountered before when compiling my
own apache.
Radovan Petrík wrote:
Hi,
sorry for my begginer question , i have this code in HTML-Embperl
http://perl.apache.org/embperl/pod/doc/Embperl.-page-12-.htm
__
Stas BekmanJAm_pH -- Just Another mod_perl Hacker
Hello,
While I am not new to Perl, I am completely new to mod_perl. I have
a client I am working on moving a project that runs under mod_perl.
He does alot manipulation with the PerlTransHandler stuff. Well,
even on a default mod_perl install, with a default Apache install, I
can not get the
Glenn E. Bailey III wrote:
Hello,
While I am not new to Perl, I am completely new to mod_perl.
check out the resources at http://perl.apache.org/ - there's lots of good
information there :)
sub handler {
my $r = shift;
return OK;
}
1;
And not matter what I always get a 404 with
: check out the resources at http://perl.apache.org/ - there's
: lots of good
: information there :)
Heh, only found one document there concerning the TransHandler
stuff ..
: so, the general rule for PerlTransHandlers is to return
: DECLINED unless you
: set $r-filename.
What I am trying
: so, the general rule for PerlTransHandlers is to return
: DECLINED unless you
: set $r-filename.
What I am trying to do is just test, to make sure it is working
ok. So what I did is wrote the following snippit:
sub handler {
my $r = shift;
return DECLINED;
}
That should still
: don't forget, you can't just change handlers and expect them
: to work -
This is probably what has been messing me up. Doing a quick stop
and restart of Apache after any change I made seems to have fixed
my problems, do! Thanks for your help ;-)
. Glenn E. Bailey III
. Network Solutions
I am having problems running both mod_perl and mod_fastcgi. I am using
Apache::PageKit, which requires mod_perl, and Zope, which works best
with FastCGI, for two different web sites.
The build goes just fine, Apache doesn't so much as utter a peep of
complaint, but when I try to get a web page,
Jarkko has just released perl-5.8.1-RC3. Quite a few things have changed since
5.8.0. So it's *very* important that you test your code with this release and
immediatelly report to p5p if you have any problems, since Jarkko wants to
release 5.8.1 any moment now.
Any version of mod_perl 1.x
Jarkko's original post had the links wrong: Here are the right links:
http://www.iki.fi/jhi/perl-5.8.1-RC3.tar.bz
http://www.iki.fi/jhi/perl-5.8.1-RC3.tar.gz
or rsync -avz ftp.linux.activestate.com::perl-5.8.x perl-5.8.x
You might also want to read the perldelta online:
On Wed, 2003-07-30 at 14:36, Perrin Harkins wrote:
On Wed, 2003-07-30 at 13:34, Collin Starkweather wrote:
The build goes just fine, Apache doesn't so much as utter a peep of
complaint, but when I try to get a web page, it seems Apache isn't
serving content correctly. In Mozilla, accessing
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
On Wed, Jul 30, 2003 at 11:15:32PM +0200, Stas Bekman wrote:
Jarkko has just released perl-5.8.1-RC3. Quite a few things have changed
since 5.8.0. So it's *very* important that you test your code with this
release and immediatelly report to p5p
Mike P. Mikhailov wrote:
Hello Michael,
Wednesday, July 30, 2003, 7:32:23 AM, you wrote:
M I have a web application for that needs to execute a privileged
M command on its host for administrative purposes. Can someone suggest a
M good solution that will allow 'nobody' to execute
25 matches
Mail list logo