.
My only concern? If the Perl Cookbook gets any larger I might throw
out my back carrying it around :)
--
Paul Lindner[EMAIL PROTECTED] | | | | | | | | | |
mod_perl Developer's Cookbook http://www.modperlcookbook.org/
Human Rights Declaration http
http://httpd.apache.org/docs/misc/rewriteguide.html
Look at the examples that show how to combine a cookie with the URI and
you can use regexes to control which host is chosen.
Also check out mod_backhand (discussed on this list, check the archives)
http://www.backhand.org/
--
Paul Lindner
there.
Consult the strftime() man page for details on the interaction
between the environment variables and the time output.
Cheers,
Paul
--
Paul Lindner[EMAIL PROTECTED] | | | | | | | | | |
mod_perl Developer's Cookbook http://www.modperlcookbook.org/
Human Rights
The request took 305.710375070572 seconds
--
Paul Lindner[EMAIL PROTECTED] | | | | | | | | | |
mod_perl Developer's Cookbook http://www.modperlcookbook.org/
Human Rights Declaration http://www.unhchr.ch/udhr/
to do here? Which module, if any, is at fault?
Is there some combination of Perl Unicode-related use statements that will
help me here? Has anyone else run into this problem?
-John
--
Paul Lindner[EMAIL PROTECTED] | | | | | | | | | |
mod_perl Developer's Cookbook
On Tue, May 07, 2002 at 11:13:43AM -0400, John Siracusa wrote:
On 5/7/02 10:58 AM, Paul Lindner wrote:
The output from your example looks like UTF-8 data (Atilde; is a
commonly seen UTF-8 escape sequence). XML::Parser converts all
incoming text into UTF-8. You will need to convert
40233 duesseldorf
--
Paul Lindner[EMAIL PROTECTED] | | | | | | | | | |
mod_perl Developer's Cookbook http://www.modperlcookbook.org/
Human Rights Declaration http://www.unhchr.ch/udhr/
.
If all you need is simple RPC calls I find that XML-RPC provides a
much more straightforward environment. Even with my background in
http based rpc systems it took me a while to pick up on the
idiosyncrasies of SOAP.
--
Paul Lindner[EMAIL PROTECTED
Geoffrey and I tested our environments today and the recipe given in
the book seems to work just fine:
PerlModule Apache::DB
PerlModule Apache::DProf
--
Paul Lindner[EMAIL PROTECTED] | | | | | | | | | |
mod_perl Developer's Cookbook http://www.modperlcookbook.org
PROTECTED]
asap.
Thanks again!
--
Paul Lindner[EMAIL PROTECTED] | | | | | | | | | |
mod_perl Developer's Cookbook http://www.modperlcookbook.org/
Human Rights Declaration http://www.unhchr.ch/udhr/
.
--
Paul Lindner[EMAIL PROTECTED] | | | | | | | | | |
mod_perl Developer's Cookbook http://www.modperlcookbook.org/
Human Rights Declaration http://www.unhchr.ch/udhr/
is very, very cool.
Good Luck
--
Paul Lindner[EMAIL PROTECTED] | | | | | | | | | |
mod_perl Developer's Cookbook http://www.modperlcookbook.org/
Human Rights Declaration http://www.unhchr.ch/udhr/
framework
there in
as well look on freshmeat for
siege
it does testing too
--
Paul Lindner[EMAIL PROTECTED] | | | | | | | | | |
mod_perl Developer's Cookbook http://www.modperlcookbook.org/
Human Rights Declaration http://www.unhchr.ch/udhr/
DBD calls, that might involve
modifying some XS code, (or it might not)..
Propose a 'callback' interface on dbi-users, you'll probably get a
warm reception.
--
Paul Lindner[EMAIL PROTECTED] | | | | | | | | | |
mod_perl Developer's Cookbook http://www.modperlcookbook.org
block\n;
print $y;
warn Restored ok\n;
__END__
now capturing
captured text 'captured ok' shouldn't have appeard
capture didn't block
captured ok
Restored ok
--
Paul Lindner[EMAIL PROTECTED] | | | | | | | | | |
mod_perl Developer's Cookbook http
to your unix UID. This keeps
developers from using clashing port numbers.
httpd -c Port $UID -c Listen $UID
etc..
--
Paul Lindner[EMAIL PROTECTED] | | | | | | | | | |
mod_perl Developer's Cookbook http://www.modperlcookbook.org/
Human Rights Declaration http
to the
browser.
There are also PDF modules on CPAN if you're not into templates...
If fancy printing is not your thing, or you want full cross-platform
compatibility consider text/plain output.. You can even send that to
that 20 year old daisy wheel printer..
--
Paul Lindner[EMAIL PROTECTED
. The Frontier::RPC
package was last modified in 1999.
Check out RPC::XML. It is very well implemented, and includes
Net::Server/HTTP::Daemon based server code, and a full client
implementation. Highly recommended..
--
Paul Lindner[EMAIL PROTECTED
mod_perl 2.0 compatibility..
--
Paul Lindner[EMAIL PROTECTED] | | | | | | | | | |
mod_perl Developer's Cookbook http://www.modperlcookbook.org/
Human Rights Declaration http://www.unhchr.ch/udhr/index.htm
.
A simple
use sigtrap;
The default signal handler used in this module gives you a stack trace
before the core dump..
--
Paul Lindner[EMAIL PROTECTED] | | | | | | | | | |
mod_perl Developer's Cookbook http://www.modperlcookbook.org/
Human Rights Declaration http
the universal isa and can
methods while
you're debugging and trying stuff out. Good luck!
Wes Sheldahl
--
Paul Lindner[EMAIL PROTECTED] | | | | | | | | | |
mod_perl Developer's Cookbook http://www.modperlcookbook.org/
Human Rights Declaration http
this:
$r-notes('RPC_NAME', $cow);
$r-notes('RPC_ARGS', $moo);
$r-notes('RPC_RESULTS', $milk);
--
Paul Lindner[EMAIL PROTECTED] | | | | | | | | | |
mod_perl Developer's Cookbook http://www.modperlcookbook.org/
Human Rights Declaration http://www.unhchr.ch/udhr
I'm saying is that there's
a lot more to it than that, or Apple would be ruling the world.
73,
Ged.
--
Paul Lindner[EMAIL PROTECTED] | | | | | | | | | |
mod_perl Developer's Cookbook http://www.modperlcookbook.org/
Human Rights Declaration http
;);
# but on unauthorized requests, send to a local file
$r-custom_response(FORBIDDEN, /landlubber.html);
You'll have to do this for every request, because you're cannot change
the global config, only the child's localized configuration..
--
Paul Lindner[EMAIL PROTECTED
case a big THANK YOU to all... We wouldn't even be
having this discussion if it wasn't for this wonderful community.
--
Paul Lindner[EMAIL PROTECTED] | | | | | | | | | |
mod_perl Developer's Cookbook http://www.modperlcookbook.org
Human Rights Declaration http
consider funding
perl-related projects like mod_perl? Perhaps if we had a big name
(Ticketmaster?) we could get the ball rolling on such a thing..
--
Paul Lindner[EMAIL PROTECTED] | | | | | | | | | |
mod_perl Developer's Cookbook http://www.modperlcookbook.org
this module could be used further are most welcome.
--
Paul Lindner[EMAIL PROTECTED] | | | | | | | | | |
mod_perl Developer's Cookbook http://www.modperlcookbook.org
Human Rights Declaration http://www.unhchr.ch/udhr/index.htm
before processing it.
I've seen cases where people disguised scripting code with numeric
entities.. jav...;script etc...
--
Paul Lindner[EMAIL PROTECTED] | | | | | | | | | |
mod_perl Developer's Cookbook http://www.modperlcookbook.org
Human Rights Declaration
for banking I've seen is
from UBS. They send you a scratchlist of around 100 numbers. Every
time you login you use one of the numbers and cross it off. Very
slick.
--
Paul Lindner[EMAIL PROTECTED] | | | | | | | | | |
mod_perl Developer's Cookbook http
!
--
Paul Lindner[EMAIL PROTECTED] | | | | | | | | | |
mod_perl Developer's Cookbook http://www.modperlcookbook.org
Human Rights Declaration http://www.unhchr.ch/udhr/index.htm
or LocationMatch container. For
example:
LocationMatch ^/myapp/.*html$
will insure that your fixup handler is only called on requests that
start with /myaap/ and end with .html.
--
Paul Lindner[EMAIL PROTECTED] | | | | | | | | | |
mod_perl Developer's Cookbook http
this in the early 90s... Long
before vignette was even around..
--
Paul Lindner[EMAIL PROTECTED] | | | | | | | | | |
mod_perl Developer's Cookbook http://www.modperlcookbook.org
Human Rights Declaration http://www.unhchr.ch/udhr/index.htm
--
Paul Lindner[EMAIL PROTECTED] | | | | | | | | | |
mod_perl Developer's Cookbook http://www.modperlcookbook.org
Human Rights Declaration http://www.unhchr.ch/udhr/index.htm
/,,);
if (-f /usr/local/apache/cgi-bin/${uri}_mod_perl_me) {
$uri = = /mod-perl/$uri
$r-uri(/mod-perl/$uri);
}
return DECLINED;
}
--
Paul Lindner[EMAIL PROTECTED] | | | | | | | | | |
mod_perl Developer's Cookbook http://www.modperlcookbook.org
Human
is maps.yahoo.com.
--
Paul Lindner [EMAIL PROTECTED]| | | | | | | | | |
mod_perl Developer's Cookbook http://www.modperlcookbook.org
Human Rights Declaration http://www.unhchr.ch/udhr/index.htm
0.060.05 5 1 fcntl64
-- --- --- - -
100.000.008621 118 4 total
--
Paul Lindner [EMAIL PROTECTED]| | | | | | | | | |
mod_perl Developer's Cookbook http
on the *CacheTTL* setting.
For further customization you can write your own *ttl* function that can
dynamically change the caching time based on the current request.
AUTHORS
Paul Lindner [EMAIL PROTECTED]
Geoffrey Young [EMAIL PROTECTED]
Randy Kobes [EMAIL PROTECTED]
COPYRIGHT
On Tue, Dec 11, 2001 at 01:50:52AM -0800, Ask Bjoern Hansen wrote:
On Thu, 6 Dec 2001, Paul Lindner wrote:
BTW -- I think where the docs are cached should be configurable. I don't
like the idea of the document root writable by the web process.
That's the price you pay
. In my case I
checked out /proc/PID/status on my linux box. In this case it shows
VmSize: 8036 kB
Next, uncomment out the directive line, restart and look at the memory
usage... In my case it shows as:
VmSize: 8380 kB
So, about 300k in this instance.. YMMV
--
Paul Lindner [EMAIL
Paul Lindner [EMAIL PROTECTED], Geoffrey Young, Randy Kobes
SEE ALSO
The example mod_perl method handler the CacheWeather manpage.
The mod_perl Developer's Cookbook
--
Paul Lindner [EMAIL PROTECTED]| | | | | | | | | |
mod_perl Developer's Cookbook http
and starting the server. This command has worked
for me in the past.
apachectl stop; sleep 1; apachectl start
--
Paul Lindner [EMAIL PROTECTED]| | | | | | | | | |
mod_perl Developer's Cookbook http://www.modperlcookbook.org
Human Rights Declaration http
that generates the
filename might be useful.
--
Paul Lindner [EMAIL PROTECTED]| | | | | | | | | |
mod_perl Developer's Cookbook http://www.modperlcookbook.org
Human Rights Declaration http://www.unhchr.ch/udhr/index.htm
to the docs to make sure
that people do not inadvertently misconfigure their servers..
--
Paul Lindner [EMAIL PROTECTED]| | | | | | | | | |
mod_perl Developer's Cookbook http://www.modperlcookbook.org
Human Rights Declaration http://www.unhchr.ch/udhr/index.htm
when syslog is used?
I've seen various problems with Apache's built in syslog under
mod_perl. The solution that I've been using lately is:
ErrorLog | logger -p local3.debug
If you just print to STDERR you might want to look at Apage::LogSTDERR
on CPAN.
--
Paul Lindner [EMAIL PROTECTED
to install Mod_perl as APACI on solaris 2.7. but after
the build i get httpd: Cannot find ELF. I make mod_perl install apache
for me. when I install apache without mod_perl, apache works fine. Please
help
thank you
--
Paul Lindner
[EMAIL PROTECTED]
to create a proxy
class..
Closures are excellent in hiding implementation details of simple
operations, and I think in this case they fit quite well. The system
can even be written to work just fine without the user using closures
if they're using CGI.pm, as in my previous example.
--
Paul Lindner
with the
time on the client you will end up with these problems.
I had to deal with this all the time when I used a NetApp Filer with
an old firmware that didn't support ntp..
--
Paul Lindner
[EMAIL PROTECTED]
compared the performance and features of the various
exception packages? I'd like to move to something that is a bit
better supported than Experimental::Exception, and don't feel like
converting thousands of lines of try {} catch {} to eval {}; if
Thanks.
--
Paul Lindner
[EMAIL PROTECTED]
e opens up everyone's eyes. Just
goes to show that your debug statements might actually be slowing your
mod_perl application.
Cheers.
--
Paul Lindner
[EMAIL PROTECTED]
is similar to others: mod_perl 1.25, apache 1.3.17, perl
5.00503, solaris 2.6...
--
Paul Lindner
[EMAIL PROTECTED]
Nice.
I look forward to your next release...
On Fri, Jan 12, 2001 at 12:38:12PM -0800, Joshua Chamas wrote:
"T.J. Mather" wrote:
There is an easy way of doing auto form fillin with Apache::ASP using
HTML::FillInForm - for details see (credit goes to Paul Lindner)
I have
, XSLT and XML-RPC; Internationalization;
Applications Servers (HTML::Mason, Embperl, Apache::ASP, Zope,
Zentropa, AxKit, Cocoon etc.); Search systems and concepts.
Oracle Applications (ERP, CRM) Experience.
Benefits
Red Hat has a comprehensive benefits package.
--
Paul Lindner
rite setup
does so well??
THanks, Bob Waldstein [EMAIL PROTECTED]
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
--
Paul Lindner
[EMAIL PROTECTED]
R
.
Is there a reason I'm missing?
Might MLDBM::Sync work over an NFS mounted partition? That's one
reason I've not used the BerkeleyDB stuff yet..
--
Paul Lindner
[EMAIL PROTECTED]
Red Hat Inc.
-
To unsubscribe, e-mail: [EMAIL PROTECTED
2.4.0-test2
/usr/src/linux/fs/buffer.c
perl -e '$$=\${gozer};{$_=unpack(P26,pack(L,$$));/^Just Another Perl
Hacker!\n$/print||$$++redo}'
--
Paul Lindner
[EMAIL PROTECTED]
Red Hat Inc.
users...
Also see the following URLs
http://people.redhat.com/plindner/apache/apache-heavy-1.3.12-3.i386.rpm
http://people.redhat.com/plindner/apache/apache-heavy-1.3.12-3.src.rpm
For a statically linked RPM.
--
Paul Lindner
[EMAIL PROTECTED]
Red Hat Inc.
~/build_mod_perl
#
If you think this is hard, try it without make.
(darren)
--
Blind faith in anything, even your leaders, will get you killed.
-- Bruce Springsteen
--
Paul Lindner
[EMAIL PROTECTED]
Red Hat Inc.
on sourcexchange?
--
Paul Lindner
[EMAIL PROTECTED]
Red Hat Inc.
.
But with static install how and when do I install PHP as a module.
Any instructions, examples would help.
Thanking in advance,
We have what we call the apache-heavy src RPM. It's 1.3.12 + php
4.0.2 + mod_perl 1.24 + oracle, all static. If anyone is interested I
can put it up for ftp..
--
Paul Lindner
On Fri, Sep 15, 2000 at 06:35:00AM -0700, Paul Lindner wrote:
On Fri, Sep 15, 2000 at 01:50:40PM +0300, Antti Linno wrote:
Hallo.
As I was having problems with mod_perl as module and mysql+dbi, I was
told to install mod_perl statically to apache and php as a module. I
looked at install
form,input type="hidden" name="asp_charset"
value="$Response-{Charset}"/form,si;
return($form);
}
--
Paul Lindner
[EMAIL PROTECTED]
Red Hat Inc.
ed to your code.
--
Paul Lindner
[EMAIL PROTECTED]
Red Hat Inc.
P3.0 style
evaluation of forms.
Instead use a 'form' function
sub form {
...
}
Then check the args to see if the param 'runat' is set to 'server'.
If so, do the funky stuff, if not, just spit it out...
--
Paul Lindner
[EMAIL PROTECTED]
Red Hat Inc.
SysV IPC shared memory that I use via IPC::ShareLite
in the Apache::ASP application.)
Application_OnEnd is called when the last active session is disposed
of. So no, it does not get run on server shutdown.
--
Paul Lindner
[EMAIL PROTECTED]
Red Hat Inc.
think that Apache::ASP is coming right along with it's
support of XML and the underlying behaviors.
I'm not well versed in Microsoft's Next Generation Windows System
(NGWS) but would appreciate hearing more about how it differs from
some of the latest Apache::ASP enhancements.
--
Paul Lindner
?
Probably because it is just running your script. You need to check
the REQUEST_METHOD variable and branch accordingly.
Same goes for the If-Modified header.
I find the resources at http://www.web-caching.com/ a must read for
anyone doing CGI applications.
--
Paul Lindner
[EMAIL PROTECTED]
Red Hat
simple with Joshua's new Apache::ASP. Just define
cfoutput as a custom tag, and write a small handler for it.
I'll have to look up the other tags they support, but they shouldn't
be too hard to implement...
Has anyone else out there wrote their own cold-fusion routines?
--
Paul Lindner
[EMAIL
On Wed, Jul 05, 2000 at 04:09:06PM -0700, Joshua Chamas wrote:
Paul Lindner wrote:
IMHO, mod_perl applications easily out-performed our CF apps.
One plus for coldfusion, there seems to be more CF developers out there (at
least in Austin, TX) but that may be a sign that very few
On Thu, Jun 22, 2000 at 05:01:41PM +0100, Matt Sergeant wrote:
On Thu, 22 Jun 2000, Paul Lindner wrote:
Web Technology: XML, XSLT and XML-RPC; Internationalization;
Applications Servers (HTML::Mason, Embperl, Apache::ASP, Zope,
Zentropa, Cocoon etc.); Search systems
, but I admire your problem.
SysAdmin/Programmer - TheImageGroup - ===|:=P
--
Paul Lindner
[EMAIL PROTECTED]
Red Hat Inc.
, Request and
Response objects, etc.
And what about security, is there any issue?
What issues?
--
Paul Lindner
[EMAIL PROTECTED]
Red Hat Inc.
be looking
at?
--
Salon Internethttp://www.salon.com/
Manager, Software and Systems "Livin' La Vida Unix!"
Ian Kallen [EMAIL PROTECTED] / AIM: iankallen / Fax: (415) 354-3326
--
Paul Lindner
[EMAIL PROTECTED]
Red Hat Inc.
San Francisco, USA
choices? How well do any of
these play with templating (Embperl, Mason et al)?
Apache::ASP has very nice session management capabilities. IMHO The
best feature is the Session_OnEnd handler (you can define code that is
executed when the Session finishes.) And it's templating is superb.
--
Paul
, kill -HUP with a static modperl is a noop.
You got me! I have Perl sections ... but I didn't know
it was such a crime. Pretty bizarre behavior if you ask me.
We don't have perl sections and it does still occur. I will try
with a static version and see if that fixes the problem.
--
Paul
74 matches
Mail list logo