Adam Prime schrieb:
Michael Ludwig wrote:
http://perl.apache.org/docs/2.0/user/config/config.html#C_PerlAddVar_
| my @foos = $r-dir_config('foo');
This is wrong. You have to say:
my @foos = $r-dir_config-get('foo');
Committed revision 734312, which updates the two examples on that
Michael Ludwig wrote:
Adam Prime schrieb:
Michael Ludwig wrote:
http://perl.apache.org/docs/2.0/user/config/config.html#C_PerlAddVar_
| my @foos = $r-dir_config('foo');
This is wrong. You have to say:
my @foos = $r-dir_config-get('foo');
Committed revision 734312, which updates
I want to build a mod_perl2 application using Sleepycat::DbXml. This is
the Perl bindings to the C++ interface to Berkeley DB and Berkeley DB
XML, developed by Sleepycat, now owned by Oracle (keywords: DbEnv,
XmlManager, XmlContainer).
Has anyone ever used this combination?
Note I'm using
On Wed, 14 Jan 2009, Michael Ludwig wrote:
I want to build a mod_perl2 application using
Sleepycat::DbXml. This is
However, I don't know how to do this. Currently, I'm
trying to set up things in startup.pl (loaded via
PerlPostConfigRequire), store the database environment
handle in a
Adam Prime wrote:
The PDF's are regenerated once a day. They should update at some point
over the next 12 hours I think.
Adam
# every monday rebuild all, including pdf
30 03 * * 1
/home/perlwww/apache.org/modperl-docs/bin/site_build_force_pdf_index
# update all (only changes/no pdf) every
cr...@animalhead.com wrote:
I have a vague recollection of reading about the
circumstances in which filehandles can be inherited, but
can't remember where.
I've been bitten by this a few times. Filehandles (and thus sockets) are inherited across forks. If
your system isn't very busy you
I'm currently using Apache2::Reload on a development machine, but I
can't for the life of me figure out what it's doing and why.
I'm coming across weird behavior such as the following just about every
5 minutes:
1. Have a perfectly working page.
2. Change some `print foo` to `print bar`
I forgot to send the httpd.conf, sorry about that.
==
LoadModule perl_module modules/mod_perl.so
TypesConfig /etc/mime.types
ServerName ubuntu
Listen 80
User rutski
Grouprutski
DocumentRoot /home/rutski/Documents/projects/wss/install/apache/htdocs
My experience troubleshooting this kind of issue has indicated that its
likely that the package that was unloaded deleted a value stored in the
package space of the module reloaded (probably set at BEGIN block time)
that the subsequent require did not restore.
When these errors happen the
Hmm, I see. Interesting points, all noted.
I also just realized it might have to do with which of the many apache
children get which requests and when.
I'm hoping that setting MaxRequestsPerChild to something like 1 or 2 (as
opposed to the default 1) will help ease the pain.
-Patrick
On Wed, 14 Jan 2009, Patrick Rutkowski wrote:
Hmm, I see. Interesting points, all noted.
I also just realized it might have to do with which of the many apache
children get which requests and when.
I'm hoping that setting MaxRequestsPerChild to something like 1 or 2 (as
opposed to the
Hi all,
I'm trying to find the class/ method which allows me to get the physical
path base on the uri. Something similar to Server.MapPath('/index.htm')
in ASP.NET.
Any advise is appreciated. Thanks.
Foo JH wrote:
Hi all,
I'm trying to find the class/ method which allows me to get the physical
path base on the uri. Something similar to Server.MapPath('/index.htm')
in ASP.NET.
Any advise is appreciated. Thanks.
$r-document_root . $r-uri
but that won't actually tell you if that file
I am writing a CGI::App and I keep having to use full paths to get
various places in my application. How can I set the CWD for a certain
Location section of my code?
Thanks!
--
-fREW
Adam Prime wrote:
I'm trying to find the class/ method which allows me to get the physical
path base on the uri. Something similar to Server.MapPath('/index.htm')
in ASP.NET.
Any advise is appreciated. Thanks.
$r-document_root . $r-uri
Thanks for replying. In my case it's a wee bit more
Foo JH wrote:
Adam Prime wrote:
I'm trying to find the class/ method which allows me to get the physical
path base on the uri. Something similar to Server.MapPath('/index.htm')
in ASP.NET.
Any advise is appreciated. Thanks.
$r-document_root . $r-uri
Thanks for replying. In my case it's a
fREW Schmidt wrote:
I am writing a CGI::App and I keep having to use full paths to get
various places in my application. How can I set the CWD for a certain
Location section of my code?
If you're running your CGI::App code through Registry, and using
mod_perl 2, and running under the prefork
Adam Prime wrote:
Foo JH wrote:
Adam Prime wrote:
I'm trying to find the class/ method which allows me to get the physical
path base on the uri. Something similar to Server.MapPath('/index.htm')
in ASP.NET.
Any advise is appreciated. Thanks.
$r-document_root . $r-uri
Thanks for replying.
On Thu 15 Jan 2009, Foo JH wrote:
Is there a generic method so that given any uri as a parameter, the
library can do the math and return the physical path?
If you look for the filename for $r-uri, that means the uri of the
current request then $r-filename holds that after the map-to-storage
19 matches
Mail list logo