Re: Using a Startup.pl

2003-03-18 Thread Stas Bekman
cannot live without it and I refuse to do even the smallest projects using anything else. Fantastic. Perhaps you would like to submit a success story for our collection at: http://perl.apache.org/outstanding/success_stories/index.html ______

Re: required files not in a namespace?

2003-03-18 Thread Stas Bekman
__ Stas BekmanJAm_pH --> Just Another mod_perl Hacker http://stason.org/ mod_perl Guide ---> http://perl.apache.org mailto:[EMAIL PROTECTED] http://use.perl.org http://apacheweek.com http://modperlbook.org http://apache.org

[mp2] adding SERVER_ROOT and SERVER_ROOT/lib/perl to @INC

2003-03-18 Thread Stas Bekman
rl, p)) { exit(1); } ______ Stas BekmanJAm_pH --> Just Another mod_perl Hacker http://stason.org/ mod_perl Guide ---> http://perl.apache.org mailto:[EMAIL PROTECTED] http://use.perl.org http://apacheweek.com http://modperlbook.org http://apache.org http://ticketmaster.com

Re: Using a Startup.pl

2003-03-18 Thread Stas Bekman
8 or even better the cvs one. The one coming with RH is too old. Save yourself troubles. http://perl.apache.org/download/index.html __ Stas BekmanJAm_pH --> Just Another mod_perl Hacker http://stason.org/ m

Re: Using a Startup.pl

2003-03-18 Thread Stas Bekman
on't be surprised if there are problems with it. If you have problems report them as explained here: http://perl.apache.org/docs/2.0/user/help/help.html#Reporting_Problems ______ Stas BekmanJAm_pH --> Just Another

Re: What does SetHandler do unexpectedly?

2003-03-13 Thread Stas Bekman
rning DECLINED and Apache's default handler is running, trying to find /dir/file, and then trying /file. Or you may have something else. It's of no help to guess. ______ Stas BekmanJAm_pH --> Just Ano

Re: PerlCleanupHandler firing too early?

2003-03-13 Thread Stas Bekman
3 lines of code?), so that the problem can be still reproduced and post it here. ______ Stas BekmanJAm_pH --> Just Another mod_perl Hacker http://stason.org/ mod_perl Guide ---> http://perl.apache.org mailto:[EMAIL P

Re: mod_perl + GnuPG

2003-03-13 Thread Stas Bekman
ce.html#2_0_Development_Source_Distribution ______ Stas BekmanJAm_pH --> Just Another mod_perl Hacker http://stason.org/ mod_perl Guide ---> http://perl.apache.org mailto:[EMAIL PROTECTED] http://use.perl.org http://apacheweek.com http://modperlbook.org http://apache.org http://ticketmaster.com

Re: Compiling Apache::Scoreboard

2003-03-13 Thread Stas Bekman
ers. This was fixed in the cvs version of mod_perl 1.0. Can you please try to rebuild mod_perl using the cvs version and then give another chance to Apache::Scoreboard? http://perl.apache.org/download/source.html#Development_Source_Distribution _________

Re: Dual Processors & Mod Perl

2003-03-13 Thread Stas Bekman
u are more likely to see them on an SMP machine. __ Stas BekmanJAm_pH --> Just Another mod_perl Hacker http://stason.org/ mod_perl Guide ---> http://perl.apache.org mailto:[EMAIL PROTECTED] http://use.perl.org http:

Re: h2xs

2003-03-13 Thread Stas Bekman
=perl-xs __ Stas BekmanJAm_pH --> Just Another mod_perl Hacker http://stason.org/ mod_perl Guide ---> http://perl.apache.org mailto:[EMAIL PROTECTED] http://use.perl.org http://apacheweek.com http://modperlbo

the deprecation of Apache->request in mp2

2003-03-13 Thread Stas Bekman
lf of the performance hit (store), and the actual use of Apache->request (get) is the second half. See: http://perl.apache.org/docs/2.0/user/compat/compat.html#C_Apache_E_gt_request_ http://perl.apache.org/docs/2.0/user/config/config.html#C_GlobalRequest_ ____

Re: CGI.pm and friends port to mp2

2003-03-13 Thread Stas Bekman
Stas Bekman wrote: Stas Bekman wrote: Lincoln Stein wrote: Please find enclosed a beta version of CGI.pm 2.92. I would appreciate it if people could test it on both mod_perl 1 and mod_perl 2, as well as under normal CGI scripts too ;-) Thanks Lincoln. 'make test' passes with m

Re: CGI.pm and friends port to mp2

2003-03-13 Thread Stas Bekman
Stas Bekman wrote: Lincoln Stein wrote: Please find enclosed a beta version of CGI.pm 2.92. I would appreciate it if people could test it on both mod_perl 1 and mod_perl 2, as well as under normal CGI scripts too ;-) Thanks Lincoln. 'make test' passes with mp1 and mp2 Ah, no it do

Re: CGI.pm and friends port to mp2

2003-03-13 Thread Stas Bekman
here is a whole bunch of new functionality available, which will be too long to list here and partially described on the website. __ Stas BekmanJAm_pH --> Just Another mod_perl Hacker http://stason.org/

Re: Doc clarifications requested

2003-03-13 Thread Stas Bekman
Perrin Harkins wrote: Stas Bekman wrote: Ron Savage wrote: I see this item: if one wishes to simply read POST data, there is the more modern {setup,should,get}_client_block API, and even more modern filter API. Along with continued support for read(STDIN, ...) and $r->read($buf, $r->head

Re: [mp2] Using DBI instead of Apache::DBI

2003-03-13 Thread Stas Bekman
ut earlier perl versions. -Original Message----- From: Stas Bekman [SMTP:[EMAIL PROTECTED] Sent: Tuesday, March 11, 2003 11:55 PM To: Georg Botorog Cc: [EMAIL PROTECTED] Subject:Re: [mp2] Using DBI instead of Apache::DBI Georg Botorog wrote: Hello, In mod_perl1, using persiste

Re: Doc clarifications requested

2003-03-12 Thread Stas Bekman
RequestRec) and the other way around. sorry, should have been Apache::RequestUtil Please check an updated entry: http://perl.apache.org/docs/2.0/user/compat/compat.html#C__r_E_gt_is_main_ __ Stas BekmanJAm_pH -->

Re: Doc clarifications requested

2003-03-12 Thread Stas Bekman
rom that entry. In the Apache::RequestRec manpage we add a xref to main() (Apache::RequestRec) and the other way around. Sounds good? BTW, did I mention that patches are *very* welcome? :) Thank you. __ Stas Bekman

Re: Need Help With Apache::Filter (mod 1.x)

2003-03-11 Thread Stas Bekman
David Culp wrote: Any Examples of Apache::Filter would be greatly appreciated. http://www.cpan.org/authors/id/G/GE/GEOFF/Apache-Clean-0.05.tar.gz p.s. Apache-Clean-2.x is for mp2. __ Stas BekmanJAm_pH --> J

Re: Newbie help with mod-perl 2.0

2003-03-11 Thread Stas Bekman
oops, s/[EMAIL PROTECTED]/[EMAIL PROTECTED]/ ______ Stas BekmanJAm_pH --> Just Another mod_perl Hacker http://stason.org/ mod_perl Guide ---> http://perl.apache.org mailto:[EMAIL PROTECTED] http://use.perl.org http:

Re: [mp2] What happened to $r->connection->remote_addr?

2003-03-11 Thread Stas Bekman
Manifest.pm Registry.pm StructureMap.pmWrapXS.pm I've tested it with mod_perl/1.99_08 (standard instalation), apache 2.0.44, perl 5.8.0. -- Pozdrawiam, Kamil. -- ______ Stas BekmanJAm_pH --> Just Anoth

Re: Newbie help with mod-perl 2.0

2003-03-11 Thread Stas Bekman
I.pm for now, which does all that, but slower (pure perl). ______ Stas BekmanJAm_pH --> Just Another mod_perl Hacker http://stason.org/ mod_perl Guide ---> http://perl.apache.org mailto:[EMAIL PROTECTED] http://use.perl.org http://apacheweek.com http://modperlbook.org http://apache.org http://ticketmaster.com

Re: [mp2] Using DBI instead of Apache::DBI

2003-03-11 Thread Stas Bekman
he::DBI'; # the previous functionality is restored (e.g. back to DBI) __ Stas BekmanJAm_pH --> Just Another mod_perl Hacker http://stason.org/ mod_perl Guide ---> http://perl.apache.org mailto:[EMAIL PROTECTED] http://use.perl.org http://apacheweek.com http://modperlbook.org http://apache.org http://ticketmaster.com

Re: Reading an array from perl script

2003-03-10 Thread Stas Bekman
uite offtopic here ;) As suggested by Mark, IPC::Shareable might work if the data set is small. If it's big you can use a simple dbm to store the data in and with proper locking read/write to/from it without disturbing each other. ___

Re: [mp2] Documentation

2003-03-10 Thread Stas Bekman
(preferrably on the docs-dev list). Thanks. ______ Stas BekmanJAm_pH --> Just Another mod_perl Hacker http://stason.org/ mod_perl Guide ---> http://perl.apache.org mailto:[EMAIL PROTECTED] http://use.perl.org http:

Re: Apache::SubRequest::run

2003-03-10 Thread Stas Bekman
and fix it if it's really broken. ______ Stas BekmanJAm_pH --> Just Another mod_perl Hacker http://stason.org/ mod_perl Guide ---> http://perl.apache.org mailto:[EMAIL PROTECTED] http://use.perl.org http://apacheweek.com htt

ANNOUNCE: Apache-VMonitor 0.8

2003-03-10 Thread Stas Bekman
size: 18209 bytes md5: 88cfba14794b50cb0642931cd19d42da No action is required on your part Request entered by: STAS (Stas Bekman) Request entered on: Tue, 11 Mar 2003 04:01:10 GMT Request completed: Tue, 11 Mar 2003 04:01:42 GMT Virtually Yours, paused, v276

CGI.pm and friends port to mp2

2003-03-10 Thread Stas Bekman
fering where it's relevant, rather than globally)? Thanks. ______ Stas BekmanJAm_pH --> Just Another mod_perl Hacker http://stason.org/ mod_perl Guide ---> http://perl.apache.org mailto:[EMAIL PROTEC

Re: Newbie help with mod-perl 2.0

2003-03-10 Thread Stas Bekman
;args(); my @b = %a; print "Args " . @b . ": @b\n"; my $content = $r->request(); /home/stas> lookup request to use method 'request' add: use Apache::RequestUtil (); see: http://perl.apache.org/docs/2.0/api/ModPerl/MethodLookup.html#Command_Li

Re: Porting Orphans : (was: apache::sandwich)

2003-03-10 Thread Stas Bekman
better Makefile.PL support (including things like installing into Apache2/ and automatic configuration of the MM attributes for compilation) ______ Stas BekmanJAm_pH --> Just Another mod_perl Hacker http://stason.org/ mod

Re: apache::sandwich

2003-03-10 Thread Stas Bekman
pat/compat.html ;) ______ Stas BekmanJAm_pH --> Just Another mod_perl Hacker http://stason.org/ mod_perl Guide ---> http://perl.apache.org mailto:[EMAIL PROTECTED] http://use.perl.org http://apacheweek.com http://modperlbook.org http://apache.org http://ticketmaster.com

Re: [mp2] Documentation

2003-03-10 Thread Stas Bekman
wer. People will again start grumbling that there are too many docs for their liking, as it is situation with mp1 docs. But I prefer the latter ;) Looking forward for your docs submission. __ Stas BekmanJAm_pH --

Re: Trouble with sysread in modperl

2003-03-08 Thread Stas Bekman
perl 1.x, right? ______ Stas BekmanJAm_pH --> Just Another mod_perl Hacker http://stason.org/ mod_perl Guide ---> http://perl.apache.org mailto:[EMAIL PROTECTED] http://use.perl.org http://apacheweek.com http://modperlbook.org http://apache.org http://ticketmaster.com

Re: DECLINE, ERRORs in the middle of hanlers stack

2003-03-08 Thread Stas Bekman
Ruslan U. Zakirov wrote: On Sat, 8 Mar 2003, Stas Bekman wrote: Ruslan U. Zakirov wrote: Hello All! "Stacked handlers" is a very useful technology, but as I think incomplete. I need some suggestions. My project split content handler in the few parts. And each handler send p

Re: Trouble with sysread in modperl

2003-03-08 Thread Stas Bekman
and and reproduce the problem. ______ Stas BekmanJAm_pH --> Just Another mod_perl Hacker http://stason.org/ mod_perl Guide ---> http://perl.apache.org mailto:[EMAIL PROTECTED] http://use.perl.org http://apacheweek.com http:

Re: [mp2] CGI redirects incorrectly handled?

2003-03-08 Thread Stas Bekman
Mark James wrote: Stas Bekman wrote: Can you send a short script (removing all the irrelevant bits) that we can reproduce the problem with? Made a script that generated the same POST request and same redirect as the problem code. The problem was not reproduced! The only difference I can see

Re: [mp2] Latest mod_perl funny test results

2003-03-08 Thread Stas Bekman
Stas Bekman wrote: Beau E. Cox wrote: Hi - I just upgraded to Apache 2.0.44 (source) and mod_perl-1.99-09-dev (CVS source) on my SuSE 8.1 test server. All test scripts completed OK. I am omitting the details of my configuration - will supply them if anyone thinks this problem is related to them

Re: [mp2] $r->document root("/my/hacked/path");

2003-03-07 Thread Stas Bekman
ache 2.0? It needs to be implemented. Patches are welcome. ______ Stas BekmanJAm_pH --> Just Another mod_perl Hacker http://stason.org/ mod_perl Guide ---> http://perl.apache.org mailto:[EMAIL PROTECTED] http://use.perl.

Re: [mp2] What happened to $r->connection->remote_addr?

2003-03-07 Thread Stas Bekman
get remote_addr Also, in the future please add some new lines in your reports, it's extremely hard to parse when everything is piled in one para. Thanks. I'm using the apache 2.0 rpm that comes stock with RedHat 8.0 linux: httpd-2.0.40-11 I'm using the perl 5.8.0 rpm that c

Re: DECLINE, ERRORs in the middle of hanlers stack

2003-03-07 Thread Stas Bekman
out. But instead of stuffing the content there, you are probably better off (more efficient?) to create a buffering class, instantiate an instance, and store it in $r->pnotes between invocations. ______ Stas BekmanJAm_pH -

Re: Apache::DBI on mp2

2003-03-07 Thread Stas Bekman
Ask Bjoern Hansen wrote: On Fri, 7 Mar 2003, Stas Bekman wrote: If the physical connection is still there, would the database server do a rollback? If earlier the rollback worked correctly with $dbh ||= connect();, this will work the same, since it performs the same operation, but rips off only

Re: [mp2] automatic Apache::compat preloading in CPAN modules isa no-no

2003-03-07 Thread Stas Bekman
Stas Bekman wrote: Apache::compat is useful during the mp1 code porting. Though remember that it's implemented in pure Perl. In certain cases it overrides mp2 methods, because their API is very different and doesn't map 1:1 to mp1. So if anything, not under my control, loads Apache:

Re: Apache::DBI on mp2

2003-03-07 Thread Stas Bekman
Ask Bjoern Hansen wrote: On Thu, 6 Mar 2003, Stas Bekman wrote: re: rollback, the DBD drivers will perform the normal disconnect(), but without doing the physical disconnect, and normal DESTROY, without destroying the datastructures which maintain the physical connection, so there shouldn'

porting modules to mp2 docs are updated

2003-03-07 Thread Stas Bekman
e crunched. __ Stas BekmanJAm_pH --> Just Another mod_perl Hacker http://stason.org/ mod_perl Guide ---> http://perl.apache.org mailto:[EMAIL PROTECTED] http://use.perl.org http://apacheweek.com http://modperlbook.org http://a

Re: problems installing mod_perl 2

2003-03-07 Thread Stas Bekman
the mod_perl source for things that are still missing. ______ Stas BekmanJAm_pH --> Just Another mod_perl Hacker http://stason.org/ mod_perl Guide ---> http://perl.apache.org mailto:[EMAIL PROTECTED]

Re: [mp2] integration with apache threads

2003-03-06 Thread Stas Bekman
r is for ithreads issues). ______ Stas BekmanJAm_pH --> Just Another mod_perl Hacker http://stason.org/ mod_perl Guide ---> http://perl.apache.org mailto:[EMAIL PROTECTED] http://use.perl.org http://apacheweek.

[mp2] automatic Apache::compat preloading in CPAN modules is a no-no

2003-03-06 Thread Stas Bekman
hat preloading? If you need help with porting the API please let us know. Thanks. __ Stas BekmanJAm_pH --> Just Another mod_perl Hacker http://stason.org/ mod_perl Guide ---> http://perl.apache.org mailto:[EM

Env::C threads env flashback

2003-03-05 Thread Stas Bekman
threads to see, do that before threads are started. (e.g. for mod_perl 2.0, at the server startup). --- Also see: http://perl.apache.org/docs/2.0/user/coding/coding.html#Thread_environment_Issues ______ Stas BekmanJAm_pH -->

Re: [mp2] CGI redirects incorrectly handled?

2003-03-05 Thread Stas Bekman
ne already by CGI.pm. Can you send a short script (removing all the irrelevant bits) that we can reproduce the problem with? ______ Stas BekmanJAm_pH --> Just Another mod_perl Hacker http://stason.org/ mod_perl Guid

Re: [mp2] CGI redirects incorrectly handled?

2003-03-05 Thread Stas Bekman
Mark James wrote: Stas Bekman wrote: Mark James wrote: I'm having CGI redirect problems mp2 (cvs). as the comment just above this line says, that code was copy-n-pasted from mod_cgi. Can you reproduce the same problem while running a cgi script? No, them problem only manifests

Re: Apache::DBI on mp2

2003-03-05 Thread Stas Bekman
Perrin Harkins wrote: Stas Bekman wrote: FWIW, we are discussing the internal DBI pooling mechanism at the dbi-dev list and having already a sort-of-working prototype. So hopefully there will be no need for Apache::DBI in the near future, as DBI will be able to handle pooling internally

Re: register_cleanup on mod_perl 2.0

2003-03-05 Thread Stas Bekman
Stas Bekman wrote: Denis Banovic wrote: Hi! I've a script that looks like this: if ($runnung_on_mod_perl) { Apache->request->register_cleanup(\&init_globals); } Under mod_perl 1.0 works fine with Apache::Registry. Can someone give me an Example how to make a register_cleanup

Re: Tracing double accesshandler invocation

2003-03-05 Thread Stas Bekman
e per request. So may be play with this test's config until you break it. if you succeed to break it, that would be the easiest for me to reproduce your problem. ______ Stas BekmanJAm_pH --> Just Another mo

Re: register_cleanup on mod_perl 2.0

2003-03-05 Thread Stas Bekman
erl 2? A copy-n-paste from Apache/compat.pm: sub register_cleanup { shift->pool->cleanup_register(@_); } if you use Apache::compat, your mp1 code will work under mp2 unmodified. ______ Stas BekmanJAm_pH --> Just

Re: Can anyone Rcommend a good Apache mailing list

2003-03-05 Thread Stas Bekman
users __ Stas BekmanJAm_pH --> Just Another mod_perl Hacker http://stason.org/ mod_perl Guide ---> http://perl.apache.org mailto:[EMAIL PROTECTED] http://use.perl.org http://apacheweek.com http://modperlbook.org http://apache.org http://ticketmaster.com

Re: [mp2] CGI redirects incorrectly handled?

2003-03-05 Thread Stas Bekman
->content_type) { +if (wb->header_parse) { request_rec *r = wb->r; const char *bodytext = NULL; int status; __ Stas BekmanJAm_pH --> Just Another mod_perl Hacker http://stason.org/ mod_perl Guide ---> http://perl.apache.org mailto:[EMAIL PROTECTED] http://use.perl.org http://apacheweek.com http://modperlbook.org http://apache.org http://ticketmaster.com

Re: Reading an array from perl script

2003-03-05 Thread Stas Bekman
ere ;) As suggested by Mark, IPC::Shareable might work if the data set is small. If it's big you can use a simple dbm to store the data in and with proper locking read/write to/from it without disturbing each other. ______ Stas Bekman

Re: Apache::DBI on mp2

2003-03-05 Thread Stas Bekman
Ask Bjoern Hansen wrote: On Wed, 5 Mar 2003, Stas Bekman wrote: Great. I've already committed that patch. Perhaps Ask could load 'Apache::compat' inside Apache::DBI if mp2 is used. Or to use the mp2 API if mp2 is used. That seems like it'll be an easy solution. I th

Re: [mp2] apache/mod_perl starup failure using cvs 09

2003-03-05 Thread Stas Bekman
ll eventually work well together - I feel a little like I am caught in the middle ;) if you don't mind to get frustrated here and there, that's the best position to learn things ;) Please don't spend any more time on this until I get a mason answer. ;) ___

Re: Problem with mod_perl and subroutines in multiple files.

2003-03-04 Thread Stas Bekman
what I thought was properly configured), I got strange errors like: ModPerl::PerlRun: Not a CODE reference at /var/www/cgi-bin/main.pl line 31. __ Stas BekmanJAm_pH --> Just Another mod_perl Hacker http://stason.

Re: [mp2] apache/mod_perl starup failure using cvs 09

2003-03-04 Thread Stas Bekman
d nobody else has objected (or had any opinion at all), so it went in. Since nothing is cast is stone (yet) on the mp2 API, you may suggest your explanation why it should behave differently if you think that my idea is wrong. __

Re: [mp2] apache/mod_perl starup failure using cvs 09

2003-03-04 Thread Stas Bekman
that mp reports the error. ______ Stas BekmanJAm_pH --> Just Another mod_perl Hacker http://stason.org/ mod_perl Guide ---> http://perl.apache.org mailto:[EMAIL PROTECTED] http://use.perl.org http://apacheweek.com http://modperlbo

Re: [mp2] Latest mod_perl funny test results

2003-03-04 Thread Stas Bekman
thinking how to solve them in a different way. So please bear with me. I want to finish first the update of the filters tutorial, and then will be back to fixing things. ______ Stas BekmanJAm_pH --> Just Anoth

Re: SubRequest weirdness

2003-03-04 Thread Stas Bekman
The eagle book says that the headers should be forwarded, but they aren't. __ Stas BekmanJAm_pH --> Just Another mod_perl Hacker http://stason.org/ mod_perl Guide ---> http://perl.apache.org mailto:[EMAIL PROTECTED] http

Re: Trouble with sysread in modperl

2003-03-04 Thread Stas Bekman
ror. SCALAR will be grown or shrunk so that the last byte actually read is the last byte of the scalar after the read. [...] can you try whether you get all the data, by reading via (even though you have no control over chunks size) _

Re: Apache::DBI on mp2

2003-03-04 Thread Stas Bekman
Haroon Rafique wrote: On Today at 11:16am, SB=>Stas Bekman <[EMAIL PROTECTED]> wrote: SB> FWIW, we are discussing the internal DBI pooling mechanism at the SB> dbi-dev list and having already a sort-of-working prototype. So SB> hopefully there will be no need for Apache::DBI

Re: [mp2] disabling a perl handler within a specific location

2003-03-03 Thread Stas Bekman
=> \&filter_handler); return Apache::OK; } 1; p.s. I've optimized your /jpg|jpe?g/ regex ;) Also you may need this :) http://perl.apache.org/docs/2.0/api/ModPerl/MethodLookup.html ______ Stas BekmanJAm_pH -->

Re: Apache::DBI on mp2

2003-03-03 Thread Stas Bekman
ift; +Apache->server->set_handlers(@_); +} + package Apache::Constants; use Apache::Const (); ______ Stas BekmanJAm_pH --> Just Another mod_perl Hacker http://stason.org/ mod_perl Guide ---> http://perl.apac

Re: WEb hosting..

2003-03-03 Thread Stas Bekman
Fco. Valladolid wrote: http://www.upnix.com David Emery wrote: > http://www.mediatemple.net please specify where the companies are based, since our list is sorted by country. Thanks. __ Stas BekmanJAm_pH -->

Re: WEb hosting..

2003-03-03 Thread Stas Bekman
.html __ Stas BekmanJAm_pH --> Just Another mod_perl Hacker http://stason.org/ mod_perl Guide ---> http://perl.apache.org mailto:[EMAIL PROTECTED] http://use.perl.org http://apacheweek.com http://modperlbook.org http://apache.org http://ticketmaster.com

Re: WEb hosting..

2003-03-02 Thread Stas Bekman
Thank you! I've committed the isps you have submitted so far. __ Stas BekmanJAm_pH --> Just Another mod_perl Hacker http://stason.org/ mod_perl Guide ---> http://perl.apache.org mailto:[EMAIL PROT

Re: Apache dies when configure mod_perl for use with Apache::DBI

2003-03-02 Thread Stas Bekman
are using the latest DBI and Apache::DBI ______ Stas BekmanJAm_pH --> Just Another mod_perl Hacker http://stason.org/ mod_perl Guide ---> http://perl.apache.org mailto:[EMAIL PROTECTED] http://use.perl.org http://apacheweek.com http://modperlbook.org http://apache.org http://ticketmaster.com

Re: mp2 runs scripts as root?

2003-03-01 Thread Stas Bekman
Mark James wrote: Stas Bekman wrote: Mark James wrote: Some of my scripts break when running under mp2 (cvs) because the UID is set as root rather than the Apache user (which for me is "web"). The problem manifests with RCS file locking. Is there some switch to set so that I can run

Re: Help needed to set up Apache, PERL, PHP and MySQL

2003-03-01 Thread Stas Bekman
that will provide the help-desk-like service for you. __ Stas BekmanJAm_pH --> Just Another mod_perl Hacker http://stason.org/ mod_perl Guide ---> http://perl.apache.org mailto:[EMAIL PROTECTED] http://u

Re: mp2 runs scripts as root?

2003-02-28 Thread Stas Bekman
talking about 'make test' or installed mod_perl? If the former, use the latest cvs where this should work if the latter, modify httpd.conf. ______ Stas BekmanJAm_pH --> Just Another mod_perl Hacker http

Re: register_cleanup

2003-02-28 Thread Stas Bekman
ndlers(PerlCleanupHandler => \&my_cleanup); $r->push_handlers(PerlCleanupHandler => 'my_cleanup'); Also, your original 1.x code: > if ($runnung_on_mod_perl) { >Apache->request->register_cleanup(\&init_globals); > } should work unmodified, under Apac

Re: make errors with mod_perl-1.99_08 on aix 4.3.3

2003-02-28 Thread Stas Bekman
L_INC = /usr/local/perl5.8.0/lib/5.8.0/aix/CORE Thanks. ______ Stas BekmanJAm_pH --> Just Another mod_perl Hacker http://stason.org/ mod_perl Guide ---> http://perl.apache.org mailto:[EMAIL PROTECTED] ht

Re: WEb hosting..

2003-02-27 Thread Stas Bekman
know. __ Stas BekmanJAm_pH --> Just Another mod_perl Hacker http://stason.org/ mod_perl Guide ---> http://perl.apache.org mailto:[EMAIL PROTECTED] http://use.perl.org http://apacheweek.com http://modperlbook.org http://apache.org http://ticketmaster.com

Re: [error] Insecure dependency in unlink while running with -T switchat /usr/lib/perl5/site_perl/5.6.0/Apache/Session/Store/File.pm line 106

2003-02-27 Thread Stas Bekman
m/FAQS/taintmode.html#clear_taint __ Stas BekmanJAm_pH --> Just Another mod_perl Hacker http://stason.org/ mod_perl Guide ---> http://perl.apache.org mailto:[EMAIL PROTECTED] http://use.perl.org http://apachew

Re: mp2: works with NetBSD? was Re: mp2: anyone got mp2 and apache2.0.44 working on any version of OpenBSD?

2003-02-27 Thread Stas Bekman
Carl Brewer wrote: Stas Bekman wrote: Carl Brewer wrote: As no-one seems interested in this after a few weeks, It's not about not being interested, but lacking the access to the system and/or lacking the expertise on these platforms. We really need to have at least one person taking

Re: mp2: works with NetBSD? was Re: mp2: anyone got mp2 and apache2.0.44 working on any version of OpenBSD?

2003-02-27 Thread Stas Bekman
, but the same error crops up. Has anyone been able to get it to run? (it seems to work well on SunOS 5.8 with the same apache & perl versions) Carl -- ______ Stas BekmanJAm_pH --> Just Another mod_perl Ha

Re: make errors with mod_perl-1.99_08 on aix 4.3.3

2003-02-27 Thread Stas Bekman
Stas Bekman wrote: Priest, Darryl - BALTO wrote: Thanks for the quick response, additional information as requested is below. Cool, please let me know whether this patch solves the problem (you need to apply the patch: cd modperl-2.0 patch -p0 < patch_itself rebuild mod_perl from scra

Re: make errors with mod_perl-1.99_08 on aix 4.3.3

2003-02-27 Thread Stas Bekman
2,7 @@ return unless $flags; for my $flag (split /\s+/, $flags) { +next if /^-/; # skip -foo flags my($name, $val) = split '=', $flag; $val ||= ''; $name =~ s/^-D//; ___

Re: Problem headers_out

2003-02-27 Thread Stas Bekman
ModPerl/MethodLookup.html#lookup_method__ The reason is explained here: http://perl.apache.org/docs/2.0/user/compat/compat.html#Code_Porting also please remember to mark your subject with mp2 when asking mp2 questions. __ Stas Bekman

Re: mod_perl Developer's Cookbook

2003-02-27 Thread Stas Bekman
s that should cover modperl 2.0 to come out any time soon, if at all. ______ Stas BekmanJAm_pH --> Just Another mod_perl Hacker http://stason.org/ mod_perl Guide ---> http://perl.apache.org mailto:[

Re: Scripts and HTML docs in the same directory (+ modperl newbieexperiences)

2003-02-27 Thread Stas Bekman
Mark James wrote: Stas Bekman wrote: Mark James wrote: 1. In http://perl.apache.org/docs/1.0/guide/getwet.html , use of x.x.x for both the Apache and mod_perl version numbers made me think that the version numbers had to be matched. Maybe y.y.y should be used for one. Please get used

Re: Approaches to upgrading Apache but not mod_perl

2003-02-27 Thread Stas Bekman
odperl module built with a previous Apache version. ______ Stas BekmanJAm_pH --> Just Another mod_perl Hacker http://stason.org/ mod_perl Guide ---> http://perl.apache.org mailto:[EMAIL PROTECTED] http://use.perl.org http://apacheweek.com http://modperlbook.org http://apache.org http://ticketmaster.com

Re: [mp1] Help with Apache::MP3

2003-02-27 Thread Stas Bekman
blems __ Stas BekmanJAm_pH --> Just Another mod_perl Hacker http://stason.org/ mod_perl Guide ---> http://perl.apache.org mailto:[EMAIL PROTECTED] http://use.perl.org http://apacheweek.com http://modperlbook.org http:/

Re: Scripts and HTML docs in the same directory (+ modperl newbieexperiences)

2003-02-26 Thread Stas Bekman
:Registry Thanks to all mod_perl coders! Thanks for the comments. ______ Stas BekmanJAm_pH --> Just Another mod_perl Hacker http://stason.org/ mod_perl Guide ---> http://perl.apache.org mailto:[EMAIL PROTECTED] http://use.perl.or

Re: make errors with mod_perl-1.99_08 on aix 4.3.3

2003-02-26 Thread Stas Bekman
largefiles.h and the output of: % perl -MConfig -e 'print $Config{ccflags_uselargefiles}' __ Stas BekmanJAm_pH --> Just Another mod_perl Hacker http://stason.org/ mod_perl Guide ---> http://per

Re: Invalid command 'PerlCleanupHandler'

2003-02-26 Thread Stas Bekman
and it'll work. See: http://perl.apache.org/docs/2.0/user/install/install.html#Installing_mod_perl_from_Source You need the 'CVS Bleeding-Edge Version' section ______ Stas BekmanJAm_pH --> Just Ano

Re: perl 5.8.0/modperl 1.99/apache2/HPUX 11.00 config problem

2003-02-26 Thread Stas Bekman
f you still have problems you should try one of the resources listed here: http://perl.apache.org/docs/offsite/other.html#Perl ______ Stas BekmanJAm_pH --> Just Another mod_perl Hacker http://stason.org/ mod_perl Gui

Re: subrequest->run() doesn't send HTTP headers

2003-02-26 Thread Stas Bekman
/docs/1.0/api/ ______ Stas BekmanJAm_pH --> Just Another mod_perl Hacker http://stason.org/ mod_perl Guide ---> http://perl.apache.org mailto:[EMAIL PROTECTED] http://use.perl.org http://apacheweek.com http://modperlbook.org http://apache.org http://ticketmaster.com

Re: Help: Can't coerce GLOB to string...

2003-02-26 Thread Stas Bekman
Kurt George Gjerde wrote: On Wed, 26 Feb 2003, Stas Bekman wrote: use threads; use threads::shared; why do you need to load threads? Do you plan to spawn your own threads? No, they're not supposed to be there. ### TRANSFORM my $results; eval { $results = $stylesheet->transform($

Re: Help: Can't coerce GLOB to string...

2003-02-25 Thread Stas Bekman
[tid=APR::OS::Thread=SCALAR(0x1205be4)|reqno=1|errno=1] -- ______ Stas BekmanJAm_pH --> Just Another mod_perl Hacker http://stason.org/ mod_perl Guide ---> http://perl.apache.org mailto:[EMAIL PROTECTED] http://us

Re: [MP2] Apache::Reload date bug

2003-02-25 Thread Stas Bekman
Ron Savage wrote: On Tue, 25 Feb 2003 09:40:05 +1100, Stas Bekman wrote: And what your error_log says? Nothing is output to the error_log. Have you tried the current mod_perl cvs? __ Stas BekmanJAm_pH --> J

Re: Redirects: relative vs absolute

2003-02-24 Thread Stas Bekman
thod to do that: use Apache::URI (); my $absolute_uri = $r->construct_url(); ______ Stas BekmanJAm_pH --> Just Another mod_perl Hacker http://stason.org/ mod_perl Guide ---> http://perl.apache.org mailto:[EMAIL PROTECTE

Re: [MP2] Apache::Reload date bug

2003-02-24 Thread Stas Bekman
Ron Savage wrote: On Wed, 19 Feb 2003 10:04:02 +1100, Stas Bekman wrote: Ron Savage wrote: On Tue, 18 Feb 2003 12:56:38 +1100, Stas Bekman wrote: Hi Folks In endeavouring to reproduce this problem, I've encountered another: main.cgi: -><8- #!/usr/bin/perl use strict; use wa

Re: [mp2.0] Can't locate object method "push_handlers" via package"Apache::RequestRec"

2003-02-23 Thread Stas Bekman
dLookup.html though you will need to build the cvs version of mod_perl to get this functionality. ______ Stas BekmanJAm_pH --> Just Another mod_perl Hacker http://stason.org/ mod_perl Guide ---> http://perl.apac

<    1   2   3   4   5   6   7   8   9   10   >