diagnostic messages... (looking in the
normal webserver logs, or the ssl logs, as compared to the mod_perl
daemon's error logs)
On Sun, 19 May 2002, Per Einar Ellefsen wrote:
At 18:57 19.05.2002, Gregory Matthews wrote:
I added the below STDER statement and did NOT see the printout either
, perlmonks.org
or another Perl-related list at http://lists.perl.org/ which might be
related to your question.
--
Per Einar Ellefsen
[EMAIL PROTECTED]
Apache::DBI
--
Per Einar Ellefsen
[EMAIL PROTECTED]
shell.
This seems unrelated to Apache::DB. What is your 'cc'? There must be some
problem with time.h or the way your compiled interprets it. You might want
to ask an OS-specific mailing list about this.
--
Per Einar Ellefsen
[EMAIL PROTECTED]
handler which would do the URI
translation, running in /preview
Location /preview
PerlTransHandler My::Foo
/Location
then My::Foo maps the URI to a filename or something like that.
--
Per Einar Ellefsen
[EMAIL PROTECTED]
? The easiest would maybe be to do this:
@{$vars}{qw/xxx yyy zzz/} = qw/AAA BBB CCC/;
Or
$vars-{xxx} = 'AAA', etc
--
Per Einar Ellefsen
[EMAIL PROTECTED]
dev box... Other than that, we can't do much without a little
more information. Maybe you want to read the performance sections in the
guide..
--
Per Einar Ellefsen
[EMAIL PROTECTED]
/1.0/win32/index.html
--
Per Einar Ellefsen
[EMAIL PROTECTED]
-Mensagem original-
De: Per Einar Ellefsen [mailto:[EMAIL PROTECTED]]
Enviada em: sabado, 11 de maio de 2002 17:18
Para: Vitor
Cc: [EMAIL PROTECTED]
Assunto: Re: Windows mod_perl build
At 22:21 11.05.2002, Vitor wrote:
Hello,
I am searching for windows mod_perl compilations resources.
Any
At 21:43 01.05.2002, Alexander Solovey wrote:
Per Einar Ellefsen wrote:
Try to apply patch (attached) and then build using these options:
perl Makefile.PL APACHE_SRC=../apache_1.3.24/src USE_APACI=1 EVERYTHING=1
PERL_EXTRA_CFLAGS=-DUSEIMPORTLIB DO_HTTPD=1
APACI_ARGS='--enable-rule
, it doesn't
start with html/
--
Per Einar Ellefsen
[EMAIL PROTECTED]
it's possible to set up Apache so, that My::Site handles
/ and doesn't care about, let say, about /imgs?
Yes, you can do this:
return DECLINED if $r-uri =~ m|^/imgs|;
or something along those lines.
--
Per Einar Ellefsen
[EMAIL PROTECTED]
services hype, I don't really know,
but atleast this will get you going. Stable enough? you'll have to ask
someone else, but I think it should work well enough.
--
Per Einar Ellefsen
[EMAIL PROTECTED]
Have you tried inserting these into the respective Location sections? I'm
not sure, but I think PerlSetVars aren't merged into location-specific
configuration, so they might not actually be caught by Apache::AuthCookieDBI
--
Per Einar Ellefsen
[EMAIL PROTECTED]
REDIRECT
does not seen to be Apache::Constants.
mod_perl 2 doesn't have Apache::Constants. You should use:
use Apache::Const -compile = qw(... REDIRECT ..);
Good luck on porting it to mod_perl 2! once you get it to work, it would be
great if you could contribute it to the community!
--
Per Einar
run the perl-win32-bin-x.x.exe self-extracing archive.
This installation will provide you with precompiled Apache, Perl and
mod_perl, which only need to be moved around slightly to work.
--
Per Einar Ellefsen
[EMAIL PROTECTED]
have to pay for it with your time :) You won't
get free speed without good coding. Anyway, we're ready to help out with
any questions not answered in the Guide.
--
Per Einar Ellefsen
[EMAIL PROTECTED]
advice.
That should be my %params = $r-method eq 'POST' ? $r-content : $r-args;
(note the upper case).
Anyway, you probably want to look into Apache::Request, which is a mod_perl
replacement for CGI.pm (although without all the HTML generation features).
--
Per Einar Ellefsen
[EMAIL PROTECTED]
:
/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]
At 13:56 01.05.2002, Alexander Solovey wrote:
Per Einar Ellefsen wrote:
I have been trying to get mod_perl 1.26 to build on Cygwin. With no luck.
Has anyone else been successful in this?
Build options for mod_perl:
perl Makefile.PL APACHE_SRC=../apache_1.3.24/src DO_HTTPD=1 USE_APACI
Please send e-mail to the mod_perl list, not me :)
Furthermore, there is an Apache::ASP list, which should be contacted for
matters related to Apache::ASP.
Date: Wed, 1 May 2002 15:15:24 GMT
From: [EMAIL PROTECTED]
To: Per Einar Ellefsen [EMAIL PROTECTED]
Reply-To: [EMAIL PROTECTED]
User-Agent
, but it will not be easier to work with them than with mod_perl.
--
Per Einar Ellefsen
[EMAIL PROTECTED]
for 2.0 that was released not long ago (1.99)
is Apache 2 compatible. However, it hasn't stabilized yet. For the time
being you'd be better off using mod_perl 1.x with Apache 1.3.x, but that's
likely to change soon.
--
Per Einar Ellefsen
[EMAIL PROTECTED]
its limitations).
--
Per Einar Ellefsen
[EMAIL PROTECTED]
} or die not running under mod_perl!;
use Apache2 ();
use Apache::compat ();
use Carp ();
use CGI ();
CGI-compile(':all');
CGI-compile(':standard');
use CGI::Carp;
use Apache::AgentAuthCookie;
1;
--
Per Einar Ellefsen
[EMAIL PROTECTED]
, what you're looking for then is a simple templating module, you
should look at Perrin Harkins' tutorial:
http://perl.apache.org/preview/modperl-docs/dst_html/docs/2.0/world/templates/choosing.html
.
--
Per Einar Ellefsen
[EMAIL PROTECTED]
/troubleshooting.html#Callback_called_exit
--
Per Einar Ellefsen
[EMAIL PROTECTED]
of thing RDMSes excel at.
Just some tips.
--
Per Einar Ellefsen
[EMAIL PROTECTED]
.
If Apache::Util doesn't work correctly, you probably want to try
URI::Escape instead, and see if that works for you. While it's in Perl, it
works, and the performance hit shouldn't be too big (there are worse things
that URI-escaping to worry about).
--
Per Einar Ellefsen
[EMAIL PROTECTED]
, but I don't know if this is
supposed to work or not.
--
Per Einar Ellefsen
[EMAIL PROTECTED]
`Apache::Echo'
[Thu Apr 25 15:32:15 2002] [error] Bareword Apache::OK not allowed while
strict subs in use at C:\Apache2/blib/lib/Apache2/Apache/Echo.pm line 25.
Compilation failed in require at (eval 2) line 3.
What do I miss?
--
Per Einar Ellefsen
[EMAIL PROTECTED]
At 22:04 25.04.2002, Per Einar Ellefsen wrote:
At 21:39 25.04.2002, Lihn, Steve wrote:
Hi,
I am testing the Apache::Echo connection handler for Apache2 and mod_perl 2.
But encounter the following error:
[Thu Apr 25 15:32:15 2002] [error] failed to resolve handler `Apache::Echo'
[Thu Apr 25 15:32
-wide settings (see recent thread about the same issue).
Putting the PerlSetVar's outside the Location section should fix your
problem.
Actually, if you look at the example in AuthCookieDBI, it's like that. But
it doesn't state any warnings about this.
Hope this can help.
--
Per Einar
At 04:11 26.04.2002, Stas Bekman wrote:
Per Einar Ellefsen wrote:
At 22:04 25.04.2002, Per Einar Ellefsen wrote:
At 21:39 25.04.2002, Lihn, Steve wrote:
Hi,
I am testing the Apache::Echo connection handler for Apache2 and
mod_perl 2.
But encounter the following error:
[Thu Apr 25 15:32:15
) is 250. So it's what people will
usually keep if they don't know about it. Maybe a note in the docs?
--
Per Einar Ellefsen
[EMAIL PROTECTED]
it wasn't all just a dream...
Must have been :) Apache::Constants doesn't mention anything about FORWARD,
neither does httpd.h. There is DOCUMENT_FOLLOWS, but that's got nothing to
do with it.
What do you mean by forwarding anyway? Like redirect?
--
Per Einar Ellefsen
[EMAIL PROTECTED]
guy rather that an apache handler/C language
type.
What he meant is that the test scripts in t/ contain many examples of
mod_perl 2.0 configuration and use. Look at the *.pm files which show
various handlers being used. That should give you an idea of what to do.
--
Per Einar Ellefsen
[EMAIL
of numeric 403).
Moral of the story: don't use = with Apache::Constants!
Or you can use FORBIDDEN or FORBIDDEN() or +FORBIDDEN, which are another
fix if you want to continue using =.
--
Per Einar Ellefsen
[EMAIL PROTECTED]
?
--
Per Einar Ellefsen
[EMAIL PROTECTED]
At 19:51 23.04.2002, Perrin Harkins wrote:
Per Einar Ellefsen wrote:
Well, this one is exported by Apache::Constants, so if you don't want to do
$FORBIDDEN = FORBIDDEN;
somewhere at the top of your code, you're bound to continue using
constants, right?
That's still safer. I used the constants
At 22:04 23.04.2002, Perrin Harkins wrote:
Per Einar Ellefsen wrote:
I suppose Apache::Constants could have been extended to return globals if
requested... But is there really any gain in that?
Only in that people will not get tripped up by the possible bugs that
using subroutines as constants
application toolkits :)
I was wondering if anyone knows of any products like this. Just come on
with URLs and I'll check them out. Send them either directly to me or to
the docs-dev list, and I'll review them quickly.
Thank you for your time.
--
Per Einar Ellefsen
[EMAIL PROTECTED]
or Directory block). try
Apache-request-dir_config('BlaTest');
instead. you should use $s-dir_config() for items set on a per-server
basis only, not per-directory.
As far as I understand him, you can use Apache-request inside the
startup.pl script (try it!)
--
Per Einar Ellefsen
[EMAIL
the Apache 2.0 conf file.
The Apache module doesn't use the resgistry at all, does it? David, I think
you should read up on what Apache::Registry does :) It compiles CGI scripts
to run them under mod_perl, it has nothing to do with the Windows Registry :)
--
Per Einar Ellefsen
[EMAIL PROTECTED]
, try inserting
PerlModule Apache2
before any other Perl* directives.
--
Per Einar Ellefsen
[EMAIL PROTECTED]
.
This isn't all too different from standard mod_perl setups, but you have to
watch out even more when running on Windows. You might even want to try and
setup several backend mod_perl servers and load balance between them, all
depending on how much memory you can spare.
--
Per Einar Ellefsen
is that you take a look at PerlEx from ActiveState. For
Windows, it might be a better choice, although it costs a little money.
--
Per Einar Ellefsen
[EMAIL PROTECTED]
into some module reloading mechanism such as Apache::StatINC. See the
Guide ( http://perl.apache.org/guide/ ):
http://thingy.kcilink.com/modperlguide/porting/Using_Apache_StatINC_for_the_De.html
--
Per Einar Ellefsen
[EMAIL PROTECTED]
section.
Guide: http://perl.apache.org/guide/
Installation: http://perl.apache.org/guide/install.html
You probably forgot some part of the process. You should re-do it step by
step or see if you forgot something obvious.
--
Per Einar Ellefsen
[EMAIL PROTECTED]
.
There you go, RTFM :)
I wouldn't be too worried about any performance hits from /server-status:
this shouldn't be used too often, only by you or the other developers, so
do you really think it's a problem?
--
Per Einar Ellefsen
[EMAIL PROTECTED]
running those modules with a
proxy serving the requests.. See the Guide for tips (
http://perl.apache.org/guide/ ).
But it's good news you have mod_perl working Ok.
--
Per Einar Ellefsen
[EMAIL PROTECTED]
it and how it's done. It might seem weird at first, but I can assure you
it's a great technique.
--
Per Einar Ellefsen
[EMAIL PROTECTED]
, but it may be all you need in this case.
- Perrin
__
Do You Yahoo!?
Yahoo! Greetings - send holiday greetings for Easter, Passover
http://greetings.yahoo.com/
--
Per Einar Ellefsen
[EMAIL PROTECTED]
browser, or something?
Maybe you should check your error log, if something's wrong it might have
an indication.
--
Per Einar Ellefsen
[EMAIL PROTECTED]
- coverage of the 74th Academy Awards®
http://movies.yahoo.com/
--
Per Einar Ellefsen
[EMAIL PROTECTED]
here to
be misled...
Yes, sorry, I didn't want to make it appear like you had to use the
Apache:: namespace. In the Cookbook for example they use the Cookbook::
namespace, and you could just as well use Jeff::.
--
Per Einar Ellefsen
[EMAIL PROTECTED]
the constants like OK, DECLINED, etc... You can also specify
them explicitly:
use Apache::Constants qw(OK DECLINED);
I hope this helps you out.
--
Per Einar Ellefsen
[EMAIL PROTECTED]
get the 0 from static files, or anything which
sends a Content-Length header. Look more into the raw transmitted data, and
you might find out something.
--
Per Einar Ellefsen
[EMAIL PROTECTED]
ways to keep
session, but most go with atleast a cookie to keep the session ID, and then
keeps all the information in a database or other storage method. Of course,
the session ID can be passed along in whatever way you want, through the
query string, or as a hidden form value.
--
Per Einar
::config{$conf};
my %hash = %$hashref;
Again, see perllol, it'll give you insight into this matter.
--
Per Einar Ellefsen
[EMAIL PROTECTED]
At 19:53 14.03.2002 +0100, Per Einar Ellefsen wrote:
Again, see perllol, it'll give you insight into this matter.
Oops, like Garth pointed out, this is supposed to be perldsc, and not
perllol (which gives a description of arrays of arrays, which work in a
similar way).
--
Per Einar Ellefsen
at the beginning and a Per
Finar Ellefsen
That's Per Einar :)
I think this module is a great idea. You should get it on CPAN as soon as
possible.
--
Per Einar Ellefsen
[EMAIL PROTECTED]
are indeed separate.
--
Per Einar Ellefsen
[EMAIL PROTECTED]
:
$module = File::Spec-catfile(split /::/, $module);
That'll be portable.
--
Per Einar Ellefsen
[EMAIL PROTECTED]
::AuthenSmb
in your httpd.conf, before the PerlAuthenHandler directive,
or
use Apache::AuthenSmb;
in your startup.pl file.
--
Per Einar Ellefsen
[EMAIL PROTECTED]
/steven/perl/ also has some good
information (see XS Mechanics).
XS is not vital to program Perl, it's mainly for linking in external X
libraries (like XML::LibXML does), and to implement some functions in C for
them to be faster.
--
Per Einar Ellefsen
[EMAIL PROTECTED]
/libapreq.ppd; to get it.
--
Per Einar Ellefsen
[EMAIL PROTECTED]
is:
# the name of the file isn't important. .ht* files are blocked by apache
though, os it's safest to use that.
AuthGroupFile /path/to/.htgroup
require group group1 group2
Then, in .htgroup:
group1: User1 User2 User3
group2: User4 User1
These users being defined in your .htpasswd file.
--
Per
.
Apache::Test also seems like it's a well-hidden secret.
Anyway, thanks for the reply, it helped me a lot.
I'll submit an RFC for OpenTMS shortly.
--
Per Einar Ellefsen
[EMAIL PROTECTED]
need a
PAUSE ID, PEREINAR would be good.
I guess that's all. Thanks for your time,
--
Per Einar Ellefsen
[EMAIL PROTECTED]
documentation concerning
the packaging of complete applications, instead of just Apache:: modules.
If I have the time, I might write an addition to the guide/a separate
document based on what I find out here.
Thank you in advance,
--
Per Einar Ellefsen
[EMAIL PROTECTED]
the same interface as CGI::Cookie, except that
it requires you to pass it the request record too. It comes with the
Apache::Request distribution, and is documented through `perldoc
Apache::Cookie`.
Per Einar Ellefsen
modules in starup.pl or with PerlModule
in httpd.conf, they'll stay shared in memory, thus reducing the memory
overhead.
Per Einar Ellefsen
is an instance of
Apache::Cookie). When you're just sending $cookie you're sending an object
reference.
Per Einar Ellefsen
[EMAIL PROTECTED]
- Original Message -
From: Geoffrey Young [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Wednesday, June 06, 2001 3:41 PM
Subject: [DIGEST] mod_perl digest 2001/06/02
--
mod_perl digest
gladly give you any pointers to a good regular expression
tutorial, but I don't have any. I am sure that if you search around a little
(perl.com or the apache documentation would seem like a good place to
start), you can easily find some nice information.
Per Einar Ellefsen
[EMAIL PROTECTED]
knows about this, please tell me.
Please note that I'm not looking for something a la Slashdot, this is too
big for me, and not exactly the style I'm looking for.
Thanks,
Per Einar Ellefsen
[EMAIL PROTECTED]
- Original Message -
From: "Dave Hodgkinson" [EMAIL PROTECTED]
To: "Per Einar" [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Sent: Saturday, April 21, 2001 11:20 PM
Subject: Re: Web forum engine
mwforum, and a Template Toolkit version may well be in the
as
looking for a mod_perl one because I am more familiar with Perl and mod_perl
than anything else.
Per Einar Ellefsen
[EMAIL PROTECTED]
in my case?
Per Einar Ellefsen
[EMAIL PROTECTED]
- Original Message -
From: "G.W. Haywood" [EMAIL PROTECTED]
To: "Per Einar" [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Sent: Sunday, April 08, 2001 10:27 AM
Subject: Re: Sendmail or not?
Hi there,
On Sun, 8 Apr 2001, Per Einar wrote:
What I have understood is
- Original Message -
From: "Sean Chittenden" [EMAIL PROTECTED]
To: "Per Einar" [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Sent: Sunday, April 08, 2001 11:42 AM
Subject: Re: Sendmail or not?
if you | to sendmail, then you still fork. Mail::Sendmail, I
bet dime to dol
receiving the e-mail
pretty long.
I don't know anything about named pipes, but isn't it possible to write to
some sort of intermediate file that is monitored by a daemon process which
then sends it off to sendmail?
Per Einar Ellefsen
[EMAIL PROTECTED]
- Original Message -
From: "barries" [EMAIL PROTECTED]
To: "Per Einar" [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Sent: Sunday, April 08, 2001 4:24 PM
Subject: Re: Sendmail or not?
On Sun, Apr 08, 2001 at 12:07:01PM +0200, Per Einar wrote:
What I was suggesting
101 - 184 of 184 matches
Mail list logo