On Fri, 2003-07-18 at 09:03, wrote:
I used Apache::ePerl ( http://www.ossp.org/pkg/tool/eperl/
http://www.ossp.org/pkg/tool/eperl/ ) for a long time (up to perl
5.6.1)
until our admin install perl 5.8.0 and recompiled apache and mod_perl
with it.
After that global hash $Cache where all
On Fri, 2003-07-18 at 17:13, Pablo Velasquez wrote:
5. This is all good, since now the perl debugger is running my program, just
like when I use DDD to run a regular perl script. However, the question is,
how can I use DDD to run on top of this?
You need to change DDD's behavior so that it
On Thu, 2003-07-17 at 14:05, Andy Harrison wrote:
I'm installing RT 3.0.4 on a fresh server and I'm getting tripped up installing
mod_perl. What I'm worried about is if I install mod_perl against perl 5.8.0,
will all scripts that get run on apache be executed using perl version 5.8.0?
All
On Thu, 2003-07-17 at 14:15, Andy Harrison wrote:
Ok, so since my rt vhost has these lines:
PerlModule Apache::DBI
PerlRequire /usr/local/rt3/bin/webmux.pl
Location /
SetHandler perl-script
PerlHandler RT::Mason
/Location
Will they be the only
On Wed, 2003-07-16 at 17:39, Patrick Galbraith wrote:
I'm trying to figure out how one would set vars via a startup.pl script or
using PerlSections.
Is there a reason you can't just put it in a global? The dir_config()
stuff is really for when you want to config something specific to a
On Tue, 2003-07-15 at 06:43, Swen Schillig wrote:
Are there any plans to have Apache::Cookie or does
mp2 code always has to use CGI if there are cookies needed ?
Apache::Cookie is part of libapreq (along with Apache::Request), so you
should follow libapreq development for this.
- Perrin
On Tue, 2003-07-15 at 08:44, ColinB wrote:
So how can I go about installing just Apache::Registry from the
mod_perl 1 tar file without having to install ALL of mod_perl 1 ?
Just copy the Apache/Registry.pm file into the same directory that all
your other Apache:: modules are in.
- Perrin
On Tue, 2003-07-15 at 14:27, Jez Hancock wrote:
On Tue, Jul 15, 2003 at 01:32:11PM +0300, Stas Bekman wrote:
Take a look at:
http://perl.apache.org/docs/2.0/user/handlers/http.html#PerlLogHandler
a similar code will work for mp1 if you don't use 2.0.
Much obliged, that does look to be
On Tue, 2003-07-15 at 16:11, Stas Bekman wrote:
Is this still correct in the threaded environment where the filehandle is
shared across several threads?
Why would the filehandle be shared? Wouldn't you open a new handle in
each thread?
I expect this would be fine, since the behavior is
On Mon, 2003-07-14 at 14:12, [EMAIL PROTECTED] wrote:
Has anyone used the Memoize module extensively in a mod_perl environment?
I'd suggest you use Cache::FileCache, MLDBM::Sync, or Cache::Mmap
instead. Memoize is cool, but unnecessary if you are planning ahead
like this.
- Perrin
On Sun, 2003-07-13 at 16:53, Oskar wrote:
Install it if you have a lot of time. It took me week to config it and month
for rewritting scripts.
Oskar,
Is there something specific that would have helped you get going
faster? Did you find the documentation you needed?
- Perrin
On Fri, 2003-07-11 at 22:33, Mustafa Tan wrote:
Is it possible to dynamically ban IP addresses using
mod_perl.
[...]
Also how can I cope with denial of service attacks?
Randal has a column that shows a technique for dealing with this:
http://www.stonehenge.com/merlyn/LinuxMag/col17.html
You
On Mon, 2003-07-07 at 07:29, Andrew Alakozow wrote:
Apache::Session::Lock::File hangs under Windows if you try to remove
session or add data to existing session. This happenes because you cannot
flock($self-{fh},
LOCK_EX) if you already has flock($self-{fh}, LOCK_SH) in Windows.
Under
On Mon, 2003-07-07 at 11:50, Nigel Hamilton wrote:
I thought I could save some RAM by stripping out comments and
whitespace before the eval step - so I quickly wrote a Registry-like
handler that strips comments.
Those don't take up any space in the actual compiled opcodes. The only
On Thu, 2003-07-03 at 13:38, Peter Ensch wrote:
I'm using CGI::Application and this part of the code happens inside
the cgiapp_init() method which I'm overriding:
our $USERS : unique = /path/to/users.dat;
sub cgiapp_init {
my $self = shift;
$self-param('users' = require ${\$USERS});
}
On Thu, 2003-07-03 at 16:16, Peter Ensch wrote:
So, to reiterate, I may write to users.dat on one transaction
and read on another; the file contents is always up-to-date.
The file is up-to-date, or the param 'users' is?
The file is. IE. it gets written and and the new stuff is
On Thu, 2003-07-03 at 16:59, Peter Ensch wrote:
OK. Thanks. Well, yes it is being reloaded whenever the form
is submitted and w/out restarting the server. Here's some of
the output (error_log):
[Thu Jul 3 15:52:00 2003] users.dat: users.dat loaded by process 18294 at /opt/a...
[Thu Jul 3
On Wed, 2003-07-02 at 11:50, Matt Corbett wrote:
I need to use the Apache::Request module on a range of programs to use
POST and GET methods in my HTML to process information gathered.
Actually, you don't. You can use CGI.pm, CGI::Simple, CGI_Lite, etc.
for this.
If you want to use
On Wed, 2003-07-02 at 17:44, Dennis Stout wrote:
$r-send_http_header; must be broken, eh?
Not likely. Your syntax looks okay to me. It probably isn't being
called for some reason, or else $r is not what you think it is. Throw
in some debug statements and find out what's actually happening
On Wed, 2003-07-02 at 20:38, Andrew Ho wrote:
I totally agree with the fact that Apache::Registry can introduce many
hard-to-debug-problems. I've had enough headaches debugging some of these
issues myself. It's unclear to me, though, that there are unimaginably
cool things you can get to in a
On Wed, 2003-07-02 at 21:24, Dennis Stout wrote:
Okay, I put in some code to take the generated headers and enter them into
the
body of the page. This had an odd effect.
I bet I have a login problem.
You lost me. You were having problems with headers not being sent,
right? That
On Fri, 2003-06-20 at 12:18, Peter B. Ensch wrote:
It's been suggested to me that content generating
apps should be done under A::R, whereas logging,
authentication Etc. should be implemented as
mod_perl handlers.
What is the opinion of the group?
I'm late to the party, but here's an old
On Mon, 2003-06-16 at 07:12, Clinton Gormley wrote:
I had a look at the memory usage of my apache/mod_perl 1 processes,
and was alarmed to find that only 3Mb of 25Mb processes was being
shared (and that's straight after startup)
I have gone to great lengths to
(1) Preload modules in my
On Mon, 2003-06-30 at 17:00, Adi Fairbank wrote:
One reason I've heard is because of namespace security issues. Ie. if ISPs
allow all their users access to mod_perl on the same Apache server, then any
user can potentially interfere with/have access to other users' mod_perl
modules. Don't
On Mon, 2003-06-30 at 15:44, Nigel Hamilton wrote:
Now I'm wondering how much more RAM I can save?
The only thing you need to be concerned about is the amount of unshared
memory in each process. If you don't know what I mean, read the tuning
section in the docs. This is also covered in
On Sat, 2003-06-28 at 15:08, Peter B. Ensch wrote:
Coding in plain CGI I've often require'd files containing
data in perl data-structures. The script may write to the
file (via Data::Dumper for example) allowing subsequent
invokations of the script to have access to the revised
data.
It
On Fri, 2003-06-27 at 15:51, Nigel Hamilton wrote:
Some of my Apache children are growing to 100M+ ... I'm now trying
to track down GTop so I can install Apache::VMonitor so I can see where
all the RAM is going.
You can find libgtop sources here:
Trevor Phillips wrote:
Benchmarking was done using an internal before and after check using
Time::HiRes (as well as various stages during processing) as well as using
ab to do multiple hits in succession.
If you use multiple threads in ab, a sub-optimal setting for the number
of processes can
Mithun Bhattacharya wrote:
If
perl's UTF-8 support is broken in 5.8.0 doesnt that mean it will break
any mod_perl application which is handling XML's or UTF-8 data ?
I didn't say it was broken. I don't really know if it is. What I do
know is that some documents, including CPAN modules, are not
On Fri, 2003-06-13 at 10:07, Mike Zelina wrote:
mod_perl1+Apache1+Win32 is a single threaded environment. Apache
can only accept one request at a time. Not a good idea for a production
environment. If a server request takes a long time, everyone waits in line until
that is complete.
Note
[ please keep it on the list ]
On Fri, 2003-06-13 at 03:23, Trevor Phillips wrote:
Two other possibilities are using a different version of Perl (like one
with theads and one without), or accidentally using the wrong version of
your modules.
I don't think so. Pretty standard Debian
On Fri, 2003-06-13 at 03:46, Slava Bizyayev wrote:
Every good book about mod_perl achievements can result in better contracts
for each of us and can bring aboard new talented contributors. A bad book
can damage/destroy public interest and finally can kill this technology.
There are many bad
On Fri, 2003-06-13 at 12:02, Patrick Mulvany wrote:
However If I ever heard of a case for use of a fixed width ascii file using spacing
records this is it.
Why make your life difficult? Just use a dbm file.
- Perrin
On Thu, 2003-06-12 at 03:03, Slava Bizyayev wrote:
Yesterday I've finally received a long-waiting book
(http://www.modperlbook.org/) written by Stas Bekman and Eric Cholet. In
fact, I don't know who is that Eric Cholet
Eric pre-dates you on this list by a few years. He knows his stuff.
The
On Thu, 2003-06-12 at 17:31, Gedanken wrote:
speaking of mod perl books, i have gotten lost somewhere. theres the
eagle book, theres stas' book (practical mod_perl i learned today), and
theres 'geoffs book'. what is the name of geoffs book please?
It's mod_perl Developer's Cookbook. You
Trevor Phillips wrote:
My latest
set of changes have resulted in optimisation and given a decent speed
increase of up to 25% (depending on the exact usage) for complex pages.
However, when I used the revised modules with the Apache Module, I'm only
getting a marginal performance increase!
On Wed, 2003-06-11 at 12:58, Mike Zelina wrote:
I couldn't find any documentation on how a host *could* provide mod_perl
and do it in a way that would be safe for his server and usable for a
client.
I was just talking about this with my co-workers. Here's one way:
Set up a front-end apache
On Wed, 2003-06-11 at 03:32, Frank Maas wrote:
The session stuff could be done in a separate phase before the content
handler, or it could be done on demand when your script calls some
utility method that knows how to get the current session. Same with
the user.
Isn't this more a
On Wed, 2003-06-11 at 08:32, Michael L. Artz wrote:
Not sure that I quite understand ... what do you mean by load the
session/user data if it is being done in a handler before content
phase? What would you use to store the retrieved data ... pnotes?
That's what I've done in the past,
On Tue, 2003-06-10 at 01:45, Stas Bekman wrote:
mp2+winFU = winnt MPM = no forking, only threads = Apache::DBI is useless
there. not only useless, but also wasteful, since it's going to do work that
has no added value.
But how is this any different from separate processes really? Each
On Tue, 2003-06-10 at 21:47, Michael L. Artz wrote:
I thought that this was a good way to go since I could protect my entire
application with a single module and a couple lines in the config file,
as opposed to bundling that authentication code into the beginning of
*every* registry script
On Tue, 2003-06-10 at 23:43, Michael L. Artz wrote:
Well, I figured that the AuthenHandler already parsed the authentication
cookie and declared it valid, so I didn't really see a point the in
doing it at the beginning of every script. $r-user just seemed more
intuitive to me.
Well, I'm
On Mon, 2003-06-09 at 12:12, Shannon Eric Peevey wrote:
PS Am having problems with the compile time loading of modules depending
on the existence of either modperl1 or 2... use dies and require is
not importing the symbols correctly at runtime...
If you read the docs for use (perldoc -f
On Mon, 2003-06-09 at 13:57, Shannon Eric Peevey wrote:
Yeah, I've been messing with that, but it seems to me that I need
something similar to a preprocessor directive, where I can load the
appropriate use MODULE lines into the module bases upon which version
of modperl they have installed.
On Mon, 2003-06-09 at 14:29, Ryan Muldoon wrote:
I'm not able to get *any* variables out from the apache server
environment.
Did you try the normal $ENV{'VARIABLE'} approach?
- Perrin
On Mon, 2003-06-09 at 14:49, Ryan Muldoon wrote:
I tried that as well (and just re-tried). My understanding is that the
%ENV hash only gets updated in the fixup stage, so the mod_ssl
environment variables can't be accessed that way. Thanks for the
suggestion though!
Okay. And you're certain
On Mon, 2003-06-09 at 15:34, George Bagley wrote:
CONFIG redhat linux 9.0
apache 2
I'm afraid that's not enough info to guess what you're doing. Please
read
http://perl.apache.org/docs/2.0/user/help/help.html#Reporting_Problems
I have ugraded from apache1.3 to Apache2 and I am
On Mon, 2003-06-09 at 15:35, Geoffrey Young wrote:
no, I wasn't saying that :) subprocess_env() from the main request is the
right way to go. I was just trying to let you know that it has nothing to
do with %ENV really.
I wouldn't go that far. %ENV does get populated with that stuff, just
Thanks for using REPORT!
On Mon, 2003-06-09 at 16:07, George Bagley wrote:
On Apache 1.3, when I do a ps -ef, I cannot see the cgi script running.
I assume this is because Apache is NOT spawning a separate process to
satisfy the request.
On Apache2, there are hundreds of the cgi scripts
[ Please keep it on the list. ]
On Mon, 2003-06-09 at 16:12, Ryan Muldoon wrote:
Ryan, can you post a more complete code example?
- Perrin
Here it is:
package Apache::AuthNx509;
use strict;
use Apache::Constants qw(:common);
use Text::ParseWords qw(quotewords);
use Apache::Log
On Mon, 2003-06-09 at 09:55, Haroon Rafique wrote:
Now onto serious stuff. /usr/bin/perl here is the system-wide perl install
that came bundled with Redhat.
Just a thought: did you fix the locale on that machine? Most of CPAN
won't compile on Red Hat 8 and 9 because of the broken UTF8 locale
On Mon, 2003-06-09 at 21:02, Stas Bekman wrote:
Paul Simon wrote:
So, according to the docs,
http://perl.apache.org/docs/2.0/user/performance/mpm.html#Work_with_DataBases_under_Threaded_MPM,
using Apache::DBI doesn't do anything under
mp2+windows2000 ...
That's correct. Since
On Thu, 2003-06-05 at 09:31, Batara Kesuma wrote:
I just noticed that the load was going down after I restarted httpd. Is
this because of my scripts have bugs? I think I have some DBI connect
without disconnect in my scripts. I will try to fix this and see how is
the result.
Are your scripts
On Thu, 2003-06-05 at 03:35, Dennis G. Allard wrote:
(BTW, my more general goal is to have shared memory across multiple
Apache threads as part of implementing sessions so that I can avoid
doing a database write at every HTTP request just to save session IDs.)
Hmmm, save session IDs? Why
On Thu, 2003-06-05 at 15:55, Dennis G. Allard wrote:
MySQL ShmySQL. A database that didn't have transactions until last year
and still has no stored procedures
Uh, we're talking about session data here, right? Basically a remotely
accessible hash? Stored procedures have no place there, and
On Thu, 2003-06-05 at 16:37, Dennis G. Allard wrote:
Hmmm. No one has actually answered the question, although I am getting
all kinds of advice... (-; ...
Thomas Klausner said that mod_perl 2 only runs on apache 2 and mod_perl
1 only runs on apache 1. He is correct. Red Hat gave you an
Henrique Pantarotto wrote:
I'm having some trouble with CGI.pm working with mod_perl2.
What trouble are you having?
This guy clearly says
that CGI.pm is incompatible with mod_perl2:
http://marc.theaimsgroup.com/?l=apache-modperlm=103619647305553w=2
That was 7 months ago. A lot has changed.
Keep
On Tue, 2003-06-03 at 13:08, cap wrote:
it works just fine in my app, and 'just fine' maybe all that i need.
The point is, it shouldn't work. You should not be getting a hash.
What should work is this:
my $session = defined $cookies-{'session'} ?
$cookies-{'session'}-value : undef;
The
On Tue, 2003-06-03 at 16:10, Geoffrey Young wrote:
I know
that's not something you find in open source every day, but you'll find us
all drinking together at OSCon again this year :)
Stas will be drinking cranberry juice, but still drinking.
Congratulations on the publication, Eric and
On Mon, 2003-06-02 at 11:36, Issac Goldstand wrote:
I want to assign a method handler from within the Apache::ReadConfig
namespace. Right now, what I have is some function which somewhat
resembles:
package My::Object;
sub method1 {
my $self=shift;
package Apache::ReadConfig;
no
On Mon, 2003-06-02 at 15:19, Issac Goldstand wrote:
No - this is at startup. It's also, to the best of my knowledge, the *only*
way to push handlers onto a dynamic URL (eg, where the URL is a variable) -
which is what I'm trying to do.
I was referring to the $r-push_handlers method which you
On Mon, 2003-06-02 at 16:30, cap wrote:
Yes, but:
use Apache::Cookie;
my $cookie = Apache::Cookie-fetch;
my @values = $cookie-value;
returns errors.
The value() call isn't meant to be used with fetch(). Your original
example looked fine to me. What was not working about it? Did you
On Mon, 2003-06-02 at 09:05, cap wrote:
i have an application that uses CGI and sets the cookie values as a hashref.
im then attempting to retreive the values with Apache::Cookie with:
$cookies = Apache::Cookie-fetch;
$ccokies is a hashref so i should be able to get the individual values
On Fri, 2003-05-30 at 10:42, Randal L. Schwartz wrote:
I had been using CGI.pm (through Template::Plugin::CGI), and was
mystified because *occasionally* the wrong picture would show, but a
simple reload fixed it.
I fixed the bug by avoiding CGI.pm, and using Apache::Template's
param
On Fri, 2003-05-30 at 17:46, Arshavir Grigorian wrote:
Is it possible that calling undef on a global hash in one Apache process
not reset the value/contents of the same hash
in other Apache processes?
I don't quite understand the wording of your question, but the short
answer is that nothing
On Thu, 2003-05-29 at 11:59, Marc M. Adkins wrote:
perhaps something such as copying the whole 800,000 rows to
memory (as a hash?) on apache startup?
That would be the fastest by far, but it will use a boatload of RAM.
It's pretty easy to try, so test it and see if you can spare the
On Thu, 2003-05-29 at 13:10, Marc M. Adkins wrote:
My original comment was regarding threads, not processes. I run on Windows
and see only two Apache processes, yet I have a number of Perl interpreters
running in their own ithreads. My understanding of Perl ithreads is that
while the syntax
On Thu, 2003-05-29 at 16:40, David Ressman wrote:
That's just the problem. The value= parameter *is* filled out (and
it is being done at the server end as evidenced by the network sniffer.)
Unfortunately, my script is not doing it. Here's what I have in the
script:
print IP Address:
On Thu, 2003-05-29 at 17:26, [EMAIL PROTECTED] wrote:
A simple $cgi-delete('ipaddress') to delete the value when I create
the field has done the trick. Thanks very much to the both of you.
I'm glad to hear that worked, but it's still worrisome that you were
seeing data leak between different
On Thu, 2003-05-29 at 17:41, Kirk Rogers wrote:
why the scarcasm?
You asked a very loaded question that is guaranteed to get you a lot
angry responses on most Perl mailing lists. Hiding your source code is
a FAQ
On Wed, 2003-05-28 at 13:02, Adam Gent wrote:
Is anyone having problems with modperl2 and CGI::Carp
CGI::Carp has not been ported to modperl2. You should assume that
modules you download have not been ported unless their docs say
otherwise.
You can use the compatibility layer, or port it
simran wrote:
I need to be able to say:
* Lookup the _distance_ for the planet _mercury_ on the date _1900-01-01_
On the face of it, a relational database is best for that kind of query.
However, if you won't get any fancier than that, you can get by with
MLDBM or something similar.
On Wed, 2003-05-28 at 22:39, Brown, Jeffrey wrote:
[Wed May 28 19:33:57 2003] [error] Can't locate CGI.pm in @INC (@INC
contains:
[...]
/usr/libdata/perl5/CGI.pm
This sort of thing is usually a permissions problem. Try opening that
file (full path to CGI.pm) from your CGI and see if it lets
On Wed, 2003-05-28 at 22:45, Greg Dutkowski wrote:
I have migrated my site from IIS and Active State to Apache 1.3 and mod_perl
on a Windows machine. I use the site to send emails to registered users
using Mail::sendmail through our SMTP server (another machine).
With Apache I can only send
On Wed, 2003-05-28 at 23:15, Brown, Jeffrey wrote:
Here are the permissions on the file:
-r--r--r-- 1 root wheel 224666 Apr 28 06:35 CGI.pm
The BSD OS is new to me, I am more familure with redhat...but there are
some definite perks to OpenBSD and that is why I run it. Anyway wheel is
On Wed, 2003-05-28 at 23:17, Stas Bekman wrote:
Can we add this factoid to
http://perl.apache.org/docs/1.0/guide/troubleshooting.html#Windows_OS_specific_notes
?
Yes. I think Joshua Chamas has a summary of it somewhere, but I can't
seem to reach his site or the mod_perl site at the moment for
On Wed, 2003-05-28 at 23:25, Brown, Jeffrey wrote:
Do you mean give the path in my perl script?
So the line in my code:
use CGI qw(:standard);
would be:
use /usr/libdata/perl5/CGI qw(:standard);
Actually, what I had in mind was just this:
open(CGI, '/usr/libdata/perl5/CGI.pm') or
On Tue, 2003-05-27 at 16:28, Dale Lancaster wrote:
I have combed the various docs and haven't yet found the silver bullet
to turn off all the warnings I am getting from mod_perl in my
error_log that look something like this:
Constant subroutine
On Sun, 2003-04-06 at 23:05, Brett Hales wrote:
DBD::Oracle::st fetch failed: ORA-24365: error in character conversion
(DBD ERROR: OCILobRead) at
/usr/local/lib/perl5/site_perl/5.6.0/mymodule.pm line 857.
Looks like a DBI problem, not a mod_perl problem. Have you tried asking
on the
Brian Reichert wrote:
Is this 'total_jobs' exposed somehow via an Apache object?
The documentation for the Apache module doesn't say anything about it,
so I think you have your answer. We just use a global for this in
Apache::SizeLimit.
- Perrin
Brian C. Thomas wrote:
I have read through the lists looking for issues related to mp2 and
@INC, and have read the part about +Parent and virtual hosts.
You should read the docs for tips on this, especially here:
Richard Clarke wrote:
foreach my $l (qw/ErrorLog TransferLog LockFile PidFile ScoreBoardFile/) {
$$l = /usr/local/app/apache_modperl/logs/$l;
};
Dude, you're scaring me with that. It looks just like $1 and $$1.
PERL_TRACE output clearly shows that half of the perl section is being
Jean-Michel Hiver wrote:
I know that it's possible to chain Apache handlers in a way that the
next handler is executed if the previous handler returned DECLINED.
It sound like you're looking for this:
http://perl.apache.org/docs/1.0/guide/config.html#Stacked_Handlers
The next handler is also
On Tue, 2003-03-18 at 14:05, Perrin Harkins wrote:
I thought some of you might be interested in this thread from Perlmonks.org:
http://perlmonks.org/index.pl?node_id=243899
I benched BerkeleyDB against multiple files for medium-sized documents,
and the results were that Berkeley was faster
Jason Jolly wrote:
When I stop/start the server and run a script with the following code:
foreach $item (@INC) {
print ($item . br);
}
I only get the output:
/usr/local/lib/perl5/5.8.0/sun4-solaris
/usr/local/lib/perl5/5.8.0
[ Please keep it on the list ... ]
Bleicke Holm wrote:
[Thu Mar 20 11:16:40 2003] [notice] Apache/1.3.26 (Unix) Debian GNU/Linux
PHP/4.1.2 mod_perl/1.26 mod_perl/1.26 configured -- resuming normal operations
[Thu Mar 20 11:16:40 2003] [notice] suEXEC mechanism enabled (wrapper:
On Tue, 2003-03-18 at 19:16, [EMAIL PROTECTED] wrote:
I have a script called update.pl in the directory /web/dev/scripts. This
script is configure
to run under mod_perl. I got another script with the same name update.pl in
/web/stage/scripts.
This script is also configure mod_perl.
KIVES,BRUCE (HP-USA,ex1) wrote:
Any other ideas on how to hide the .pl ?
There are dozens of ways to make /calendar/month run month.pl. Here are
some simple ones:
- mod_rewrite
- Alias
- DirectoryIndex month.pl
You could also turn month.pl into a handler and just do this:
Location
Bleicke Holm wrote:
Also, make sure that mod_perl is actually running by checking the
error_log as described in the docs.
For the time being there is no error message at all dans the error_log.
I was actually referring to this:
I thought some of you might be interested in this thread from Perlmonks.org:
http://perlmonks.org/index.pl?node_id=243899
I benched BerkeleyDB against multiple files for medium-sized documents,
and the results were that Berkeley was faster for writes and slower for
reads.
- Perrin
Stas Bekman wrote:
The question is, do we want to have this feature in mp2?
I thought it was cool to have it automatically add a path relative to
the server root, because it makes it feel more like you are writing real
Apache modules, and not just CGI scripts. It's just a warm fuzzy thing
Goehring, Chuck Mr., RCI - San Diego wrote:
Where do you put your .pm files for application-specific code?
Under mod_perl 1, I just put them in SERVER_ROOT/lib/perl, which is
automatically added to @INC by mod_perl. Can someone confirm if this
still works for mp2?
Of course you can just put
Bleicke Holm wrote:
I am quite desperately trying to get mod_perl working.
I continue to get returned the source-code. Searching the doc and faqs
it looks as if I should turn on PerlSendHeader. But that's already done!
Make sure the file is executable by the user that the server is running
as.
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-headers_in-{'content-length'})
I feel
Richard Heintze wrote:
He needs declarative role based authorization and
authentication for his web site -- and maybe fault
tolerance too depending on the price of the hardware
for a linux server.
These are two separate things.
Authen/Authz can be implemented any way you like on mod_perl. It
Abdul-wahid Paterson wrote:
I wanted to develop a caching proxy that will return a cached page
instead of passing control to one of the PHP scripts or Perl scripts
that normally generate the pages.
This is called a reverse proxy and is very common in mod_perl setups.
It is typically done with
David Culp wrote:
I'm having problems using Proxy after a PerlHandler and Apache::Filter is
used.
Objective:
Proxy/http://foo.com
What Happens:
proxy:http://foo.com
Any suggestion or pointers to relevant docs
Abdul-wahid Paterson wrote:
In the docs you cited, it says:
ProxyPass happens before the authentication phase, so you do not have
to worry about authenticating twice.
Hmmm, I thought you had an opportunity to do access control first.
Look at this, from the mod_proxy docs:
Thomas Whitney wrote:
I was looking at Bricolage, however it appears to be more suited to text
content publishing. I currently use Template::Toolkit to print out the bids
and I imagine I could do all the programming myself--naturally, it would be
helpful to find some package that suited at least
Stas Bekman wrote:
I used IPC::Shareable for sharing 3 arrays between 2 process .
Among those, 2 are 2D arrays and one is 3D array. Its woking fine for 2D
arrays but does not work for 3D array. If I modify the values in the 3D
array its not reflecting in the main script itself.
That sounds
101 - 200 of 1288 matches
Mail list logo