On Mon, Jun 30, 2008 at 10:54:20AM +0200, Tobias Kremer wrote:
> Any other ideas? Thanks!
It could be that your query(result) is too large for the
'max_allowed_packet' setting. The mysql-client that is connected to your
process will then silently die, giving the 'Lost mysql...' error as
result.
> is it possible to hand over the POST input of a SSI document to a virtual
> included part of it?
>
> I have an SSI document that contains
>
>
>
> This way I can pass parameters that are passed in the URI to the
> subrequest.
> But how can that be done if the request method is POST? (There is onl
Hi,
In an explanation to J. Peng you wrote some interesting bits that I put in
a condensed form below. Now you mentioned in another mail that the subject
has shifted a bit, so I changed the subject and dehooked this mail from
the thread. Because there is something that "worries" me...
> As for
On Sat, Jan 13, 2007 at 02:52:03PM -0500, Perrin Harkins wrote:
> Frank Maas wrote:
> >I have installed version 2.2.3 of apache and want to install
> >2.0.3 of MP. Compiling it gives no problems, but 'make test' fails on
> >four files. All fail on the authentica
Dear group,
I filed a bugreport, but got zilch response, so either I am doing
something very stupid, or the mail escaped the attention. I'll try
again... I have installed version 2.2.3 of apache and want to install
2.0.3 of MP. Compiling it gives no problems, but 'make test' fails on
four files.
I have an SVN of ModPerl 2.0.3 RC1 installed which works (after a slight
tweak of a test), but now 2.0.3 is released I like to upgrade. However...
the test suite fails a couple of times. I tried to look for the cause of
the problem, but was unable to (sorry if it is something obvious).
> the loss happens directly after the tie.
Which one? The first, the latter or both?
Regards,
Frank
> Frank Maas wrote:
>
>> On Tue, Aug 01, 2006 at 07:33:51AM +0100, John ORourke wrote:
>>
>>
>>> You could even do something really clever and make it map URI onto
>>> module - eg. so /debitor/contract/create calls
>>> Debitor::Contract-&
On Tue, Aug 01, 2006 at 07:33:51AM +0100, John ORourke wrote:
>
> You could even do something really clever and make it map URI onto
> module - eg. so /debitor/contract/create calls
> Debitor::Contract->create(), but that wouldn't be very secure!
>
Why would that be not very secure? Could you g
> -8<-- Start Bug Report 8<--
> 1. Problem Description:
>
> I'm trying to use stored procedures in a mysql database from within a perl
> script.
> A simple test script runs fine from a command-line perl interpreter, and
> runs fine
> when invoked via CGI.
>
> I think i'm using the wrong handler, but is there any handler can handle
> this problem?
As far as I can remember mod_rewrite kicks in after a PerlTransHandler. This
should enable you to use a TransHandler to rewrite the URI based on the
database contents, eg:
http://o.example.com/2.gif -> h
> but the thing about output filters is they should do something like
>
> return DECLINED unless $r->content_type =~ m/something_I_can_handle/;
>
> so your xml filter should decline (or better, remove itself) from the
> filter chain if it's not xml you're being asked to process.
yup, I'll tell
>> This object does some basic things for generating XML, hence the
>> content_type. This, again, works fine. Now the problem - if an
>> unexisting action for this "XML subclass" is requested, the AUTOLOAD
>> kicks in. The AUTOLOAD sets the content-type back to HTML
>> ($r->content_type('text/html'
Hi
I am experiencing a problem that I do not see solved or named in the
mailing list, but this can be due to my lack of search terms. So I try
here and hope not to get flamed. The problem bearer is content_type.
I have created some inheriting objects that deal with handling a certain
request.
Tom,
> As a sidenote often it is not really desired/dangerous to run image
> creation as a mod_perl handler because of the nature of perl, memory
> allocated once is never freed until the process shutdowns or is killed
> (by your Apache::SizeLimit handler).
Ah, you got me worried there... How in
>Is there an easy way (a tool) to locate all uninitialized variables for
>modperl
>modules in a dirctory so I can initilized them and get rid of the annoying
>warnings? Googlling on the internet seems no useful results. Some one shield
>me a light?
Does not seem to be a specifiec mod_perl th
On Thu, Feb 16, 2006 at 11:31:00AM -0500, Geoffrey Young wrote:
>
>
> Peter, Attila wrote:
> > I did return DECLINED since I've read the documentation
> > and it was clear to me that I had to return DECLINED,
> > however, the handlers seemed to get stacked.
> >
> > So what happens is that if my
(put back on the list as per request)
>> On Mon, Dec 05, 2005 at 12:11:29PM +0100, Enrico Sorcinelli wrote:
>>> On Mon, 5 Dec 2005 11:47:59 +0100
>>> Frank Maas <[EMAIL PROTECTED]> wrote:
>>>
>>> on 20 Aug 2005, Philip M. Gollucci take over the m
On Sun, Dec 04, 2005 at 10:45:03AM +0100, Enrico Sorcinelli wrote:
>
> Have you contacted Apache::DBI maintainer in order to integrate your work with
> that module?
I have the distinct impression that the maintainer is too busy to respond.
If I am not mistaken Philippe has tried this with no res
On Wed, Oct 19, 2005 at 11:15:18AM -0400, Garrison Hoffman wrote:
>
> This really has more to do with Apache than mod_perl. Look at the
> Apache docs for mod_access & RemoveHandler.
>
> http://httpd.apache.org/docs/2.0/
>
> Anything you can override, you can also restore. In the case of
> auth
AuthzHandler and a
PerlFixupHandler for / and would like to disable all for /images. Is
that at all possible (with MP2)? And if so: how?
Met vriendelijke groet / Kind regards,
Frank Maas
Cheiron IT bv
> I tried wrapping the DirectoryIndex (in the main config area) around
> this IfModule tag..problem persists.
Yeah well, that is no surprise, the IfModule tag just removes the tags
within the container if the module does not exist. I agree with Perrin
that you are probably touching on a non mo
> Thanks, Frank, thanks, Damyan, for your answers.
>
> I've add testing info to my script, as you recommend:
>
> Editing: [2612]8068957.60529976$self current=0
> Editing: [2613]8068957.60529976$self current=0
> Editing: [2614]8068957.60529976$self current=0
> Editing: [2614]8068957.60529976$self
> Changing the extension does not allow the page to come up as default
> (even when changing the DirectoryIndex to reflect the extension
> change).
Now I know you don't want this in the end, but what happens if you
add 'AddHandler perl-script .pl' to your configuration? And are you
sure no other
Dickon,
> I'm having trouble with my default index file (DirectoryIndex) in
> Apache
What happens if you move (or copy) the DirectoryIndex definition into
the directory container for the perl scripts. Thus:
>
> ServerName 10.1.1.249
> DocumentRoot /usr/local/www/data/
> UseCanon
Hi,
I think you've just come accross the fact that in a normal setup there is
more than one httpd process (and thus more than one perl interpreter) that
is serving your requests. As each process starts at the same time and each
perl interpreter has its own memory space, the fact that both creation
On Sun, Sep 18, 2005 at 10:43:09PM -0700, Bill Whillers wrote:
> When using Storable freeze/thaw to work with basic object (hash) storage
> within a mysql db (blob column), I can't seem to get any more than 65535
> bytes stored.
You touched the limit of a BLOB, which is limited to 2^16 bytes. Ch
Guys,
I am getting a bit nervous and since it is Saturday and I am -1 day before
a deadline, this is not good. So, although this thread (and my question) is
drifting towards basic Perl, I try my luck.
I make use of the following construction
package A::B::C;
my %CFG = ( some_tag => some_config,
> Frank Maas wrote:
>
>> What you can try is to update the Last-Modified header on each
>> request. Bear in mind that this won't work for requests that are made
>> within the same second. To probably state the obvious: it is
>> necessary that you set the hea
Davind,
IMHO the problem is hidden in the headers...:
> [EMAIL PROTECTED]:~$ head -n 12 picture.2
> HTTP/1.1 200 OK
> Date: Fri, 01 Jul 2005 23:36:53 GMT
> Server: Apache/1.3.33 (Debian GNU/Linux) mod_perl/1.29
> Last-Modified: Wed, 04 Jun 2003 06:53:10 GMT
> ETag: "1064b-515f-3edd9756;42c4b3fd"
Bram,
> I'm sorry if this question has already been answered, but I couldn't
> find the answer.
It looks very much as if you are not using mod_perl. Your code does not
contain handlers gives that away. So your problem is most likely not
going to be solved on this list. If you are really using mo
Hello Arshavir,
> I am trying to use the stacked handlers functionality but cannot seem
> to get it working. What I have is the following 2 modules:
>
> package Test;
[...]
> $r->push_handlers(PerlResponseHandler => 'Test1::handler');
>
> package Test1;
[...]
> sub handler {
[...]
>
>
>
Hi,
(a) this is a modperl list. your question seems a general perl issue,
please use the appropriate channels for this - not this list.
(b) whatever channel you choose for your question, be sure to give
information about what you are trying to achieve, what goes wrong, what
you tried to solve t
Hi Stas,
Thanks for responding.
> >this work I convert POST requests to GET requests (so the parameters are
> >not lost, based on a Geoff-example) and make sure that they get populated
> >to the subrequest (via a transhandler). This works... worked :-(
>
> what has changed since it was working?
Hi,
After some time doing other things, I recently started to upgrade our
installation. While doing this I got the new version of CGI.pm that uses
XHMTL for default and, as a result, uses multipart/form-data as default
encoding...
Our websystem works in a 2-phase manner: a user requests an URI and
On Tue, Oct 05, 2004 at 10:27:19PM +0200, Perrin Harkins wrote:
>
> Remember, Apache::DBI doesn't share these connections between processes
> -- every process will need to open a connection to all three databases.
If the databases all reside on the same server, you could initiate
one connection (
On Sun, Jul 18, 2004 at 12:32:00PM -0700, David Arnold wrote:
>
> Suppose that student A logs into our main page using his username and
> [...]
> information into a waiting PDF document. My first question is this: Is the
> username and password that student A used to login available to this next
>
Just so you know... mail.apache.org (aka hermes.apache.org with IP
209.237.227.199) is listed in a SPEWS list (Level 1 to be exact,
see http://www.spews.org/ask.cgi?x=209.237.227.199).
Unfortunately this means that mail from the mod_perl list, that
is sent through this server, can be marked SPAM
> David Arnold wrote:
>> Oooh! that's easy. Just change one line of rocks.pl. That is, change
>>
>> print "Content-type: text/plain\n\n";
>> to
>> print "Content-type: text/html\n\n";
>>
>> And all is well.
>
> Strange. It looks like a problem in your browser then. text/plain is
> a fine content
On Tue, Jun 08, 2004 at 05:43:23PM -0400, Perrin Harkins wrote:
>
> > With this background, I found the documentation on mod_perl 2
> > difficult for a new user.
>
> As you say, this is partly because you chose to start with
> Apache/mod_perl 2. The documentation for mod_perl 1 is more
> approac
Hi,
> Well, I tried increasing the max packet size, but all that did was decrease
> the frequency of the problem appearing. I increased it from 1MB to 8MB.
> Think that was enough?
You never send us a code fragment did you? The thing puzzling me is
"decrease the frequency"... I agree with Andrew
Hi,
I'll start with appologising for being slightly off-topic, although
this is the best group I could think of to ask this question.
I am running a setup with a webserver, a proxy and the clients. Clients
request a page through the proxy and the webserver creates every page
on the fly. For this
> Yes, but no error is reported. The page works as if the link was just
> "page.html" instead of "page.html?foo=bar&baz=1", but the access-log
> has the whole link.
Nobody seems to have asked you yet, but could you give some insight
into your httpd.conf and handler routine? It might help, certai
Hi Aleksandr,
You say the process hangs here:
> read(3, 0x8293b7c, 4096)= ? ERESTARTSYS (To be restarted)
> --- SIGWINCH (Window changed) @ 0 (0) ---
> read(3, 0x8293b7c, 4096)= ? ERESTARTSYS (To be restarted)
> --- SIGWINCH (Window changed) @ 0 (0) ---
> read(3, 0
> Let's do this: try to fix it in the next version. If someone
> discovers that we broke their code we will revert it. How does it
> sound?
Gee... not on a technical, but more on a philosophical side: is this
a wise thing to do? It means that you have to be damm sure that someone
(a) can find out
Jacqui Caren replied to me in stead of the list:
> Frank Maas wrote:
>>> I would like to know if there is a module that allows me to capture
>>> the currently logged in user name of a client accessing a Apache web
>>> server.
>>
>>
>> Let me get t
Steve Adams replied to me in stead of the list:
> Frank Maas wrote:
>>> I would like to know if there is a module that allows me to capture
>>> the currently logged in user name of a client accessing a Apache web
>>> server.
>>
>> Let me get this straig
Hi Brett,
> I would like to know if there is a module that allows me to capture
> the currently logged in user name of a client accessing a Apache web
> server.
Let me get this straight... You are looking for a module _on the
Apache server_ that extracts the name under which the user logged in
o
> I've encountered a weird, intermittent problem. I have a Perl handler
> that handles a certain URL. Sometimes it will fail because the $r
> passed to it loses its class.
>
> The handler starts with:
>
> sub handler {
> use strict;
Could you enter the line
print STDERR "Handler called with
> Hi Frank,
[...]
>> Can it be that a subrequest (issued (by chance?) to the same child)
>> is messing things up? You might try adding a warn to the
>> CleanupHandler.
>
> I guess it could be... what should i be logging for in the
> CleanupHandler? (aka, what should i print to see if its a subrequ
Simran,
Just trying:
GH> however, any changes made to $r->document_root
GH> would persist for the entire life of the child, not just the life of
GH> the current request. for that reason, you were expected to always
GH> restore the value of $r->document_root to its original state.
GH>
GH> see re
Hi guys,
Maybe it's me and I am just missing something here, but what can I
expect if I want to use mod_perl 1 together with 5.8.1? All post
I saw here were about testing 1.99 (effectively mp2). The thing
that got me worried was Stas' remark about the new 1.99_10, which
is "the first release to su
> Is it possible to know has a user just clicked on a link or right
> clicked and selected "Save link target as" ?
>
> I've looked at $r->as_string for NN, IE etc.
I'd very much doubt it. AFAIK the underlying action in both cases is
that the page is fetched from the server. Left click means that
53 matches
Mail list logo