Re: The best place for mod_perl beginners to get started.

2003-01-15 Thread Per Einar Ellefsen
ge it, and add the Slash book, but I haven't had much time. Sorry. If anyone else can do it, great; if not, I'll get to it when I get more time. -- Per Einar Ellefsen [EMAIL PROTECTED]

Re: [RFC] Apache::LDAP

2002-12-01 Thread Per Einar Ellefsen
Hi James, At 02:32 02.12.2002, James G Smith wrote: ( Actually, the name is chosen to `rhyme' with Apache::DBI. There are no dependencies on Apache or mod_perl. ) If there is no link with Apache::DBI, I suggest that you choose a more appropriate namespace, like Persistent::LDAP -

Re: Outdated link at http://perl.apache.org/products/products.html

2002-11-26 Thread Per Einar Ellefsen
t has been corrected. -- Per Einar Ellefsen [EMAIL PROTECTED]

Re: References for modperl usage in financial institutions?

2002-11-21 Thread Per Einar Ellefsen
I would also rename 'Technologies Extraordinare' link to something like 'Who is using modperl' but that is different story... Any suggestions can be made to docs-dev. -- Per Einar Ellefsen [EMAIL PROTECTED]

Re: Getting the server to parse files after the handler has done its work...

2002-11-07 Thread Per Einar Ellefsen
the mod_include functionality. This is described at the link below Per Einar Ellefsen wrote: Hello Simran, At 00:50 07.11.2002, simran wrote: I have the following scenario: * A Perl Handler i have written does a bit of work and outputs HTML * The HTML it outputs contains HTML like:

Re: Trouble using mod_perl and IE5.x, IE6.x

2002-11-07 Thread Per Einar Ellefsen
ms like it), you have hit a known problem with IE described with a solution here: http://perl.apache.org/docs/tutorials/client/browserbugs/browserbugs.html#Internet_Explorer_disregards_your_ErrorDocuments -- Per Einar Ellefsen [EMAIL PROTECTED]

Re: Getting the server to parse files after the handler has done its work...

2002-11-06 Thread Per Einar Ellefsen
Does anyone know what i have to do for the above to work. You want Apache::OutputChain or Apache::Filter together with an SSI module. See http://perl.apache.org/docs/1.0/guide/modules.html#Apache__OutputChainChain_Stacked_Perl_Handlers and the paragraph below that for Apache::Filter. -- Per

Re: conditional get

2002-10-28 Thread Per Einar Ellefsen
rrect_headers.html This is because it is illustrating handlers, even though it doesn't always display the whole handler subroutine. -- Per Einar Ellefsen [EMAIL PROTECTED]

Re: Apache::Clean, Apache::Compress, mod_gzip/deflate, cross site scripting and more.

2002-10-27 Thread Per Einar Ellefsen
send it to me. -- Per Einar Ellefsen [EMAIL PROTECTED]

RE: Making a module-It can't be this hard.

2002-10-25 Thread Per Einar Ellefsen
m and some solutions here: http://perl.apache.org/docs/1.0/guide/porting.html#Name_collisions_with_Modu les_and_libs The basic fix is to give your modules unique package names. See the perlmod man page for more on package names. -- Per Einar Ellefsen [EMAIL PROTECTED]

Re: Thoughts on Mason?

2002-10-24 Thread Per Einar Ellefsen
e.org/docs/tutorials/tmpl/comparison/comparison.html -- Per Einar Ellefsen [EMAIL PROTECTED]

Re: evil scripts kill the server...

2002-10-16 Thread Per Einar Ellefsen
user/multiuser.html But just throwing an error (because of some unexpected condition, for example), won't kill the whole server. -- Per Einar Ellefsen [EMAIL PROTECTED]

Re: Can I parse content that has been returned to user by simple cgi script?

2002-10-16 Thread Per Einar Ellefsen
o be a direct equivalent to mod_cgi so that "dirty scripts" can run. Anyway, the Guide is always here to help. See especially http://perl.apache.org/docs/1.0/guide/porting.html , although a lot of this is for Apache::Registry, which you might want to move on to later. -- Per Einar Ellefsen [EMAIL PROTECTED]

Re: mod_perl Guide Patch

2002-10-16 Thread Per Einar Ellefsen
e example, you should see what I mean. Sure, I understand what you mean now. I'll consider it for inclusion. Thank you for your contribution. -- Per Einar Ellefsen [EMAIL PROTECTED]

Re: posts headers and so on.

2002-10-16 Thread Per Einar Ellefsen
er doesn't mention "modperl * " , making it hard to filter >these emails. Use a filter that checks To: and Cc: for the presence of [EMAIL PROTECTED] (which is btw the correct address), and filter based on that. -- Per Einar Ellefsen [EMAIL PROTECTED]

mod_perl history

2002-10-15 Thread Per Einar Ellefsen
new major releases of Perl or Apache, or the items listed in the "META" list, to name a few examples. As well as 2.0 information, of course. Your faithful historian, -- Per Einar Ellefsen [EMAIL PROTECTED]

Re: mod_perl Guide Patch

2002-10-15 Thread Per Einar Ellefsen
lled in by the header". I understand your example, but not its relation to the section you refer to. Could you give a code example or some more information? -- Per Einar Ellefsen [EMAIL PROTECTED]

Re: Does Apache::NavBar exist ?

2002-10-14 Thread Per Einar Ellefsen
. Does it exist ? Hi Paul, Weird, it doesn't show up on search.cpan.org, but it seems to be on CPAN still: http://www.cpan.org/authors/id/B/BA/BARRACODE/ Otherwise you can find a copy here: http://modperl.com:9000/book/source/apachemod-code-1.02/lib/Apache/ -- Per Einar Ellefsen [EMAIL PROTECTED]

[ANNOUNCE] New naming conventions for modules

2002-10-08 Thread Per Einar Ellefsen
agree was important. -- Per Einar Ellefsen [EMAIL PROTECTED]

Re: different versions of one .pm in mod_perl

2002-10-07 Thread Per Einar Ellefsen
0/guide/porting.html#Name_collisions_with_Modules_and_libs -- Per Einar Ellefsen [EMAIL PROTECTED]

Re: Apache::Constants in startup.pl

2002-10-06 Thread Per Einar Ellefsen
; Yes, but it would be Apache::Constants::OK instead. -- Per Einar Ellefsen [EMAIL PROTECTED]

Re: Apache::Constants in startup.pl

2002-10-06 Thread Per Einar Ellefsen
#x27;OK' isn't defined. In mod_perl 2, the constants are loaded into the Apache:: namespace instead, so your trick would work. But does it really cost you that much to have that small line at the top of your handler code? There are worse things :) -- Per Einar Ellefsen [EMAIL PROTECTED]

Re: Graphics and mod_perl

2002-10-02 Thread Per Einar Ellefsen
src="/graphics/file.jpg". Note the first slash which says to the browser "Begin at the root of this site and fetch the following URI". Ok? -- Per Einar Ellefsen [EMAIL PROTECTED]

Re: passing an object to a handler

2002-10-02 Thread Per Einar Ellefsen
At 21:30 02.10.2002, william ross wrote: >On Wednesday, October 2, 2002, at 08:18 PM, Per Einar Ellefsen wrote: > >>At 20:47 02.10.2002, william ross wrote: >>>but I can't find anything to tell me how to do it. I feel sure I'm >>>missing something rea

Re: passing an object to a handler

2002-10-02 Thread Per Einar Ellefsen
ow to do it. I feel sure I'm missing >something really obvious here? You can configure objects instead of using static class names. See the doc: http://perl.apache.org/docs/1.0/guide/method_handlers.html -- Per Einar Ellefsen [EMAIL PROTECTED]

Re: cookies and IE

2002-10-02 Thread Per Einar Ellefsen
-expires option, AFAIK. So if using your idea, the "literal" string might be misinterpreted. Also, don't forget that you have +1d and -1d as another possibility. I think the +/- makes sense. It's just one character :) -- Per Einar Ellefsen [EMAIL PROTECTED]

Re: cookies and IE

2002-10-02 Thread Per Einar Ellefsen
eemed >to work. > >Anyway, if this is such a common question, who do you talk to to get it >stuck in the perl.apache.org page about cookies? :) Send some paragraphs detailing this to me (preferably in POD), and it'll be added to the site. -- Per Einar Ellefsen [EMAIL PROTECTED]

Re: FW: ezmlm response

2002-09-12 Thread Per Einar Ellefsen
for normal subscr. > >That's a typo then; it should be >[EMAIL PROTECTED] to subscribe to the digest. Thanks for the catch, corrected now. -- Per Einar Ellefsen [EMAIL PROTECTED]

Re: $r->push_handlers('PerlAuthenHandler', 'Some::handler') doesn'twork

2002-09-01 Thread Per Einar Ellefsen
which is accessed through $r->requires btw, see the Eagle or the cookbook). -- Per Einar Ellefsen [EMAIL PROTECTED]

Re: Authentication Question

2002-08-28 Thread Per Einar Ellefsen
Please do not send replies directly to me, Cc the list. At 13:40 28.08.2002, Brett Hales wrote: >On Wed, 2002-08-28 at 17:47, Per Einar Ellefsen wrote: > > At 09:55 28.08.2002, Brett Hales wrote: > > >I have a mod_perl cgi script that I would like to get the username from >

Re: Authentication Question

2002-08-28 Thread Per Einar Ellefsen
m apache into a >variable in the perl script. It's $ENV{REMOTE_USER} or $r->user -- Per Einar Ellefsen [EMAIL PROTECTED]

Re: SSI and mod_perl

2002-08-27 Thread Per Einar Ellefsen
.org/docs/1.0/guide/modules.html#Apache__Filter___Alter_the_output_of_previous_handlers . Both provide approximately the same functionality. -- Per Einar Ellefsen [EMAIL PROTECTED]

Re: Change in module naming conventions

2002-08-27 Thread Per Einar Ellefsen
At 20:14 27.08.2002, James G Smith wrote: >Per Einar Ellefsen <[EMAIL PROTECTED]> wrote: > >What I came to was this: > >http://users.skynet.be/pereinar/mod-perl/modules.txt > >Looks good, overall. > >I like the Apache::Framework:: namespace :) same; just s

Re: Flaky behavior with modperl module

2002-08-27 Thread Per Einar Ellefsen
ory they reside in is configured to be served through CGI or Apache::Registry. Can you fetch the images with a direct URL? Are you sure the URLs are even correct? Have you checked your error log? -- Per Einar Ellefsen [EMAIL PROTECTED]

Re: Change in module naming conventions

2002-08-27 Thread Per Einar Ellefsen
At 18:59 27.08.2002, David Wheeler wrote: >On Tuesday, August 27, 2002, at 09:46 AM, Per Einar Ellefsen wrote: > >>It's actually Apache::Persistent, because the persistence modules in it >>have big differences from the Apache::Util modules. > >Oh. So what'

Re: Change in module naming conventions

2002-08-27 Thread Per Einar Ellefsen
At 18:38 27.08.2002, David Wheeler wrote: >On Tuesday, August 27, 2002, at 09:29 AM, Per Einar Ellefsen wrote: > >>- I created the Apache::Util:: namespace. However, one person thought the >>Persistent:: namespace to be too specific, and would prefer to rename >>Apa

Change in module naming conventions

2002-08-27 Thread Per Einar Ellefsen
s. What do people think? -- Per Einar Ellefsen [EMAIL PROTECTED]

Re: large projects in mod_perl

2002-08-27 Thread Per Einar Ellefsen
en o http://mathforum.org/epigone/modperl/drurflerdplald -- Per Einar Ellefsen [EMAIL PROTECTED]

Re: Nearing banner submission deadline

2002-07-03 Thread Per Einar Ellefsen
At 16:03 02.07.2002, you wrote: >On Tue, 2 Jul 2002, Per Einar Ellefsen wrote: > > > Banners are now online!! > > > > We received banners from 3 persons, and they will all represent > mod_perl :) > > However, if you have any new ideas and a little time, you are

Re: Nearing banner submission deadline

2002-07-02 Thread Per Einar Ellefsen
/about/link/linktous.html At 23:01 28.06.2002, Per Einar Ellefsen wrote: >Hi, > >As I said in my previous post, we are looking for mod_perl banners. We >asked that you send in submissions before July 1st. However, we have only >received 2 entries. > >If anyone has any graphic

[ANNOUNCE] New mod_perl site Release Candidate 1

2002-07-02 Thread Per Einar Ellefsen
and what doesn't. Please be as precise as possible to help us find out the problem and fix it. Furthermore, if you know hot to fix the problem, we will appreciate that. When the new site goes live? If there will be no major bugs hopefully in about 1-2 weeks. -- Per Einar Ellefsen [EMAIL PROTECTED]

Re: Mod_Perl Compilation with HPUX Native CC

2002-07-02 Thread Per Einar Ellefsen
uot;. I don't know if mod_perl will compile with HP-UX cc, but if you want to try, you must first of all have a perl binary compiled with cc. Then mod_perl should pick that automatically. -- Per Einar Ellefsen [EMAIL PROTECTED]

Re: Trouble making mod_perl

2002-06-30 Thread Per Einar Ellefsen
At 13:06 30.06.2002, Eric wrote: >Greetings! > >I've downloaded mod-perl-1.99_02 and am having trouble getting it to make. What Apache version are you using? 1.99_02 is pretty old, you should get 1.99_04 to work with the latest Apache. -- Per Einar Ellefsen [EMAIL PROTECTED]

Re: FW: mod_perl_make error

2002-06-29 Thread Per Einar Ellefsen
der/DynaLoader.a > -L/opt/perl5/lib/5.6.1/PA-RISC2.0-thread/CORE -lperl -lcl -lpthread -lnsl > -lnm -ldld -lm -lc -lsec > >ld: Unknown input file type: "regex/libregex.a" >Fatal error. >*** Error exit code 1 This seems related to Apache and not mod_perl. You should ask

Re: What gives with $m->time in 1.10?

2002-06-29 Thread Per Einar Ellefsen
ought were going to be good reasons (ability to test >date-dependent stuff through the preview interface). This is Mason, right? You'll have better luck with your questions if you go to a Mason-list. See http://www.masonhq.com/resources/mailing_lists.html -- Per Einar Ellefsen [EMAIL PROTECTED]

Re: Like-named perl modules in separate directories

2002-06-26 Thread Per Einar Ellefsen
e/porting.html#Name_collisions_with_Modules_and_libs You should read the whole mod_perl guide. You'll be out of questions afterwards :) -- Per Einar Ellefsen [EMAIL PROTECTED]

Re: ANNOUNCE: Embperl 2.0b8

2002-06-25 Thread Per Einar Ellefsen
output through Embperl, I'm sorry for > > this useless post :( > > > >Questions are never useless, this one for example gives me the chance to >show one of the new feature of Embperl 2 :-) :-) But I'm still sorry for not checking up enough. -- Per Einar Ellefsen [EMAIL PROTECTED]

Re: ANNOUNCE: Embperl 2.0b8

2002-06-25 Thread Per Einar Ellefsen
mbperl, I'm sorry for this useless post :( -- Per Einar Ellefsen [EMAIL PROTECTED]

Re: Is mod_perl the right solution for my GUI dev?

2002-06-25 Thread Per Einar Ellefsen
eed GD to do the job, you should probably be looking at a standard GUI instead. This needn't be done in Java or VC++, you could use any programming language with a windowing library, like Perl with Tk (or Gtk or Qt bindings, but I don't know much about any of those) or anything else. My answer: it depends :) -- Per Einar Ellefsen [EMAIL PROTECTED]

Re: Win32 Binarys

2002-06-25 Thread Per Einar Ellefsen
rl version. Build 522 is pretty outdated now. Newer binary versions of mod_perl won't install because they need ActivePerl 6xx. -- Per Einar Ellefsen [EMAIL PROTECTED]

Re: Apache:: module organization and getting it to work with PAUSE

2002-06-25 Thread Per Einar Ellefsen
"Module List Chapter" drop-down list (that currently contains >just the 24 existing section names) Yes, this would clearly be great. It's what I was hoping for. What do you think, Andreas? (assuming he gets this mail) >.-- Per Einar Ellefsen [EMAIL PROTECTED]

Re: Apache::DBI with mod_perl 2.0 (was Re: [ANNOUNCE] Apache::DBI 0.89)

2002-06-23 Thread Per Einar Ellefsen
At 00:49 23.06.2002, Charles Aulds wrote: >At 06:41 PM 6/21/02 +0200, Per Einar Ellefsen ([EMAIL PROTECTED]) wrote: > >>As Apache::DBI hasn't been tested with mod_perl 2.0 yet, you will need to: >>1) make sure you are using the prefork MPM for Apache (as Stas said, >

Re: [JOB] Crack OOP Perl whitebox tester wanted

2002-06-22 Thread Per Einar Ellefsen
ce for >an offer of employment which he is making then if it's legal, that's >the way it has to be and we don't need to discuss it here - especially >not at such length. I agree with you Ged; Job announcements are ok, any discussion is way OT. -- Per Einar Ellefsen [EMAIL PROTECTED]

Re: [OT] Re: Apache Web Server vulnerability

2002-06-21 Thread Per Einar Ellefsen
emote shell (not the DoS) exploit? I suggest bringing this up on the appropriate httpd lists instead. This thread has gone far enough IMO. -- Per Einar Ellefsen [EMAIL PROTECTED]

Re: Apache::DBI with mod_perl 2.0 (was Re: [ANNOUNCE] Apache::DBI 0.89)

2002-06-21 Thread Per Einar Ellefsen
At 19:46 21.06.2002, Stas Bekman wrote: >Per Einar Ellefsen wrote: >>At 18:26 21.06.2002, Zac Morris wrote: >> >>>I actually have a question along these lines >>> >>>I'm new to mod_perl myself, and I've just installed a new setup with

Re: Apache::DBI with mod_perl 2.0 (was Re: [ANNOUNCE] Apache::DBI 0.89)

2002-06-21 Thread Per Einar Ellefsen
pache::DBI can only work with that one) 2) You will probably need to run mod_perl 2.0 in compat mode: put PerlModule Apache::compat in your httpd.conf, before loading other modules (like Apache::DBI). You will probably also want to see the 2.0 docs at http://perl.apache.org/release/docs/ Good luck! -- Per Einar Ellefsen [EMAIL PROTECTED]

Re: Naming convention for Apache 2 modules.

2002-06-18 Thread Per Einar Ellefsen
to to >other module writers. Stas is right. The only problem I see with MP_INST_APACHE2 is the fact that using the CPAN.pm module to download the module would fetch the newest version of the module, regardless of whether you wanted the one for mod_perl 2.0 or mod_perl 1.0. -- Per Einar Ellefsen [EMAIL PROTECTED]

Re: [RFC] Change our habits in module naming?

2002-06-18 Thread Per Einar Ellefsen
t any help in this >direction. Andreas please correct me if I'm wrong. That's why I contacted [EMAIL PROTECTED] I feel too that this would belong in the Perl module listing (although that didn't appear clearly in my other e-mail), but my proposal to PAUSE was just there to allow module authors to do their classification. -- Per Einar Ellefsen [EMAIL PROTECTED]

Apache:: module organization and getting it to work with PAUSE

2002-06-18 Thread Per Einar Ellefsen
d_perl modules", which would then bring you to a second page where you choose your mod_perl category. Just tell me what you think. It would be interesting to get this working. -- Per Einar Ellefsen [EMAIL PROTECTED]

Re: Naming convention for Apache 2 modules.

2002-06-18 Thread Per Einar Ellefsen
han later. What about making the 2.0 module follow the conventions I posted about earlier? Something like Apache::Framework::Template? -- Per Einar Ellefsen [EMAIL PROTECTED]

Re: [RFC] Change our habits in module naming?

2002-06-16 Thread Per Einar Ellefsen
odules in each category. Maybe not worth it, but it could be useful >for newbies. Yes, I see your point, but my proposal was loosely tied to the categories already existing here: http://www.cpan.org/modules/00modlist.long.html#ID15_WorldWideW (browse down to 'Apache'), so the classification has been done already. -- Per Einar Ellefsen [EMAIL PROTECTED]

Re: [RFC] Change our habits in module naming?

2002-06-16 Thread Per Einar Ellefsen
the organization of the module list, I suppose that new modules that adapt these guidelines will be correctly organized into the Perl module list (because of their different namespaces). -- Per Einar Ellefsen [EMAIL PROTECTED]

RE: [RFC] Change our habits in module naming?

2002-06-16 Thread Per Einar Ellefsen
s in my initial proposal. As for mod_perl 2.0 many new possibilities exist, I think we'd need something like: Apache::Filter:: for native filters (and maybe split into Output/Input too?) Apache::Protocol:: for protocol modules.. And probably some more I suppose. Anyway, as I said, this is i

[RFC] Change our habits in module naming?

2002-06-16 Thread Per Einar Ellefsen
e. Most of all, once we decide on something, it is important that future modules begin using these conventions: it's the only way to get it adopted. -- Per Einar Ellefsen [EMAIL PROTECTED]

[1.27] Tests don't pass on Cygwin

2002-06-14 Thread Per Einar Ellefsen
useshrplib=true, libperl=libperl5_6_1.a Dynamic Linking: dlsrc=dl_dlopen.xs, dlext=dll, d_dlsymun=undef, ccdlflags=' -s' cccdlflags=' ', lddlflags=' -s -L/usr/local/lib' Characteristics of this binary (from libperl): Compile-time options: MULTIPLICITY USE_LARGE_FILES PERL_IMPLICIT_CONTEXT Built under cygwin Compiled at Aug 22 2001 01:05:05 @INC: /usr/lib/perl5/5.6.1/cygwin-multi /usr/lib/perl5/5.6.1 /usr/lib/perl5/site_perl/5.6.1/cygwin-multi /usr/lib/perl5/site_perl/5.6.1 /usr/lib/perl5/site_perl . -- Per Einar Ellefsen [EMAIL PROTECTED]

Re: Mapping to location "/"

2002-06-13 Thread Per Einar Ellefsen
At 16:04 13.06.2002, md wrote: >--- Per Einar Ellefsen <[EMAIL PROTECTED]> wrote: > > At 23:06 12.06.2002, md wrote: > > > I'm not quite sure about this, been wondering about > > it, but in theory you > > should be able to use > > DirectoryIndex

Re: header woes

2002-06-13 Thread Per Einar Ellefsen
POST request? Content-Type is usually in the *outgoing* headers... -- Per Einar Ellefsen [EMAIL PROTECTED]

Re: tutorials (was: Re: rfc Apache::Dynagzip)

2002-06-12 Thread Per Einar Ellefsen
strongly hope to make it much better with your help prior to submit for >publishing. Any comments will be highly appreciated. Looks great Slava! Seems to integrate the needed info. I guess those who know more about Gzip encoding can tell you more technically-wise, but as far as the general look it seems ok to me. -- Per Einar Ellefsen [EMAIL PROTECTED]

[OT] Re: Using Active Directory and mod_perl

2002-06-12 Thread Per Einar Ellefsen
/www.perl.com/pub/a/2001/12/19/xmlrpc.html or try something else... Anyway, this isn't the right list (except if you were looking for a mod_perl-specific module that is). -- Per Einar Ellefsen [EMAIL PROTECTED]

Re: Mapping to location "/"

2002-06-12 Thread Per Einar Ellefsen
my handler? I'm not quite clear >on this one...but it might be once I read the guide on >translation handlers :) I'm not quite sure about this, been wondering about it, but in theory you should be able to use DirectoryIndex index.phtml and like that you won't have to worry about "/" etc anymore. Try it out.. -- Per Einar Ellefsen [EMAIL PROTECTED]

Re: Mapping to location "/"

2002-06-12 Thread Per Einar Ellefsen
At 19:14 12.06.2002, Per Einar Ellefsen wrote: > Sorry, make that LocationMatch >... > And of course. -- Per Einar Ellefsen [EMAIL PROTECTED]

Re: Mapping to location "/"

2002-06-12 Thread Per Einar Ellefsen
lkit. Oh, so your .phtml things are really just TT templates? What about: ... complete the regex with what you want. -- Per Einar Ellefsen [EMAIL PROTECTED]

Re: Mapping to location "/"

2002-06-12 Thread Per Einar Ellefsen
#x27;.'s. ># We'll check the later two case for a template and >then ># decline it if no template is found. >unless ($uri =~ /\.phtml$/ or > $uri =~ m!/$! or > $uri =~ m!.*/[^\.]+$!) { > return DECLINED; >} > >Is this the best way to do this? -- Per Einar Ellefsen [EMAIL PROTECTED]

Re: mod_perl/passing session information (MVC related, maybe...)

2002-06-12 Thread Per Einar Ellefsen
window, but with different parameters? The session ID would be the same, the context id would be the same, but the params would be different, right? -- Per Einar Ellefsen [EMAIL PROTECTED]

Re: Porting to mod_perl and cookies are breaking. Why?

2002-06-10 Thread Per Einar Ellefsen
I'd like to keep my code as flexible & compatible as possible >so it will run under both standard CGI & mod_perl, at least >while we work the kinks out of our mod_perl configuration. In that case, just keep your current code. You'll only have the use for the likes of Apach

Re: Porting to mod_perl and cookies are breaking. Why?

2002-06-09 Thread Per Einar Ellefsen
eally be using CGI.pm, CGI::Cookie or Apache::Cookie for your cookie needs. -- Per Einar Ellefsen [EMAIL PROTECTED]

Re: tutorials (was: Re: rfc Apache::Dynagzip)

2002-06-06 Thread Per Einar Ellefsen
At 03:37 06.06.2002, Slava Bizyayev wrote: >It's going to be something like "Features of Content Compression for >Different Web Clients" for Part IV: Client side facts and bugs. We'll be >able to discuss details next week. Ok, great Slava, thanks a lot! -- Per Einar Ellefsen [EMAIL PROTECTED]

Re: rfc Apache::Dynagzip

2002-06-05 Thread Per Einar Ellefsen
http://cvs.apache.org/viewcvs.cgi/modperl-docs/admin/style.pod?rev=1.8&content-type=text/vnd.viewcvs-markup for style information, but don't worry too much about that, we'll fix that as we go. -- Per Einar Ellefsen [EMAIL PROTECTED]

Re: Re: Apache->server_root_relative(); not found

2002-06-04 Thread Per Einar Ellefsen
ss. Restart your server? "use lib" doesn't make any permanent changes to @INC, these only persist across the httpd mod_perl run. If you restart (with the correct code this time), it should be set to the correct value. -- Per Einar Ellefsen [EMAIL PROTECTED]

Re: Apache->server_root_relative(); not found

2002-06-03 Thread Per Einar Ellefsen
_root_relative('lib/perl'); } ? -- Per Einar Ellefsen [EMAIL PROTECTED]

Re: htaccess, rewrite and redirect help please

2002-06-03 Thread Per Einar Ellefsen
ge >requests go here:" Sorry, but this is specific to Apache, not to mod_perl. Look at Apache mailing lists or newsgroups for answers: http://httpd.apache.org/lists.html#http-users -- Per Einar Ellefsen [EMAIL PROTECTED]

Re: Problem: Internal redirection of ErrorDocument to mod_perl handler

2002-06-03 Thread Per Einar Ellefsen
as? > >You error response size should be more then 512 bytes: >http://support.microsoft.com/support/kb/articles/Q294/8/07.ASP I just added a note about this in the documentation, under docs/tutorials/browserbugs. I had encountered this error before, and it seems like a surprising enough pitfall to be documented. -- Per Einar Ellefsen [EMAIL PROTECTED]

RE: separating C from V in MVC

2002-06-01 Thread Per Einar Ellefsen
At 21:14 01.06.2002, Jeff wrote: > > From: Per Einar Ellefsen [mailto:[EMAIL PROTECTED]] > > Sent: 01 June 2002 18:10 > > To: Jeff > > > Well, as I see this, it isn't a problem. The layout manager takes > > the place of the view, as it essentially decides

RE: separating C from V in MVC

2002-06-01 Thread Per Einar Ellefsen
e view, as it essentially decides how things should be rendered. You then have two stages in your view, but the same techniques apply (as the 2nd stage of the view isn't really specific to any model or controller). -- Per Einar Ellefsen [EMAIL PROTECTED]

Re: Video On Demand Project

2002-06-01 Thread Per Einar Ellefsen
mailing list of newsgroup. There must be people who know more about these things. -- Per Einar Ellefsen [EMAIL PROTECTED]

Re: Apache::TicketAccess

2002-05-31 Thread Per Einar Ellefsen
At 21:50 31.05.2002, Arnold van Kampen wrote: >Hi > >Where did it go? The modules written for the Eagle book haven't been released to CPAN. They are available online. See http://modperl.com:9000/book/source/apachemod-code-1.02/lib/Apache/ -- Per Einar Ellefsen [EMAIL PROTECTED]

Re: mod_perl error

2002-05-31 Thread Per Einar Ellefsen
.org/release/docs/1.0/guide/porting.html#Name_collisions_with_Modules_and_libs You should read through that and find out how you can make your errors disappear and make your code more mod_perl friendly. -- Per Einar Ellefsen [EMAIL PROTECTED]

Re: PerlWarn/AxKit - insecure dependency

2002-05-29 Thread Per Einar Ellefsen
be taint safe. You might want to get them to change it (unlikely, it'd be a pretty long job :) or turn off PerlTaintCheck. -- Per Einar Ellefsen [EMAIL PROTECTED]

Re: dso

2002-05-29 Thread Per Einar Ellefsen
;using mod_perl as a dso? If you're having problems, it's often known to be the quick answer to try. If you're not having trouble, keep using DSO happily! -- Per Einar Ellefsen [EMAIL PROTECTED]

Re: mod-perl_2.0

2002-05-29 Thread Per Einar Ellefsen
* Inlined "Apache::*.xs" calls >" >But not sure how to use it. This isn't really related to your question.. Look through the documentation, but for the most part these optimizations happen without you noticing. -- Per Einar Ellefsen [EMAIL PROTECTED]

Re: Referencing Directives

2002-05-27 Thread Per Einar Ellefsen
, [ VariableName => "$DocumentRoot/subdir"]; Note that you need to set $DocumentRoot in a section as well. You might want to look at mod_macro too. -- Per Einar Ellefsen [EMAIL PROTECTED]

Need information from all contributors

2002-05-26 Thread Per Einar Ellefsen
made: documentation, code, modules... The list will look pretty much like the Apache one, so if you send me all the information people have at http://httpd.apache.org/contributors/ , that would make me happy :) -- Per Einar Ellefsen [EMAIL PROTECTED]

The Apache/Perl Module List listing modules which aren't on the CPAN?

2002-05-25 Thread Per Einar Ellefsen
7;t appear when using the CPAN search). So, should we: 1) Add these modules to the CPAN (they are after all pretty useful) 2) Remove them from the Apache/Perl module list ? On a side note, I was wondering if the Apache/Perl module list is complete? Are there some modules missing? -- Per Eina

Re: Strange subrequest dir_config issue

2002-05-24 Thread Per Einar Ellefsen
th a block that is). The solution as you said is using and for these rare cases. -- Per Einar Ellefsen [EMAIL PROTECTED]

Re: mod_perl benchmarking (was Re: documenting SetHandler perl-script|modperl)

2002-05-23 Thread Per Einar Ellefsen
users list. See the performance docs, http://perl.apache.org/release/docs/1.0/guide/performance.html And especially the section on Benchmarking applications: http://perl.apache.org/release/docs/1.0/guide/performance.html#Benchmarking_Applications -- Per Einar Ellefsen [EMAIL PROTECTED]

Re: Getting mod_perl to work under Win2k

2002-05-21 Thread Per Einar Ellefsen
g.ca/ppmpackages/mod_perl.ppd It should run an auto-install script at the end which puts mod_perl.so in the right location. -- Per Einar Ellefsen [EMAIL PROTECTED]

Re: Memory Leaks

2002-05-20 Thread Per Einar Ellefsen
es leaving much more idle time (in comparison to directly connecting >remote client to fileserver) for backend restarts if needed. In the case that you need advanced logic such as that, I clearly agree with both you and Allen. And a proxy server is very needed in such a case :) >Per Einar Ellefs

Re: Memory Leaks

2002-05-20 Thread Per Einar Ellefsen
can't cope with just a few seconds > > downtime. Most users won't even notice, save for some slight delay in > getting > > their request through. Users tend to be pretty used to trying again in this > > world of "reliable" computing. -- Per Einar Ellefsen [EMAIL PROTECTED]

Re: Memory Leaks

2002-05-20 Thread Per Einar Ellefsen
h memory >> leakage. >> > > > >If you want to know how to avoid memory growth, look at the >> performance >> > > > >tuning stuff in the Guide, like passing references, avoiding >> slurping of >> > > > >large files, controlling the buffering of DBI result sets, etc. >> > > > > >> > > > >Leaks are caused by circular references, the string form of eval (at >> > > > >least it used to leak a little), nested closures (sometimes created >> > > > >accidentally with the Error module), and one or two obscure syntax >> > > > >problems. I think one of them involved code like "my $x = 7 if $y;". >> > > > >Matt Sergeant got bitten by this in the early stages of AxKit >> > > > >development, and the details are in the mailing list archive. >> > > > > >> > > > >Global variables by themselves are not a source of leaks or >> growth. If >> > > > >you slurp a large file into a global, your process will grow, but the >> > > > >same is true for a lexical. >> > > > > >> > > > >- Perrin >> > > > >> > > > >> > > >> > >-- >> > >C Wayne Huling <[EMAIL PROTECTED]> >> > >> > >> >>-- >>C Wayne Huling <[EMAIL PROTECTED]> > > -- Per Einar Ellefsen [EMAIL PROTECTED]

Re: Monitoring the processes

2002-05-20 Thread Per Einar Ellefsen
decreased when the prog is being executed. As I >understand it, this is a good indication that there might be a problem. What about using top(1) on Unix systems? -- Per Einar Ellefsen [EMAIL PROTECTED]

  1   2   >