unsubscribe
Hi,
I've just moved a shopping cart I've been working on into mod_perl, and
fortunately it all seems to have worked straight away without any code
changes.
There is one problem though related to the what seems like caching of
pages. I'm building each page of categories based on the category id
pa
eizmann Institute of Science
> Rehovot, Israel 76100
> Internet: [EMAIL PROTECTED]
> 08-934-3036
>
>>>> andrew dunn <[EMAIL PROTECTED]> 10/12/2003 02:38:51 >>>
> Hi,
>
> I've just moved a shopping cart I've been working on into mod_perl,
I actually went through that page aswell and managed to figure out all of
the problems by tidying up my code and variables. Thanks for the pointer.
Feel bad for you though Simon. It sucks when you don't get to program full
time in the language of your choice. I'm having to write web apps in C# for
L
is something I've been wondering about for a while. Anyone solve
this problem well?
-Andrew
--
Reporting bugs: http://perl.apache.org/bugs/
Mail list info: http://perl.apache.org/maillist/modperl.html
> Effectively testing web apps without messing around with parsing HTML
> is something I've been wondering about for a while. Anyone solve
> this problem well?
Not sure if this falls into your parsing HTML category or not but I've
found it to be quite comprehensive when it comes to testing web
ock perl, but I don't recall that
having any effect on anything
else in the system.
Actually, I think this issue was one of the motivators for removing
perl from the base FreeBSD distribution
(in version 5.0 and up).
Hope this helps
Andrew
cc -I. -I/usr/local/lib/perl5/5.8.3/mach/CORE -I.
t know why the upgrade leaves the other 5.x dirs there.
Actually, those directories should be ok as is.
Check in /usr/lib and see if you see something like libperl.so or
something
along those lines.
Andrew
Anyhow, you say removing these will help the compile - but I would
think ther
ng major.
One thing you will have to be
careful about is rebuilding any perl libs (from CPAN) for your new
version of perl. At this point you should
be able to build mod_perl, etc.
Andrew
Thanks,
Forrest
At 10:19 PM 1/29/2004, Andrew Wyllie wrote:
On Thursday, Jan 29, 2004, at 22:11 US/Easte
FreeBSD 5.2 (ok, that might be the problem right there...)
I've tried mod_perl 1.99_12 and the latest in cvs with perl 5.8.1 and
5.8.3
Thanks
Andrew
565 [EMAIL PROTECTED]:/usr/local/perl/cpan/build/Apache-Test-1.07$ make test
/usr/local/perl-5.8.1/bin/perl -Iblib/arch -Iblib/lib t/TES
/lines of attack would be appreciated!
I'm running FreeBSD 5.2, perl 5.8.3 and mod_perl 1.99_13 .
thanks
Andrew
(full output from t/TEST t/apache/add_config.t below and error_log)
605 [EMAIL PROTECTED]:/usr/local/src/build/mod_perl/cvs/modperl-2.0$ t/TEST
-clean
606 [EMAIL PROTECTED]:/us
d test ok on FREEBSD
current
(as of Feb 3, 2004).
thanks
Andrew
On Wednesday, Feb 4, 2004, at 15:25 US/Eastern, Andrew Wyllie wrote:
Hi all,
I managed to get the tests to run after applying the ipv6.patch that
Stas posted the other day,
but none (or not many tests are passing). I think the pr
On Wednesday, Feb 4, 2004, at 18:10 US/Eastern, Ged Haywood wrote:
Hi there,
On Wed, 4 Feb 2004, Andrew Wyllie wrote:
after rereading my previous post, I found one slight difference
(funny how it works that way sometimes).
:)
(Actually, having a beer and reading it again...)
When I used
You forgot a part:
CGI::WhyHasn'tThisBeenWrittenBySomeoneElseAlready::Dammit::[Session|Wrapper]
Also, I don't know if apostrophies would work as Perl would think it was a quote. ;)
--
Andrew Gaffney
Network Administrator
Skyline Aeronautics, LLC.
636-357-1548
--
Report problems: http://perl.apache.org/bugs/
Mail list inf
All tests passed on FreeBSD-5.2
Thanks!
Andrew
Stas Bekman wrote:
A release candidate for mod_perl-1.99_13 is available:
http://apache.org/~stas/mod_perl-1.99_13-dev.tar.gz
Please test and report any failures to this list.
If everything goes well, 1.99_13 will be released on Tuesday, so
All tests passed on FreeBSD-5.2, Perl-5.8.3, Apache-2.0.48
Thanks!
Andrew
Stas Bekman wrote:
A release candidate for mod_perl-1.99_13 is available:
http://apache.org/~stas/mod_perl-1.99_13-dev.tar.gz
Please test and report any failures to this list.
If everything goes well, 1.99_13 will
red maximum packet
size -- the MySQL server would simply drop the connection, prompting
DBI to give that error.
I imagine that if you're using Apache::DBI, restarting Apache would
appear to fix the connection, leading you to suspect a mod_perl problem.
problem.
Cheers,
Andrew.
--
::
article seven Andrew Green
automatic internet [EMAIL PROTECTED] | www.article7.co.uk
--
Report problems: http://perl.apache.org/bugs/
Mail list info: http://perl.apache.org/maillist/modperl.html
List etiquette: http://perl.apache.or
a serialised Perl
hash along with other information in the database. In the end, I chose
to write the serialised hash to disk in a way that corresponded to the
MySQL row ID, which meant I was no longer trying to store anything
potentially big in the database directly.
Hope that helps!
C
ay". Restarting Apache will bring MySQL back,
but you'll still have lost your data.
Cheers,
Andrew.
--
::
article seven Andrew Green
automatic internet [EMAIL PROTECTED] | www.article7.co.uk
--
Report problems: http://perl.apache.org/bugs
he limitations for the application where
the packet size issue bit me (it's a cache of search results, so I'm
cleaning out the database every half-hour or so anyway; and it's on a
dedicated machine) -- but I can see that it's not good advice for just
when it is changed?
--
Andrew Gaffney
Network Administrator
Skyline Aeronautics, LLC.
636-357-1548
--
Report problems: http://perl.apache.org/bugs/
Mail list info: http://perl.apache.org/maillist/modperl.html
List etiquette: http://perl.apache.org/maillist/email-etiquette.html
Perrin Harkins wrote:
On Wed, 2004-04-14 at 13:21, Andrew Gaffney wrote:
I'm running Apache 1.3.29 and mod_perl-1.27 because I'm also using Mason. I have written a
custom module for use in my mod_perl/Mason scripts, but when I make changes, I have to
restart Apache so the modu
Perrin Harkins wrote:
On Wed, 2004-04-14 at 13:35, Andrew Gaffney wrote:
Ah, I was under the impression it was for MP2.
There is a version of it bundled with mp2. The mp1 version is not
bundled, so you need to install it from CPAN before you can use it.
Ah, thanks.
--
Andrew Gaffney
Network
Hello,
Andrew Waegel here, popping over from the HTML::Mason list with a
request for help. I've reached the limit of my debugging ability and am
now looking for an experienced Apache/mod_perl/mason developer to help
me debug a problem I'm having with my system.
Some more details on t
Looks like they have created their own database. It's
not all that accurate either. I have a few IPs with websites on
them which just turned up "no data available".
For example, www.perl.org is on 63.251.223.172
but it does not come up at http://whois.webhosting.info/63.251.22
ux. Does anyone have
any idea why it is doing this?
--
Andrew Gaffney
Network Administrator
Skyline Aeronautics, LLC.
636-357-1548
--
Report problems: http://perl.apache.org/bugs/
Mail list info: http://perl.apache.org/maillist/modperl.html
List etiquette: http://perl.apache.org/maillist/email-etiquette.html
st=,
domain=DOMAIN1, msg_len=0
[Mon Jul 5 15:04:50 2004] [error] access to /res/env.cgi failed for ,
reason: SMB Server connection not open in state 3 for /res/env.cgi
Any ideas would be very much appreciated.
Cheers,
Andrew.
--
::
article seven Andrew Gree
but the same code
runs in 1.x and 2.x mod_perl/apache setups.
Andrew.
--
Report problems: http://perl.apache.org/bugs/
Mail list info: http://perl.apache.org/maillist/modperl.html
List etiquette: http://perl.apache.org/maillist/email-etiquette.html
such.
thanks
Andrew
Index: lib/ModPerl/BuildOptions.pm
===
RCS file: /home/cvspublic/modperl-2.0/lib/ModPerl/BuildOptions.pm,v
retrieving revision 1.21
diff -u -r1.21 BuildOptions.pm
--- lib/ModPerl/BuildOptions.pm 13 Aug 2003 22
onment? I'm in the process of setting up a new server, and I'd
like to make sure the UTF8 handling is as good as it can be, and it'll
be doing a fair amount of XML work. And I'll be using MySQL too.
Cheers,
Andrew.
--
Reporting bugs: http://perl.apache.org/bugs/
Mail lis
oublesome than Perl's.
Amen to that.
Cheers,
Andrew.
--
::
article seven Andrew Green
automatic internet [EMAIL PROTECTED] | www.article7.co.uk
--
Reporting bugs: http://perl.apache.org/bugs/
Mail list info: http://perl.apache.org/maillist/modperl.html
post some code snippets if it'll help.
Thanx!
Andrew.
--
Reporting bugs: http://perl.apache.org/bugs/
Mail list info: http://perl.apache.org/maillist/modperl.html
nyway, just thought I'd comment that the reason I think most mod_perl
developers would think to use that functionality would be memory, rather
than speed. Pretty much all of our mod_perl servers are memory bound
rather than CPU bound, and are "fast enough&quo
ntent handler never gets called.
Is there something obvious that I miss?
Andrew.
--
Reporting bugs: http://perl.apache.org/bugs/
Mail list info: http://perl.apache.org/maillist/modperl.html
it instead. And while
parsing, it assumes that arguments can be separated by both ';' and '&'.
So that if we join arguments back we either convert all ';'s into '&'s
or vice versa.
Any ideas?
So far I can only see customizing CGI.pm to make
On Mon, Dec 08, 2003 at 11:42:43AM -0800, Stas Bekman wrote:
> Andrew Maltsev wrote:
> > So far I can only see customizing CGI.pm to make it save original
> > POST'ed content.
>
> If Geoff's module doesn't work for you, you could do the following:
The appli
On Mon, Dec 08, 2003 at 12:31:59PM -0800, Stas Bekman wrote:
> Andrew Maltsev wrote:
> [...]
> >>Slurp STDIN before you call CGI->new() into an IO::String object,
> >
> >
> > Can't. I get references to $cgi and $r, that's given. I tried ge
pd WITHOUT --enable-modules=so. This
causes httpd to be (realistically) unusable. Especially since the mod_perl.so
is a LoadModule!
If anyone can help and send this small nightmare to those that do the mod_perl
stuff then a big thank you,
Andrew Charnley
xWMS Inc.
--
Report prob
d for info: http://www.vttoth.com/loadmod.htm
7. Summarised ModPerl should be using this. Compiled apache manually with this
and problem fixed, but then I don't get ModPerl.
Andy.
On Fri, 17 Dec 2004 15:44:23 -0500
Stas Bekman <[EMAIL PROTECTED]> wrote:
> sorry, but please follow up back to
ECTED]> wrote:
> Andrew Charnley wrote:
> > Have followed all instructions. There is no mention of this. I do not know
> > how modperl generates the apache configure file but it should insert the
> > stuff --enable-module=so gives when calling ./configure on apache sr
Finally fixed!!! The joy!!!
If I uncommented those lines without supplying apache argu in the way you
mentioned I got the formentioned error. Now I've given apache that argu and
commented these out and all running sweet.
Big thanks!
Andrew C.
On Fri, 17 Dec 2004 16:43:01 -0500
Stas B
perl if
at all possible. Nonetheless, any help, advice or guidance anyone can
provide would be very much appreciated.
Cheers,
Andrew.
use MyApp::MyInstall::Dispatcher ();
Thanks for your help.
Cheers,
Andrew.
--
::
article seven Andrew Green
automatic internet [EMAIL PROTECTED] | www.article7.co.uk
, and only two of them
are exhibiting this odd behaviour. Perhaps significantly, both scripts
I've seen return this error are used to upload files.
Does anyone recognise this error?
In hope, and with thanks,
Andrew.
On Thu, 17 Mar 2005 20:00:34 -0500, Stas Bekman wrote:
> Andrew, any chance you could minimise the script so that you can
> still reproduce the problem...
Many thanks for responding, Stas. I'll certainly try.
I fear that the fact that the problem is really very intermittent might
Is it possible to replicate the functionality of application pooling in
IIS 6 with mod_perl2 and apache 2?
I've looked at Registry scripts but at this point am unsure as to how
they can help me with more than one application.
Thanks!
Andrew
uld appreciate any and all suggestions
Thanks!
Andrew
Joe Schaefer wrote:
Andrew Wyllie <[EMAIL PROTECTED]> writes:
my $jar = Apache2::Cookie::Jar->new( $r, VALUE_CLASS =>
"Alta::Cookies::Cookie" );
Oops, looks like I b0rked that API in 2.05. Here's the preferred
aproach now:
my $req = APR::Request::Apache2->
eturns 1.
What am I missing here? Is is possible to achieve this effect without
creating a wrapper around Apache::AuthCookieNTLM? If not, what might I
need to override in order to achieve this?
Any advice, as always, would be most gratefully received.
Cheers,
Andrew.
r_out()
and err_header_out(); omitting either would cause no Content-Length header
to be sent, but including both would work.
Can anybody shed any light on this issue for me? Thanks in advance!
Humbly,
Andrew
-
in Europe or roughly US$18 to North America).
Regards
Andrew
--
Andrew Ford, DirectorPauntley Prints / Ford & Mason Ltd
[EMAIL PROTECTED] South Wing Compton House
pauntley-prints.co.uk Compton Green, Redmarley Tel: +44 1531 829900
ford-mason.c
until the fixup handler--too late. Is there any other way to get
my hands on this information?
Andrew
uri );
my $dn = $subpr->subprocess_env('SSL_CLIENT_S_DN');
Not that I would ever recommend that with Apache::SSLLookup available!
Andrew
ginal file changes
at which time you would reprocess the file. This way, you only have to process
the file once and performance becomes a non issue - although being able to
process the file once with XS may be advantageous to some if they have a very
large JS/CSS files.
Andrew
- Ori
that minifies the JS/CSS
code
if it changes, caching the result to use for subsequent requests. It seems like
a bit waste of cycles to minify every time the file is requested, and worrying
about the speed of minification seems unnecessary.
Andrew
- Original Message -
From: "John O
odule would be really
useful.
Andrew
- Original Message -
From: "Michael Peters" <[EMAIL PROTECTED]>
To: "Clinton Gormley" <[EMAIL PROTECTED]>
Cc: "Boysenberry Payne" <[EMAIL PROTECTED]>, "modperl List"
Sent: Monday, October 22, 20
use lib Apache->server_root_relative('lib/perl');
}
use Apache::Registry();
1;
#
Can anyone give me a hint at what could be causing this and what I should be
looking at next?
Andrew
d to have correctly built mod_perl.so in the right place
(/etc/httpd/modules) but produces the same error.
[EMAIL PROTECTED] ~]# yum list mod_perl
Loaded plugins: allowdowngrade, refresh-packagekit
Installed Packages
mod_perl.i386 2.0.4-6
installed
Andrew Ircha
f my system. (This shows
just how naive I am).
-Original Message-
From: Fred Moyer [mailto:[EMAIL PROTECTED]
Sent: Wed 10/8/2008 6:02 PM
To: Ircha, Andrew
Cc: modperl@perl.apache.org
Subject: Re: Cannot start Apache with mod_perl
ispyhumanfly wrote:
> Ircha, Andrew wrote:
>> I'm atte
Coming back to this, I used yum to update from mod_perl 2.0.4-6 to
2.0.4-7 and I was able to restart httpd (Apache). Haven't done any more
testing, but this is an encouraging start.
From: Ircha, Andrew
Sent: 09 October 2008 00:26
Subject: RE: Cannot
Perrin Harkins elem.com> writes:
>
> On Tue, Nov 11, 2008 at 12:49 PM, David E. Wheeler kineticode.com>
wrote:
> > To a certain degree, Apache/mod_perl is a victim of the success of HTTP.
> > It's fairly easy to implement a new HTTP server, so there are a lot of them,
> > and many are easy to u
unsubscribe
red the longer route and move
the rest of the application to Unix.
Any advice, ideas or thoughts appreciated.
Thanks and regards - Andrew
lle.com, but have no
details of how this was constructed,, and this takes over and installs a
heap of replacement dll's. This won't even start standalone, and I'm
probably going to have to do a clean Perl install to recover from that.
Still struggling
Andrew
a linked Access database to give me a quick and dirty
query interface into the DB.
Regards
Andrew
user requirement
has actually been set.
I'm running mod_perl 2.0.4, perl 5.12.3 and Apache 2.2.17 on Fedora 14.
What am I missing? Is there something else that could prevent this from
working, when it works just fine if I set requires in httpd.conf?
Any pointers would be very much appreciated!
Thanks,
Andrew.
ar.
Thanks so much, Torsten -- you're a star!
Interestingly, adding a PerlMapToStorageHandler caused a segfault, but using a
PerlHeaderParserHandler instead (with identical code) worked like a dream.
Cheers,
Andrew.
--
Andrew Green
Article Seven Limited
http://www.article7.co.uk/
Article Seven Li
es a segfault:
$r->push_handlers(PerlMapToStorageHandler => Apache2::Const::DECLINED);
> The problem with the PerlHeaderParserHandler is that it is skipped for
> subrequests. That might in your case affect security.
Thanks -- that's very useful to know.
Cheers,
Andrew.
--
Andr
rlTransHandler. I'd moved things
around in my experiments earlier!
Thanks so much again for the help and advice.
Cheers,
Andrew.
--
Andrew Green
Article Seven Limited
http://www.article7.co.uk/
Article Seven Limited is a registered company in England and Wales. Registered
number: 57036
th ActiveState Perl
"(v5.12.2) built for MSWin32-x86-multi-thread".
Andrew
to be looked at in the .dll?
Cheers,
Andrew Merton
arams::Classify partly because
this crash only occurs under certain circumstances. When I later
reintroduced DateTime it didn't seem to crash any more, so I never thought
it would be causing this one. Oh well, live and learn...
Thanks for the response...
Andrew
On Sun, Jan 29, 2012 at 11:
It may be nothing, but I spent 2 months (off and on) with a crashing
mod_perl/Apache to discover that in my case it was the DateTime that was
the cause.
Hans (on the list) confirmed this and said "The latest DateTime and
DateTime-TimeZone modules that work with mod_perl are DateTime 0.70 and
DateT
's not straight way. Through some strange
backdoor, right?
Maybe there's more fancy way?
P.S. I don't want to enable global request, want to make more
efficient / less memory code.
--
creator, owner and maintainer of http://www.ladoshki.com and http://patent.km.ua
my CV/about: http://patent.km.ua/eng/nugged?nc=lmp20
With respect, Andrew Nugged.
_process_request () at http_request.c:442
#19 0x4013d2a0:0 in ap_process_http_sync_connection ()
As you see above some back traces are different for the cores that we got.
So we feel that there is some race between threads here.
Please help us to solve this above.
Regards,
Andrew
my app on both Apache 2.2 and Apache 2.4
servers. Is there anything in the API that would let me determine which one is
in use, so that I can allow for both in my code?
Many thanks for any pointers!
Cheers,
Andrew.
--
Andrew Green
Article Seven Limited
http://www.article7.co.uk/
Article
f = shift;
# So this compiles under old Apache
no strict 'subs';
if ($self->is_old_apache) {
return Apache2::Const::OK;
} else {
return Apache2::Const::AUTHZ_GRANTED;
}
}
Thanks again to you all for your help.
Cheers,
Andrew.
--
Andrew Green
Article Se
u are asking.
I did try this (and it worked fine) — but I kept seeing the following error pop
up in the logs:
ap_get_server_version() is deprecated since httpd/2.3.0 try using
ap_get_server_(description|banner)() instead
So I switched to banner. I’ll see about switching again to desc
tu) mod_apreq2-20090110/2.8.0
Perhaps it’s inconsistent across distributions?
Cheers,
Andrew.
--
Andrew Green
Article Seven Limited
http://www.article7.co.uk/ <http://www.article7.co.uk/>
Article Seven Limited is a registered company in England and Wales. Registered
number: 5703656. R
all or afterwards):
$r->content_type("application/json; charset=utf-8”);
It’s not a huge deal — and I haven’t yet tested whether React freaks out over
the Forbidden HTTP status regardless.
But if there’s a way to do this, I’d love to know. Thanks!
Cheers,
Andrew.
--
Andrew Green
Hi all,
I’d like to be able to set SameSite=Strict on a cookie generated using
Apache2::Cookie, but if I simply try to set that parameter, I get the following
error:
Can't locate object method "SameSite" via package "Apache2::Cookie”
Is it possible?
Many thanks,
Andrew.
u can give.
Andrew Cadman
I just upgraded Perl from 5.8.0 to 5.8.2. Everything seems to work
great, except for Apache/mod_perl (1.3/1.29). I run a separate version
of Apache and mod_perl for testing from within my home directory (under
~/local/apache-1.3). When I try and run my local Apache, I'm given the
following erro
Thanks for the prompt reply.
Stas Bekman wrote:
You probably have a messed up perl install. Nuke completely
/home/sterling/local/apache-1.3/lib/perl5 rebuild the new perl, rebuild
mod_perl and it should all be fine.
I did this once actually. When I rebuilt mod_perl the second time, I did
an rm
Hi there –
I am going through the motions of recompiling mod_perl on a
Red Hat Enterprise 3 server. The server was originally configured with Perl
5.8.0, but the application
which I am trying to install requires Perl 5.8.3 or later. I
downloaded the source code for version 5.8.8 and in
:[EMAIL PROTECTED]
Sent: Monday, February 27, 2006 4:57 PM
To: Kaplan, Andrew H.
Cc: modperl@perl.apache.org
Subject: Re: Problem Recompiling mod_perl
On Mon, 27 Feb 2006 16:20:51 -0500
"Kaplan, Andrew H." <[EMAIL PROTECTED]> wrote:
> I need to recompile mod_perl to use the 5.8.8 li
valent of a core dump file to analyze. The
Event log points to a directory containing only a text file (*.wer)
which doesn't have anything useful AFAICS...
Andrew
I always keep separate logs for forked processes because i have no
idea how to make that work flawlessly. but if you are really
desperate, you could do something as bizarre as POSTing your log
messages-from the forked process-to an apache process that simply
echos the posted data to the apa
displays finebut clicking the submit button doesn't do
anythingit just redisplays the same page. But it's the *same script*
as in the first link. It's just being accessed through the alias. So, I
don't understand why it doesn't
t appeared before I even selected the value from the
popup_menu.)
Note: The same script works fine when called from the non-alias path.
Thanks,
Andrew
Andrew Billeb | ATS - Config | 860-547-5983 |
[EMAIL PROTECTED]
-Original Message-
From: Colin Wetherbee [mailto:[EMAIL PROTECTED]
Sen
91 matches
Mail list logo