Are you running Apache on Windows?
Martin Moss wrote:
I seem to have something weird going on. a Module I've
written seems to be being included twice at server
startup, but the second time its included the
Apache::ServerStarting flag is set to 0... and is
therefore causing all sorts of grief...
Boysenberry Payne wrote:
One of the draw back that seems to be evident to me as I've looked
into the client side frameworks is changes in the code are ought
of your control. WIth a purely server side solution it would seem
to give the coder the choice to upgrade when there is time, etc.
With the
On Apr 26, 2007, at 6:05 PM, Michael Peters wrote:
I don't really know of a good one that has a nice matrix like view
for a
comparison. And any that do are way out of date. Like any
framework, it really
depends on what you want. Do you want it to smooth over some of
Javascript's
rougher ed
Boysenberry Payne wrote:
> It was Yahoo's yui-ext library aka extjs that I was told this could
> really be a problem
> with. So I guess all JS frameworks aren't created equal.
It actually shouldn't be a problem as long as you don't use their hosted version
of files and use local copies instead.
Options -Indexes
AllowOverride All
DirectoryIndex index.i
.htaccess contents
DirectoryIndex test.txt
I do the following
comment out directoryindex
#DirectoryIndex test.txt
then I request the virtual host and it gives me and can't find mod_perl
registry error
On Thu, 26 Apr 2007, Tyler Bird wrote:
Hi,
I have mod_perl 2.0 with apache on redhat enterprise 2.1
I have a AllowOverride All directive pointing to a directory where a
.htaccess file resides
I also have mod_perl 2.0 with apache on redhat enterprise 5
and the same AllowOverride directive a
Hi,
I have mod_perl 2.0 with apache on redhat enterprise 2.1
I have a AllowOverride All directive pointing to a directory where a
.htaccess file resides
I also have mod_perl 2.0 with apache on redhat enterprise 5
and the same AllowOverride directive as before.
When I move the .htaccess file
Tyler Bird wrote:
But I was wondering isn't there anything I can do to mod_perl that
will allow a plain warn to send it to my virtualhosts log and not my
servers
log.
without using the $r->warn() syntax
warn("hey") really goes t the virtual hosts log and I don't have to
put $r->warn()
If i recall correctly, different types of errors go to different logs...
so some stuff will go to the main apache server log, and others will
go to the vhost
i can't remember which errors go where though - i always tail both
files during development.
But I was wondering isn't there anything I can do to mod_perl that will
allow a plain warn to send it to my virtualhosts log and not my servers
log.
without using the $r->warn() syntax
warn("hey") really goes t the virtual hosts log and I don't have to put
$r->warn()
Tyler
On 26 Apr 2007, at 20:04, John ORourke wrote:
Come on people, someone's gotta do this for a laugh...
&{"do_".lc(($r->uri()=~/(\w+)\.com\//i))}();
sub AUTOLOAD { return undef; }
sub do_google { }
sub do_yahoo { }
Nice :)
--
Andy Armstrong, hexten.net
Come on people, someone's gotta do this for a laugh...
&{"do_".lc(($r->uri()=~/(\w+)\.com\//i))}();
sub AUTOLOAD { return undef; }
sub do_google { }
sub do_yahoo { }
Yeah so I'm bored and ready for home...
John
I see this in mp2 when you print to STDERR instead of $r->warn or
$r->log_error, or use one of the other Apache2::Log ways of logging
errors. Not sure if this applies to your situation or not.
-Original Message-
From: Tyler Bird [mailto:[EMAIL PROTECTED]
Sent: Thursday, April 26, 2007 2
Martin,
I recommend you keep the regex more detailed so you don't match on, for
instance, 'yahoo.com?q=google' and so on.
my $string = 'google.com?q=yahoo+ask.com+msn';
my $searchfuncs = {google => sub { ... },
yahoo => sub { ... },
ask => sub { ... },
On Fri, 23 Mar 2007, Philip M. Gollucci wrote:
Gozer,
This looks good to me. It fixes t/api/server_const.t
and the test suite now/still passes 100% for me.
Do you want to commit it or should I.
Thats a +1 btw.
FYI:
FreeBSD 6.2-RELEASE
gcc 3.4.6
perl 5.8.8 w/o ithreads
httpd 2.2.4 ap(r,u) 1.2
Errors going to the main apache servers log and not my virtual host.
Has anyone encountered this problem above before?
I am setting up my virtual hosts within a section.
Please??
Tyler
On Apr 26, 2007, at 1:47 PM, Andy Armstrong wrote:
Yeah, but that only works if all the sites use q= to prefix the
query - and have to maintain the site names in two places - once in
the RE and once in the despatch table.
It'd be better to parse the query parameters into a hash and pass
On 26 Apr 2007, at 18:32, Jonathan Vanasco wrote:
i'd keep the dispatch essentially the same, but change the regex
to something more like this:
my %despatch = (
'yahoo' => sub { print "\n Yahoo! $_[0]\n"; },
'google' => sub { print "\n Google! $_[0]\n"; },
On Apr 26, 2007, at 9:15 AM, Andy Armstrong wrote:
my %despatch = (
'yahoo' => sub { print "Yahoo!\n"; },
'google' => sub { print "Google!\n"; },
);
my $match = join('|', map {quotemeta} keys %despatch);
my $re = qr/($match)/i; # or whatever
print "Us
Justin Luster wrote:
> I agree making it lexically scoped would be better. I've done that with
> all of my other files but this one is used everywhere in the code in a
> global manner and would be a lot of work to change.
Well if you are using a threaded mpm then you can't use globaly file handl
Hi,
I agree making it lexically scoped would be better. I've done that with
all of my other files but this one is used everywhere in the code in a
global manner and would be a lot of work to change.
How would I know if I was using: "threaded httpd MPM"?
Again, it seems to be working just fine u
On 26 Apr 2007, at 14:15, Andy Armstrong wrote:
my %despatch = (
'yahoo' => sub { print "Yahoo!\n"; },
'google' => sub { print "Google!\n"; },
);
my $match = join('|', map {quotemeta} keys %despatch);
my $re = qr/($match)/i; # or whatever
print "Using
On 26 Apr 2007, at 14:03, Clinton Gormley wrote:
> > perldoc perlre [look for Backtracking]
>
> this doesn't require backtracking to work
>
> just do my ($match) = ($string =~ /(google|yahoo)/i)
my %despatch = (
'yahoo' => sub { print "Yahoo!\n"; },
'google' => sub { print "G
Ignore the test case...
It is actually:
TestSpace.pm
package TestSpace;
sub getSession {
return 1;
}
1;
-Original Message-
From: Tom Shaw [mailto:[EMAIL PROTECTED]
Sent: 26 April 2007 14:11
To: 'modperl@perl.apache.org'
Subject: mp2 + SOAP - SOAP calls fail randomly
I
Im having some mod_perl2 wierdness. Im trying to run some SOAP requests and
Im getting odd things happening.
Is there any reason that I should be experiencing intermittant issues
dispatching SOAP methods to my class?
Sometimes the methods work fine and sometimes they don't.
When they don't I get
> -Original Message-
> From: Martin Moss [mailto:[EMAIL PROTECTED]
> What I would like to do is test if $string contains one of the patterns
> in the pattern match and then carry out a function based upon which
> pattern is matched...
> Any ideas?
>
>
> perldoc perlre [look for Backtrac
hi
-Original Message-
From: Martin Moss [mailto:[EMAIL PROTECTED]
What I would like to do is test if $string contains one of the patterns
in the pattern match and then carry out a function based upon which
pattern is matched...
Any ideas?
perldoc perlre [look for Backtracking]
O wise ones,
Humbled, as always, at your presence, I seek your wisdom on a problem
that we are having, trying to maintain our web application on Windows
systems. The following is a description of the issue that my colleague
has put together.
Abstract
Enab
Issac Goldstand <[EMAIL PROTECTED]> writes:
> The apreq developers are planning a maintenance release of
> libapreq1. This version primarily addresses an issue noted
> with FireFox 2.0 truncating file uploads in SSL mode.
>
> Please give the tarball at
>
> http://people.apache.org/~issac/libapreq
h seems this worked today.. Server restart musta
failed when it didn't seem to work..
if ($string =~ /($pattern_match)/i)
--- Martin Moss <[EMAIL PROTECTED]> wrote:
>
> I'm looking for a regex which will help me do this..
>
> $string = 'google.com/?q=test';
>
> $pattern_match = 'google|y
I'm looking for a regex which will help me do this..
$string = 'google.com/?q=test';
$pattern_match = 'google|yahoo|msn';
What I would like to do is test if $string contains
one of the patterns in the pattern match and then
carry out a function based upon which pattern is
matched...
e.g.
if (
I seem to have something weird going on. a Module I've
written seems to be being included twice at server
startup, but the second time its included the
Apache::ServerStarting flag is set to 0... and is
therefore causing all sorts of grief... (e.g. $dbh
being forked)..
Ive never noticed before that
On Thu, 2007-04-26 at 09:27 +0200, Denis Banovic wrote:
> Hi Clint,
>
> Thank you for making this possible, it works just fine under Firefox!
Hi Denis
Thanks for your thanks. I don't want to hijack the mod_perl list, so if
anybody else has further queries / bugs, please send them to me
directly
Hi Clint,
Thank you for making this possible, it works just fine under Firefox!
But Opera / IE6 / IE7 are making problems
Error: TinyMCE is not defined
Here is my Init:
tinyMCE_GZ.init({
plugins : 'preview,contextmenu,advlink',
themes : 'advanced',
34 matches
Mail list logo