Seems like a reasonable addition to me. Apache::DBI 1.07 is kind of
broken right now (see bugs in RT), it'd be nice to get a new release
with this fixed and some of those bugs closed.
Adam
Nick Wellnhofer wrote:
Currently, Apache::DBI never disconnects from the database. This leads
to the f
Fred Moyer wrote:
I'd love it if you could take this rc for a spin and report back.
Passing all tests on OS X 10.5, 5.8.8, 2.2.6
and Centos 5.2, 5.8.9, 2.2.8.
I resolved some issues while implementing this version for Apache::Dispatch.
Changes since 0.06
- fix syntax error in params vali
Sean Thorne wrote:
Hi,
I don't know whats wrong, but my hosting environment recently pushed an
update of glibc and pthread to all of my servers. This caused them all
my apache instances to go into an unstable state. I isolated the
problem to mod_perl and thought if I rebuilt apache httpd an
There is a thread in apreq-dev about this issue:
http://marc.info/?l=apreq-dev&m=124276135127808&w=2
Apparently it has something to do with the machine that the tarball was
built on.
Adam
mod_perl User wrote:
Hi,
While trying to install libapreq2-2.12 with mod_perl2/Apache2 in
Solaris1
Idel Fuschini wrote:
Hi,
I have this configuration on server:
PerlModule ::
PerlTransHandler +::module1
SetHandler modperl
PerlInputFilterHandler ::module2
and I want to pass variable from module1 to module2 is it possible ?
I think it should be, i would expect yo
Also builds fine and all tests pass on:
Summary of my perl5 (revision 5 version 8 subversion 8) configuration:
Platform:
osname=solaris, osvers=2.10, archname=i86pc-solaris
uname='sunos fxbuild-i386 5.10 generic_127112-11 i86pc i386 i86pc
solaris '
and
Summary of my perl5 (revision
Builds and tests find on
Summary of my perl5 (revision 5 version 8 subversion 8) configuration:
Platform:
osname=linux, osvers=2.6.23-gentoo-r3, archname=x86_64-linux
uname='linux data 2.6.23-gentoo-r3 #1 smp sun dec 30 14:44:14 est
2007 x86_64 amd athlon(tm) x2 dual core processor be-
Ryan Gies wrote:
> On Thu, 7 May 2009 14:29:18 -0700
> Fred wrote:
>
>>> That's pretty weird. If you modify it to be:
>>>
>>> $url = Apache2::URI::unescape_url($url);
>>>
>>> then it works ok, though according to the docs on perl.apache.org
>>> it's not supposed to have a return value.
>
> Just
Ryan Gies wrote:
I'm rather surprised at what I'm seeing, but it appears this method
(Apache2::URI::unescape_url) is not correctly updating the length scalar
variable. Any thoughts? -Ryan
Output from the below response handler snippet:
Before: 'http%3A%2F%2Fexample.com'
After : 'http://exa
Michael Peters wrote:
Michael A. Capone wrote:
In the spirit of checking off the obvious things... are you sure that
the ErrorDocument directive is working for other pages? in other
words, can you open a browser and goto
http://mydomain.com/this_file_does_not_exist.htm and see your
ErrorDocu
André Warnier wrote:
Thanks.
Do you happen to know /where/ in the on-line mod_perl docs there is
information about handling a PUT request.
(I found a nice article in German on the web, here :
http://www.farid-hajji.net/books/de/Hajji_Farid/pbv2/ew/cgi-upload.html
)
Searching for "+mod_perl +"pu
ApacheCon US is happen in Oakland CA this year from November 2nd to 6th,
and the PMC's of the various projects are being given the opportunity to
help organize content related to their projects. In order for the PMC
to do this effectively, it would be helpful to know what other people
who are int
Mark Copper wrote:
Hi,
I'm getting the following error in response to a call to
internal_redirect of Apache2::SubRequest:
Can't locate auto/Apache2/Request/internal_re.al in @INC
which, of course, it won't since, on my Debian Lenny system,
/usr/lib/perl5/auto/Apache2
doesn't even have a
FYI.
Original Message
Subject: [yapc] Official Call for Proposals for YAPC|10 ends Friday, 24
April 2009
Date: Tue, 21 Apr 2009 11:26:34 -0400
From: Robert Blackwell
To: y...@pm.org
The official Call for Proposals for YAPC|10 ends Friday, 24 April 2009.
http://yapc10.or
André Warnier wrote:
Hi.
Supposing I have this kind of setup
PerlAuthenhandler My::AuthModule
...
...
PerlAuthenhandler My::AuthModule
...
and a request is made for "/xyz", and as a result the module is called,
is there some way in My::AuthModule::handler(), by which I can find
Justin Wyllie wrote:
Hi
I am trying to use:
$headers = $r->headers_out;
$r->no_cache(1);
$headers->set( Location => url );
return REDIRECT.
The first problem is this does not set the Cache-Control header.
If instead of the redirect I output some content (200 ) then it does,
correctly.
Foo JH wrote:
Hi guys,
There's recently some talk on the ActivePerl mailing list on Perl6
(Rakuda) and IIS. Out of curiosity, is anyone experimenting on this on
mod_perl6?
mod_perl6 was mentioned by Jeff Horwitz in the following articles:
1.
http://www.oreillynet.com/onlamp/blog/2008/02/jeff_ho
Stanisław T. Findeisen wrote:
Hello
I have a question regarding srand() usage with mod_perl. The
documentation says:
===
Do not call srand() (i.e. without an argument) more than once in a
script. The internal state of the ra
builds and tests fine with apache 1.3.41 on...
Linux primepc 2.6.24-23-generic #1 SMP Mon Jan 26 00:13:11 UTC 2009 i686
GNU/Linux
with
This is perl, v5.8.8 built for i486-linux-gnu-thread-multi
Linux lv1 2.6.24-gentoo-r8 #3 Wed May 28 15:43:57 EST 2008 i686 Intel(R)
Pentium(R) 4 CPU 2.40GHz G
Adam Prime wrote:
Fred,
both build cleanly and pass all tests on my laptop with perl 5.8.8 on
gentoo linux amd64. I'll build them on x86_64 tomorrow, and i can test
on solaris on monday.
Adam
Both built and tested fine on perl, v5.8.8 built for x86_64-linux
Adam
Fred,
both build cleanly and pass all tests on my laptop with perl 5.8.8 on
gentoo linux amd64. I'll build them on x86_64 tomorrow, and i can test
on solaris on monday.
Adam
Fred Moyer wrote:
> For those of you here who like to write some open source code on the
> weekends, here are a couple
Carl Johnstone wrote:
Perrin Harkins wrote:
TicketMaster is Perl.
Ticketmaster switched their UK operation from MS technologies to mod_perl a
couple of years back too. (Brought it inline with the US side.)
There's a couple of biggies that haven't been mentioned...
BBC
YouPorn (although I d
David Stewart wrote:
How do you replicate the redirect functionality of mod_rewrite in a
mod_perl 2 PerlTransHandler?
I'm writing a PerlTransHandler to overcome some limitation of
mod_rewrite and want to redirect requests to canonical URLs in some
cases (e.g. replicate the functionality of th
Mike Bourdon wrote:
In my humble opinion the perl community needs to embrace the concept
of self propagation. For the most part perl/oo perl/mod_perl
developers are self taught. Junior or mid level talent (a majority
of the talent pool) is passed over as not enough experien
sandhya pawar wrote:
I have O.S Windows Vista
ActivePerl5.8
Apache 2.2.11
Installed.
C:\> ppm install mod_perl-2.0
ppm install failed: Can't find any package that provides mod_perl-2.0
C:\> ppm install http://theoryx5.uwinnipeg.ca/ppms/mod_perl.ppd
ppm install failed: 500 can't connect to
Hire Dave Rolsky (who wrote the Mason book, and maintains HTML-Mason),
he's apparently looking for work:
http://blog.urth.org/2009/03/need-a-programmer.html
You'll be hard pressed to find anyone more competent, but he might want
to re-implement the whole system, you never know...
Adam
Adam Prime wrote:
This looks like a localization thing to me. I'm guessing that on your
system for some reason ^\w+$ doesn't match against 'Mär'. It fails on
my gentoo box too:
perl -e "print ('Mär' =~ /^\w+$/)"
prints undef.
however,
perl -Mutf
Oliver Block wrote:
1. Problem Description:
Failed Test Stat Wstat Total Fail List of Failed
---
t/apache/util.t84 1-4
8 tests and 1 subtest skipped.
Failed 1/246 test scripts. 4/2496 subtests f
Oliver Block wrote:
As system user without root priviliges:
1. Problem Description:
Two problems:
The test tends to hang after logging that 28 vhosts are ready to test.
If not the test does not hang, then the following summary is given:
Failed Test Stat Wstat Total Fail List of Fail
Looks like sizelimit needs some love since 2.10 is < 2.6, but is
actually a newer version.
Adam
Chen, Peter wrote:
Sorry, sparc-solaris2.10
Perl version 5.8.8
Apache 2.2.10
-Original Message-
From: Perrin Harkins [mailto:phark...@gmail.com]
Sent: Thursday, March 05, 2009 6:37 PM
Chen, Peter wrote:
*Apache2::SizeLimit not implemented on solaris at
/Apache2/SizeLimit.pm line 95.\nBEGIN failed--compilation aborted at
//Apache2/SizeLimit.pm line 98.\nCompilation failed in require at
/htdocs/bugzilla/mod_perl.pl line 32.\nBEGIN failed--compilation
aborted at
FYI
Original Message
Subject: [Announce] Call For Papers extended for ApacheCon US 2009
Date: Wed, 04 Mar 2009 22:37:13 -0600
From: William A. Rowe, Jr.
Reply-To: planners-2009...@apachecon.com
To: committ...@apache.org
References: <20081107200919.29573.44...@eos.apache.org>
I
Michael Peters wrote:
You don't even need to use a __DIE__ handler. mod_perl will place any
runtime errors into $r->notes('error-notes'). I don't like my errors
going to the browser (only really works if your content is HTML anyway)
but for the email I usually use an Apache cleanup handler. T
Perrin Harkins wrote:
On Fri, Feb 27, 2009 at 3:06 PM, Mark Hedges wrote:
What about PerlOptions +Parent?
http://perl.apache.org/docs/2.0/user/config/config.html#C_Parent_
That's the thing I was referring to that I haven't tried. Can anyone
confirm that this works?
There are some threads
Maybe the debian guys did something goofy with the modules. It wouldn't
be the first time. That or maybe its just a bug in ModPerl. Even if
some CPAN module out there has 'use warnings;' in it that shouldn't have
any affect on any code outside of its own package should it?
I think that Moose
André Warnier wrote:
Matthew Lenz wrote:
I can't seem to disable warnings on our production environment. 'use
warnings' is not included in any of the config/startup/scripts or custom
modules. Its possible I guess that its being used by a CPAN module.
We had a system on Debian 3.1 (apache/mod_
Erik Aronesty wrote:
Maybe ModPerl::Registry should do this, but not mod_perl itself. If someone
Yes, it's a problem with ModPerl::Registry, I agree. It's not mentioned here:
http://perl.apache.org/docs/2.0/api/ModPerl/Registry.html#Caveats
Where it should be.
Absolutely, i'll patch the do
Erik Aronesty wrote:
(A solution would be to force all "my" varialbes at the file scope to
be "our" and then put the cgi in an anonymous package:)
On Thu, Feb 12, 2009 at 10:33 AM, Erik Aronesty wrote:
-8<-- Start Bug Report 8<--
1. Problem Description:
Patrick Galbraith wrote:
Hi all,
I'm in the midst of writing a book currently, and am covering the
sections in the book on mod_perl and Apache.
In previous texts for Apache 1.3, it
would show 11 phases. In the document on
http://httpd.apache.org/docs/2.2/developer/request.html, it shows 4
prima
Carl Brewer wrote:
And in the (RHEL/CentOS format) init.d script
start() {
echo -n $"Starting $prog: "
ulimit -S -c unlimited >/dev/null 2>&1
LANG=$HTTPD_LANG daemon $httpd $OPTIONS -f $conf
RETVAL=$?
echo
ulimit -c
[ $RETVAL = 0 ] && touch
Mark Hedges wrote:
Trying to get perldoc running in some fashion under Apache2
with libapreq2.
I thought I'd use Apache2::Pod::HTML but no luck:
[Tue Jan 27 14:55:04 2009] [error] [client 70.143.68.29]
Can't locate object method "send_http_header" via package
"Apache2::RequestRec" at
/usr/lib/p
Perrin Harkins wrote:
On Mon, Jan 26, 2009 at 1:03 AM, Adam Prime wrote:
I'm not sure how many of you are aware of chromatic's previous article
about "5 things perl 5 needs right now", or about the mod_perlite
project that was spawned by some people from sixapart, but chr
I'm not sure how many of you are aware of chromatic's previous article
about "5 things perl 5 needs right now", or about the mod_perlite
project that was spawned by some people from sixapart, but chromatic has
published another article that's basically a conversation with Byrne
Reese and Aaron Ston
builds and tests ok on gentoo linux w/ apache 2.2.8, mod_perl 2.0.4
Perrin Harkins wrote:
On Mon, Jan 19, 2009 at 1:37 PM, Adam Prime wrote:
Perrin Harkins wrote:
Hmm, isn't the MPM just a runtime configuration? Why would you need
another httpd install? It sounds like a separate config file would do
it, if that's all you want to change.
MPM is a
Perrin Harkins wrote:
Hmm, isn't the MPM just a runtime configuration? Why would you need
another httpd install? It sounds like a separate config file would do
it, if that's all you want to change.
MPM is a build time configuration via the --with-mpm= to ./configure
Adam
fREW Schmidt wrote:
>
Yeah, I have another virtualhost at *:80 with it's own ErrorLog
directive, but of course it still doesn't seem to honor that and puts
the errorlog in the default place anyway.
This doesn't really have anything to do with mod_perl at all i think you
might want to try remov
macke...@animalhead.com wrote:
Apache is forgiving/robust about specifying nonexistent phase
handlers in httpd.conf and inserts thereto.
I was using event, and had to let each thread open its own DBs
based on an undefined global. Then I found that the identical
traffic-test exerciser could get
fREW Schmidt wrote:
I would like to configure apache such that the errors for a specific
virtual host get logged in their own file. I tried something like this:
ErrorLog "C:/location/of/acd/logs/error.log"
use lib 'C:/location/of/acd';
$ENV{MODE} = 'development';
Sc
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 prefor
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 appreciate
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 tha
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');
Com
Michael Ludwig wrote:
> http://perl.apache.org/docs/2.0/user/config/config.html#C_PerlAddVar_
>
> |PerlAddVar foo bar
> |PerlAddVar foo bar1
> |PerlAddVar foo bar2
> |
> | You would retrieve these values with:
> |
> | my @foos = $r->dir_config('foo');
>
> This is wrong. You have to
Philip M. Gollucci wrote:
Tech list wrote:
I've used the SVN version, but still have this issue with Apache 2.2
on FreeBSD 7.1. Is there a fix?
Surely there is, can you provide some more context.
Is this issue actually fixed in SVN?
http://rt.cpan.org/Public/Bug/Display.html?id=36346
My s
Mark Hedges wrote:
So where does that leave the perl binding between 2.4 and
3.0? Or will we all be running mod_parrot/mod_perl6 by
then (which looks like it's made great progress since
YAPC)
Great, all code where '.' was the concatenator operator
breaks, hurray. (?)
You don't have to switch
Philip M. Gollucci wrote:
Oh, but we started work for this in 2.4 of httpd for libapreq.so and
mod_apreq.so for http core.
cool
after httpd 2.6/3.0 we might be able to swing the perl bindings peices.
So where does that leave the perl binding between 2.4 and 3.0? Or will
we all be running
Michael Ludwig wrote:
It is said in the thread referred to above that "the splitting of the
APIs [...] is strange and confusing", and coming from mod_perl 1.0, I
agree. But it probably has advantages as well.
i think that comment about splitting the api was with respect to
RequestRec, Request
Miles Crawford wrote:
That's actually what my production code does (where I originally found
this error) and I was trying to simplify the testcase down for the bug
report. ;)
Theoretically I guess you should report the bug to
apreq-...@httpd.apache.org. It does seem wrong, but to me it mostly
Miles Crawford wrote:
I agree it looks bogus, but safari and firefox send the header in that
format. Not sure about IE since Windows does not allow files with a "
in the name.
I looked over the Content-Disposition header RFC but it does not seem
to address escaping directly.
Either way, it see
Miles Crawford wrote:
When you handle a multipart/form-data post with libapreq quotes in
filenames are mishandled. For example, a post that includes:
Content-Disposition: form-data; name="foo"; filename="break"here.jpg"
Isn't that a malformed header? I would think that the internal '"'
shou
Mark Hedges wrote:
The question is, since the handler doing the preservation
and installing the input filter also instantiates an
Apache2::Request object, when it gets to the response phase
controller, will the response handler's Apache2::Request
instance read the replaced data or the cached dat
Philip M. Gollucci wrote:
Niko Tyni wrote:
On Mon, Dec 22, 2008 at 10:47:18AM -0600, Gunnar Wolf wrote:
The attached patch works around the problem by providing a credentials()
wrapper too. It's probably not quite correct, but the tests pass with
this on both libwww-perl 5.813 and 5.822.
Commi
André Warnier wrote:
Hi.
Am I right, or horribly wrong, to assume that in case of a "keep-alive"
client connection, the multiple requests sent over that connection will
be processed by the same Apache "process" (child or thread) ?
I am assuming the above, from the fact that there exists a
$r
William A. Rowe, Jr. wrote:
Jeff Pang wrote:
Hello,
I have a modperl application on a host which is running with heavy load.
I have the plan to put a reverse proxy before it.
There are two well known reverse proxy software, one is Squid, another
is nginx.
Which one is better for modperl applica
Foo JH wrote:
>> Path:/usr/ports/www/libapreq2
>> Path:/usr/ports/www/p5-libapreq
>> Path:/usr/ports/www/p5-libapreq-static
>> Path:/usr/ports/www/p5-libapreq2
>> You'd want either p5-libapreq2 or p5-libapreq WITH_MODPERL2=yes
>
> Thanks. Does the fact that libapreq can be installe
Some co-workers were trying to build mod_perl with the setup mentioned
in the subject line, and the 2nd test in t/internal/auth.t was failing.
This test is really short (and weird IMO) but all it does it issue to
requests to the server to test basic auth. the first one should pass
dougm and m
Foo JH wrote:
Hi all,
I'm testing the latest mp2 stack on FreeBSD 7. While everything installs
ok, I'm having difficulties locating the Apache2::Cookie module.
I understand Apache2::Cookie is part of the libapreq2 package. I
installed that via ports, and the installation did not report errors.
Victor Danilchenko wrote:
I need to do it forcibly, no matter what happens during the request.
I have to slightly relax security constraints to call an unusual
subrequest, and since I cannot guarantee that the cleanup code will be
reached (what if the subrequest is terminated by the client,
Neil Gunton wrote:
It seems like this might have something to do with mod_deflate, which
I am using in combination with mod_disk_cache. This page gives a clue
that there might be a problem with the way files are cached when these
modules are both enabled:
http://www.digitalsanctuary.com/tec
Thomas Lindgren wrote:
Hi all,
I'm using mod_perl2. I'd like to reject user requests, e.g., very
large PUTs, after examining headers and authorizing the user, but
before the request body is read. Quota checking could be an example of
where this is useful.
However, at this time, even if I re
Michael Peters wrote:
Phil Carmody wrote:
I'm currently running only Apache 1.3 (mod_perl 1.22) and am wondering
what kinds of issues there might be if I were to want to migrate my
server to Apache 2.x and mod_perl 2.
Are there any things that I can do (or avoid) to make such a migration
as cl
[EMAIL PROTECTED] wrote:
Philip: but I liked the idea of a static build? Not just for operational
performance, but for startup performance and perhaps for some possible
better
integration of the symbol tables for debugging? Are you saying that the
1.2 error cannot be worked around, and I sho
Mustafa Aldemir wrote:
AddType application/x-perl-httpd .pl
AddHandler perl-script .pl
LoadModule perl_module /usr/lib/apache2/modules/mod_perl.so
LoadModule cgi_module /usr/lib/apache2/modules/mod_cgi.so
AllowOverride None
Options FollowSymLinks +ExecCGI -MultiViews +SymLinksIfOwnerMatch
Perrin Harkins wrote:
It's the same with mod_perl: you can restart your backend server
without touching the frontend proxy server. It's possible that some
FastCGI implementations have a truly seamless way to do this though,
holding requests while the backend restarts. I haven't played with it
Chen, Peter wrote:
Apache isn't starting up correctly? I already have the apache server
running. Will this affect the configuration? When I type the command "ps
-eaf | grep apache", it seems to indicate that apache is running.
Please CC the list on your replies, it has much more wisdom than I
Chen, Peter wrote:
Hi,
I have been trying to install mp2.0.4. In addition to having problems
with authen_basic, I am also getting a test fail for t/hooks/authz as
well.
My perl Makefile command is as follows: *perl Makefile.PL
MP_APXS=/home/Intranet/ssiweb/apache/bin/apxs*
Here
André Warnier wrote:
Maybe this is the time to ask.
I am using Linux Debian, and getting Apache 2, perl and mod_perl 2
from there (apt-get).
I have never been quite sure which mpm the packager decided to
configure, as the apache2.conf contains parameters for prefork,
pthread and perchild. So,
Steven Siebert wrote:
I'm relatively new to mod_perl - moving to a new job who's application
is solely written in it. This is a return to Perl for me, having
worked in PHP, Java, and .NET since Perl 4. As I'm learning to love
mod_perl and Perl in general, perhaps it's a good time for me to
cont
Puneet Lakhina wrote:
Hi,
I am trying to write a handler that modifies the content of the page
based on a regex match. essentially im trying to modify
tags in the outgoing HTML pages.
Now I am trying to do this using PerlOutputFilterHandler. I have the
following questions:
a) Is this the right
André Warnier wrote:
The responses there are indeed a bit scary. It feels like we're a dying
breed.
I believe this is to a large extent a "marketing issue" for perl in
general, and mod_perl by extension, with regard to the younger
programmers generation. At least in various European countries
The results of the mod_perl survey that Fred Moyer and I conducted can
be found at the following link:
http://kabob.ca/mod_perl_survey/
Here's a quick list of obvious (though arguable) conclusions:
- a lot of people have switched to mod_perl 2, mod_perl 1 is still very
significant.
- most of the
Jan-Aage Frydenbø-Bruvoll wrote:
Example:
SetHandler perl-script
PerlResponseHandler myreponsehandler
PerlAccessHandler myaccesshandler
SetHandler default-handler
# how to disable the PerlAccessHandler?
As you can see I've found how to disable/re-set the response handler,
but th
Jim Donovan wrote:
> Hi,
>
> We run a webmail system which was written in Mason. It won't let you download
> or read large attachments (~5MB upwards). This seems to be some sort of
> memory allocation error.
>
> If you watch the server with top(1) while downloading a 2MB attachment, you
> can se
Ryan Gies wrote:
Not a permanent home, but here is module which will slip in and give
you similar messages.
http://dev.livesite.net/Apache-Trace.pm
just put it in a dirctory named 'Apache2' in your @INC and add:
PerlPostReadRequestHandler Apache2::Trace->http_phases
You should package
Michael Peters wrote:
The client always sees the 500 which is what the access log reports as
well. It's just that in the CleanupHandler it comes back as 200 for
/foo/, but 500 for /foo/index.pl.
Just to be clear, when you do this:
GET /foo/
do you get this in the error log?
URI: /foo/ind
Michael Peters wrote:
The client always sees the 500 which is what the access log reports as
well. It's just that in the CleanupHandler it comes back as 200 for
/foo/, but 500 for /foo/index.pl.
That really is strange. Perhaps the status is getting mangled at the
end of the Log phase or some
Michael Peters wrote:
But when I make the request to just /foo (instead of /foo/index.pl) I
only get this in my error log:
URI: /foo/ STATUS: 200
you've said to /foo, but your error_log is saying /foo/. What's going
on there? mod_dir redirecting a bare directory request?
The stranger par
Philip M. Gollucci wrote:
Joachim Zobel wrote:
Hi.
If stat returns 777 (octal), protection returns 0x777 (hexadecimal). The
documentaion claiming this as the same value should be fixed.
If you can submit a patch or point to this documentation, I'll be glad
to update that for you.
I'm guess
Perrin Harkins wrote:
On Thu, Oct 23, 2008 at 3:22 PM, Perrin Harkins <[EMAIL PROTECTED]> wrote:
On Thu, Oct 23, 2008 at 2:55 PM, Adam Prime <[EMAIL PROTECTED]> wrote:
PerlSections->dump kind of does what we want,
except that it doesn't expand the macro's th
Michael Peters wrote:
Adam Prime wrote:
Is it theoretically possible to actually generate something like that?
> Any ideas?
I'm definitely ignorant enought about Apache's internals to be able to
answer that question. And the following doesn't really answer your
question,
At $work we have a situation where large chunks of configuration are
being created with PerlSections, in combonation with mod_macro. There
is a desire to see what exactly that all get mapped to in a more
traditional Apache configuration like style. PerlSections->dump kind of
does what we wa
Usually, if you run into problems that only affect POST requests, that
means that somewhere earlier in the apache cycle there is something
consuming the posted data. Looking at the code you've posted though,
it's not immediately obvious that that is the problem, nor is it obvious
that it's act
CthuMP wrote:
I have follow simple script:
!#/usr/bin/perl
print "Content-Type: text/html\n\n";
print "Counter: " . (++$counter) . "\n";
print time(), "\n";
sleep(20);
print time(), "\n";
Starting that script twice in two different browser windows gives me same
results. In second window I st
André Warnier wrote:
Torsten,
Many thanks for the excellent information, I will ponder that.
More below, but one more question here :
Where does $r->internal_redirect "live" (in which package) ?
I am having trouble finding it.
http://perl.apache.org/docs/2.0/api/Apache2/SubRequest.html#C_inte
Quoting valerio crini <[EMAIL PROTECTED]>:
Hallo,
I'm trying to use modperl2's feature 'auto configuration' but without
success.
Manual says in
http://perl.apache.org/docs/general/testing/testing.html#Auto_Configuration
that in order to add automatically new items to location is necessary
add
André Warnier wrote:
Hi gurus.
Do I understand this correctly that if in a Perl Handler i get
my $c = $r->connection();
then $c is the object that represents the persistent TCP/IP connection
between the browser and the server, in case there is "keep-alive" going
on ?
>
Now lets say that I cre
Quoting John Drago <[EMAIL PROTECTED]>:
There are a few options:
1---
Run your VirtualHost with PerlOptions +Parent.
This gives each VirtualHost its own Perl interpreter.
This is mod_perl 2 specific, and until right now i personally was
completely unaware of it. Has anyone actually used it
1.07 is broken. PGOLLUCCI said it was going to get reverted, but
apparently it hasn't happened.
see http://rt.cpan.org/Public/Bug/Display.html?id=36346
Adam
Quoting Perrin Harkins <[EMAIL PROTECTED]>:
On Wed, Sep 24, 2008 at 12:39 PM, Fred Moyer <[EMAIL PROTECTED]> wrote:
I went ahead and
Quoting Fred Moyer <[EMAIL PROTECTED]>:
See Apache2::Request, it mirrors the CGI param api.
In case you dont know, Apache2::Request is part of libapreq2
(http://httpd.apache.org/apreq/). IMO, using it is the best way to
achieve what you're trying to do if you're developing for mod_perl
o
101 - 200 of 314 matches
Mail list logo