Check out FastCGI (http://www.fastcgi.com/) for what looks
like a pretty good, language-independent and
server-independent (as long as the server supports
FastCGI) solution. I think that http://www.fastengines.com/
sells a FastCGI thingy for IIS.
- Bill
Scott Chapman wrote:
>
> It
..and I was wondering how mod_perl was licensed. I actually
couldn't find a License file in the mod_perl tar file...is there
one? And I'm assuming (and hoping) that mod_perl is the standard
Artistic License/GPL deal, like most Perl modules, but I wanted
to make sure. Doug? :)
- Bill
P.S.
o I just need to do a simple database access that needs to be super fast
and handle many hits per second (I'd lean towards fast_cgi)
- Is the number of simultaneous database connections an issue, say, for
licensing or anything (I'd lean towards fast_cgi)
Anyway, there are lots more of these, and YMMV. I think that both
technologies
can complement each other...
- Bill
's really hard to tell). Oh, and finally everyone was really
pissed at Solid for raising prices like x 10 out of the blue. I'm guessing
they
lost a lot of customers over it.
- Bill
y binary). Also if anyone has any good pointers to info
on dynamic linking and libraries (again, oriented somewhat towards Linux),
I've yet to see anything that's explained things sufficiently to me yet.
Thanks.
- Bill
s (I don't
think I would, actually) you can compile perl into wherever, and toss
it into a binary RPM of your own. It's not hard to do if you have an
example spec file to work from (source rpms get more complex though).
- Bill
information about it,
> including memory maps a sizes of the loaded libs.
>
> This all of course uses GTop, which in turn uses libgtop from the GNOME
> project and lately reported to be ported to new platforms as well.
>
> Enjoy!
Interesting. I'll have to check it out. Thanks...
- Bill
a hash of that might be ok. I guess this all depends on what
specifically you are trying to protect...
- Bill
turns THIS,"
and another would respond with, "No, I think it returns THAT." Gives you a
nice warm and fuzzy feeling about quality of documentation... :)
- Bill
l these things out, which is why having good, accurate
documentation is a worthy goal. :) The page in question {I believe) is:
http://www.php.net/manual/function.ora-parse.php3
...if you're curious. :)
- Bill
Sorry, this bounced from my Mac.com acct :P
On Friday, September 6, 2002, at 12:50 PM, William C (Bill) Jones wrote:
> This is a USELARGEFILES support issue.
>
> On Friday, September 6, 2002, at 12:16 PM, ODELL, TODD E (SWBT) wrote:
>
>> ...
>> Apache::Request it giv
>
'newrui') and return REDIRECT, I get no cookies being set. is this a bug,
feature, or a feature of the wonderful world of incompatible browsers?
My setup:
RH Linux 6.1
mod_perl 1.23
apache 1.3.12
Thanks,
/Bill
--
Bill Desjardins - [EMAIL PROTECTED] - (USA) 305.205.8644
Unix/
ally want to call it in a module, which you really don't, do you?
I'm a bit confused.
When you say "module" you mean a module use'd by the Apache::Registry
script? Because exit() is overridden in those modules, too, no?
I can call exit() fine in a module, but if I say CORE
book, $var1 should
stay set between calls to handler() (cf. Apache::ESSI). The module works
great except that my logs show set_var1() is getting hit every time the URL
is accessed, which is bad because the HTML string is set up by a
substantial call to a backend database. What am I missing/confusing?
Thanks in advance
Bill
Thanks, you're right. In single user mode it hit it just the once.
Bill
At 12:56 PM -0700 5/9/00, ___cliff rayman___ wrote:
>are you hitting the same child process over and over again?
>try starting the server in single user mode -X, and see if
>you still see the same results.
&g
I cannot seem to get this to work correctly. I just got Mod_Perl
installed on my webserver (Apache 1.3.3 on HPUX)
I am trying to get a script working that sets a cookie on the users
machine -. This is where it goes all wrong.
The script uses CGI.pm (v 2.36) to do everything from headers to
ices, home
high-speed access, etc. We're located in Santa Monica, Calif., about five
minutes from the beach.
eToys Engineering offers competitive compensation, relocation, and
*really* great deals on toys.
If interested, email me: [EMAIL PROTECTED]
Thanks,
Bill Hilf
e work fine as a subroutine in the mod_perl module, but not as a
Mason component. Any help would be greatly appreciated.
Thanks,
Bill
ta/obj
and not my file. Once I sorted that out I immediately saw the real problem.
Bill
At 9:13 AM +0200 6/27/00, Francesc Guasch wrote:
>Bill McCabe wrote:
>>
>> Hi All
>>
>> I'm converting a mod_perl module-based site to HTML::Mason and have a
>> question
mod_perl/1.21, which is a bit old (but
it's it was updated to that version in an attempt to fix this problem).
I've got a short table at http://www.hank.org/undef.html that has a few of
the errors which include the time, PID, the request count for that child
process, and the return from call
Hello,
I have a problem with using apache::Registry and have not been able
find an answer in the eagle book or the mod_perl site, so i am missing
something here.
If I take the following script and run it under apache::registry it
runs fine:
#!/opt/perl5/bin/perl
print "Content-type: text/
2000 3:29 PM
To: WBChmura
Cc: darren
Subject:Re: Why can't I use a package name under Apache::Registry
bill chmura ([EMAIL PROTECTED]) said something to this
effect:
> If I throw a package name in there (like below) it still runs fine as
a
> standalone script and
: ged [SMTP:[EMAIL PROTECTED]]
Sent: Wednesday, July 12, 2000 7:51 AM
To: WBChmura
Cc: ged
Subject:Re: Why can't I use a package name under Apache::Registry
Hi there,
On Tue, 11 Jul 2000, bill chmura wrote:
> #!/opt/perl5/bin/perl
> print "Content-type: text/h
So, any suggestions on what one or two templating systems I should try that
would do at least the above?
Thanks,
Bill Moseley
mailto:[EMAIL PROTECTED]
t;
or "No, it's worth running RAID with hot-swappable disks and power supplies."
or "I'll set up that server for $64,000!!" (no, sorry, I'm first in line
for that job...)
Thanks,
Bill Moseley
mailto:[EMAIL PROTECTED]
Using Raven's (www.covalent.com) build, I want to use mod_perl as a DSO --
no errors during build:
Apache/1.3.12 (Unix) secured_by_Raven/1.5.1 mod_perl/1.24 PHP/4.0.1pl2
However, trying to use mod_perl's DSO causes Seg Fault (11)
Any thoughts, comments, or ideas would be most appreciated :)
TI
So my question is only would such a system make sense, or is memory so
inexpensive and templates normally so small that there wouldn't be any
benefit?
Bill Moseley
mailto:[EMAIL PROTECTED]
> From: Dave Moore <[EMAIL PROTECTED]>
>> no errors during build:
>> Apache/1.3.12 (Unix) secured_by_Raven/1.5.1 mod_perl/1.24 PHP/4.0.1pl2
>>
>> However, trying to use mod_perl's DSO causes Seg Fault (11)
> mod_perl and php4 dont mix well together, there has been a few posts
> about this in th
tead of
PerlTransHandler Sample::AuthCookie
Shouldn't handler() be found in @ISA?
Bill Moseley
mailto:[EMAIL PROTECTED]
mething like all within some handler:
$r->custom_response( REDIRECT , \&error_document );
$r->custom_response( MOVED , \&error_document );
But I guess that's an issue with Apache and not with mod_perl.
Thanks,
Bill Moseley
mailto:[EMAIL PROTECTED]
d to see how well it does
when used under mod_perl (as I'm using the old swish under mod_perl and I
close my eyes whenever I get to the fork() in my code).
The swish-e home page is at http://sunsite.berkeley.edu/SWISH-E/
Bill Moseley
mailto:[EMAIL PROTECTED]
estions as at this point I'm just guessing...
Thanks,
Bill Moseley
mailto:[EMAIL PROTECTED]
d?
thanks in advance!
Bill
ps Yes i do know of other methods such as a meta-ftp
client for files this large but this violates our
firewall policies etc etc.. :)
-
[$ if !defined $fdat{ImageName} $]
[$else$]
[- open FILE,
s the site_perl/5.005 directories or
building a new 5.6 tree and using CPAN autobundle to move and update
modules into the new version?
Thanks,
Bill Moseley
mailto:[EMAIL PROTECTED]
Gerald,
But isnt the LimitRequestBody directive only for
files being received by the client and not for files
being sent the other way??
I thought this would be an arbitrary limit that could
either be changed in a source code or apache config
file change??
Any ideas?
Bill
--- Gerald
e some other places where I use open3 to open
sendmail. I have a note about sendmail generating an error by writing to
STDERR or STDOUT only and not returning failure. This sound familiar to
anyone?
Bill Moseley
mailto:[EMAIL PROTECTED]
At 10:07 AM 09/08/00 -0700, brian moseley wrote:
>On Fri, 8 Sep 2000, Bill Moseley wrote:
>
>> I don't know how well either of these scale. But if
>> scaling is important I'd think it best not to rely on
>> some smtp daemon.
>
>this is a joke, right?
>
At 11:15 PM 09/08/00 +0200, Stas Bekman wrote:
>On Fri, 8 Sep 2000, Bill Moseley wrote:
>> I just looked at my old mail sending module a few days ago that uses
>> sendmail and would fallback to Net::SMTP if sendmail wasn't available (it
>> was running on Win at one poin
;ve seen the correct version too :-) It is at
>http://public.yahoo.com/~jfriedl/regex/code.html and the regex
>for URL's is at http://foad.org/~abigail/Perl/url2.html
Did you see this of Abigail's?
http://x58.deja.com/getdoc.xp?AN=531471039
Bill Moseley
mailto:[EMAIL PROTECTED]
tURI /
AuthName Whatever
SetHandler perl-script
PerlHandler Apache::AuthCookieURLHandler->logout
DESCRIPTION
** Warning: beta software. This should be used for testing purposes
only. I'm sure the interface will change (or disappear) without noti
I tried the binary installation, which needed a specific version of
perl installed in a specific place. Worked okay, but was a pain in the
ass.
I know you can install the XML::DOM into Activestate through PPM - not
sure about GD
-Original Message-
From: jihawfoo [SMTP:[EMAIL PRO
object method "handler" via package "handler"
Bill Moseley
mailto:[EMAIL PROTECTED]
ipt, which just writes
to a log file and calls (the overridden) exit.
Bill Moseley
mailto:[EMAIL PROTECTED]
Greetings,
Can the perl include path be configured on a per virtual host basis?
-Bill
aving
encryption out for the moment)? Also, I've never managed to install
DBI::Proxy successfully on any system (AIX 4.2.1/4.3.2/4.3.3, Red Hat
6.0/1/2; perl 5.005/5.6.0; apache 1.3.12/mod_perl 1.24). The tests always
fails for the RPC piece. Is the RPC module typically this problematic?
TIA
Bill
That's a shame. I can see good use for it. Is it the RPC chunk that is slow
and unreliable or the DBI part? Or has no one really pursued making a
production-quality module out of it?
Bill
At 11:24 AM -0700 9/19/00, Tom Lancaster wrote:
>My experience of using DBI::Proxy several month
hat ?
http://www.htdig.org/
http://sunsite.berkeley.edu/SWISH-E/
If you are really brave, I've got a couple of *alpha* swish modules at
www.hank.org/modules/ for running swish searches.
>
>thanks,
>tarak
>
>
>
Bill Moseley
mailto:[EMAIL PROTECTED]
1, in Makefile.PL and that keeps perl Makefile.PL
from recursing, but the resulting Makefile still contains references to the
subdirectories:
> fgrep bak Makefile
@cd pfe.bak && $(MAKE) all $(PASTHRU)
-cd pfe.bak && $(TEST_F) Makefile && $(MAKE) clean
...
How do you deal with this?
Bill Moseley
mailto:[EMAIL PROTECTED]
e SWISH::Stemmer ();
# use UserDB ();
# use DB_File ();
# use Fcntl ();
# use Tie::Hash ();
use SWISH::Fork ();
# use base ();
# use Symbol ();
# use Sys::Signal ();
# use IO::Handle ();
#
_modified {
my $r = shift;
...
$r->status( HTTP_NOT_MODIFIED );
$r->exit;
}
Since check_not_modified() may be a number of subs deep I now must return a
code that heads back to the initial handler where it can simply return
HTTP_NOT_MODIFIED, but it would be better to just exit().
At 01:43 PM 09/28/00 -0700, Doug MacEachern wrote:
>On Thu, 28 Sep 2000, Bill Moseley wrote:
>
>> Is there a way to make that message go away?
>
>maybe if you can give me a small example that reproduces the message. it
>works fine for me:
package My::Hello;
use strict;
use
Won't someone comment on this post? That's a chunk of memory!
At 11:46 AM 09/28/00 -0700, Bill Moseley wrote:
>This is what pmap -x is showing:
>
>Address Kbytes Resident Shared Private Permissions Mapped File
> -- -- -- --
>total K
At 12:04 AM 10/02/00 -0600, Scott Wilson wrote:
>I've seen a similar result on an IRIX installation I'm working on.
>Anyone have any ideas?
So did you decide NOT to pre-load modules?
>
> Scott
>
>Bill Moseley wrote:
>>
>> Won't someone co
helping out quite a bit in the fork.
And for more fun, the "same" program under mod_cgi: 0.90 requests/second
Bill Moseley
mailto:[EMAIL PROTECTED]
ote a warning message saying that the object was
created/destroyed. In my case I found I had a circular reference on an
object and it was never being destroyed.
Bill Moseley
mailto:[EMAIL PROTECTED]
I'm curious: why I can't use Apache::Constants outside of mod_perl?
%perl -w
use strict;
use Apache::Constants qw/OK/;
print OK;
Undefined subroutine &Apache::Constants::OK called at - line 2.
Bill Moseley
mailto:[EMAIL PROTECTED]
/hello/abc/123 http/1.0
HTTP/1.1 403 Forbidden
[Wed Oct 11 10:25:22 2000] [error] initial:/hello/abc/123
[Wed Oct 11 10:25:22 2000] [error] [client 192.168.0.98] client denied by
server configuration: /usr/local/apache/htdocs/hello
Bill Moseley
mailto:[EMAIL PROTECTED]
000ac70 <_dl_fini>,
stack_end=0xb8cc) at ../sysdeps/generic/libc-start.c:90
(gdb)
Bill Moseley
mailto:[EMAIL PROTECTED]
Can I get the value of a PerlSetVar at startup?
# Main server config
PerlSetVar foo bar
package My::Handler;
use strict;
# Is there a way to get at 'foo'?
my $foo = Apache->dir_config('foo');
sub handler {
...
}
Perl*Handler My::Ha
ng 5.005_03.
see: http://x66.deja.com/viewthread.xp?AN=557820602
Bill Moseley
mailto:[EMAIL PROTECTED]
At 07:45 PM 10/12/00 +0200, Robin Berjon wrote:
>At 10:28 12/10/2000 -0700, Bill Moseley wrote:
>>I have a spinning mod_perl process. I installed a
>> $SIG{USR2} = \&Carp::confess;
>>handler and it pointed to this line:
>> $cnt++ while $query->{query} =~ /(
>
> Is there a handler out there that can munge relative urls in this way for
> static pages, perhaps as part of an Apache::Filter chain ?
Not as part of an Apache::Filter chain, but feel free to play with
http://www.hank.org/modules/AuthCookieURL-0.02.tar.gz
Bill Moseley
mailto:[EMAIL PROTECTED]
t; " x 80)
for right-justifying.
Is this my problem? If not, does anyone have any suggestions as to where I
might find the answer? I've been through most of my books and have not
found any clues.
TIA
Bill
At 02:19 PM 10/19/00 -0400, David McCabe wrote:
>However, if I try to put an Apache::exit() at the end of my_error_prnt, I
get a
>server error, and the error log only says "error at line 202" line 202 has
the
>Apache::exit call.
This was fixed in 1.24_01, I believe.
Bill Mo
g your logout page.
--
Bill Moseley [EMAIL PROTECTED]
In linux: ps -axl | grep http
... will show you process sizes. Doing it without the grep will show you
the column headers in the first line.
this anyway). BTW --
what would you recommend for caching the md5 strings. Cache::Cache or
DBM? I suppose a Cache::Cache file cache would be the easiest.
Any other ideas on the "easy to implement" side?
--
Bill Moseley [EMAIL PROTECTED]
I want to test for -D in a section.
I see in the docs that in mp2 you can use Apache::exists_config_define() to
test if a define is set.
How do I test if a define is set in 1.x?
Thanks,
--
Bill Moseley
mailto:[EMAIL PROTECTED]
st.
Cron can remove old symlinks.
If the spammers put in the work to figure out the word by check-summing the
images I can use imagemagic to modify the images -- that could be a nice
mod_perl handler.
See any glaring holes?
--
Bill Moseley
mailto:[EMAIL PROTECTED]
At 03:01 PM 12/18/02 -0800, Bill Moseley wrote:
>I want to test for -D in a section.
Doh!, my test was causing the problem, not the fetching of the define!
use Apache();
my $msg = Apache->define('TEST') ? "Testing" : "Not testing";
push @{ $Loca
#x27;cgi-script',
},
},
Directory => {
'/home/moseley/test' => {
Allow => 'from all',
Files => {
'test.cgi' => {
Options => '+ExecCGI',
SetHandler => 'cgi-script',
},
},
},
},
};
__END__
--
Bill Moseley
mailto:[EMAIL PROTECTED]
At 11:17 AM 12/20/02 +0200, Issac Goldstand wrote:
>>>>
http://www.perl.com/pub/a/2002/12/18/hohoho.html
<<<
That sounds a lot like Perrin's story. Didn't he save Christmas one year?
--
Bill Moseley
mailto:[EMAIL PROTECTED]
On Sunday 22 December 2002 03:49, Ged Haywood wrote:
> Hi there,
>
> On Sat, 21 Dec 2002, eric lin wrote:
>
> > The image "file:///home/enduser/mytest.jpg" cannot be displayed, because
> > it contains errors
>
> I think I understand your question but I am not sure of it.
>
> It seems that you
;)
>
> Since when did mod_perl becomes Linux only?
oops, I meant to write:
"And sent messages about using Windows to a Linux list"
--
Bill Moseley [EMAIL PROTECTED]
Searching the archives I don't see much discusson of Sys::Signal. Is it
still needed to restore sig handlers?
Thanks,
--
Bill Moseley [EMAIL PROTECTED]
a. The result is that plug and play auth schemes
> only work (unmodified) for the simplest sites.
Anyone using PubCookie?
http://www.washington.edu/pubcookie/
--
Bill Moseley [EMAIL PROTECTED]
L::Parser, and build a
list of incorrectly spelled words, open in another window and show the
words and a list for suggestions or a text field. I have not figured out
how best to update the existing form inplace, though. I fear javascript
is in my future.
--
Bill Moseley [EMAIL PROTECTED]
re just better maintaining a session on the server.
--
Bill Moseley [EMAIL PROTECTED]
In messing with Apache 1.x, is there a way, via mod-perl, of a
> request knowing how many requests have been served by the current
> child?
$request++;
That's what I do in some handler, and then I log it along with the PID.
--
Bill Moseley [EMAIL PROTECTED]
;s what I do in some handler, and then I log it along with the PID.
>
> Eh? I'm confused. What is '$request' in that example? If you
> mean it's the request object, then that doesn't do what I expect.
No, it's a simple counter. It's just a variable in some module that
counts requests.
--
Bill Moseley [EMAIL PROTECTED]
Perl (which is
threaded) - I think that's all the relevant stuff.
Has anyone else seen this? Is there some fix for it?
I'm not even sure where the problem is yet.
Thanks in Advance.
-bill
x27;m wondering if someone has made a RH9 friendly mod_perl-1.99_09 rpm...
As always, I'm trying desperately to avoid rebuilding
apache/perl/mod_perl/etc. on my systems.
-bill
I'm looking for a Redhat 9 compatible mod_perl-1.99_09 rpm.
If anyone has one or knows where I can get one, let me know.
Thanks,
-bill
p.s. I did find a Rawhide (bleeding edge Red Hat release, I think)
mod_perl-1.99_09, but it doesn't seem to be compatible (I got an error from
Apache).
is it as simple as
changing the top line to #!/usr/local/bin/perl. Do I have to worry about
library pathes or environment variables?
I assume I'll need to keep separate lib/perl5 trees as well and I'll need
to install the various cpan modules I use twice.
Any tips would be appreciated.
-bill
d spike on my server + errors if I print "").
I recall there used to be alternatives to mod_gzip out there, but I'm not
sure if they apply to Apache 2.
Are any of you use compression on your mod_perl pages?
Do you recommend any compression schemes for the Apache 2/mp2 environment?
TIA,
-=bill
ir
Enterprise OS (which is very expensive, but has more stable software like
good old Apache 1.3 & mp1).
I did try to go back at one point, builing Apache 1.3 from source, but it
had some other problem (maybe, because I used Perl 5.8.0?). But, then I
waffled and decided there's also a lot of value in staying current. So,
I'm back to 2.0 land, and I'm surviving so far.
-=bill
1. Are you using any Cascaded Stile Sheets and/of JavaScript libraries
linked to your main web pages?
I'm not, but... I think mod_defalte's hook is after all that is processed,
so it's not especially relevant.
2. If yes, how do you turn compression off for those files in case of
Netscape-4 origi
I've worked-around this problem by changing my print "" to print " ". It's
not a major issue for me, I'm just letting you know. Let me know if you
need any more info.
-bill
This fixed the bug for me.
At 10:48 AM 7/2/2003, you wrote:
#define mpxs_output_flush(r, rcfg) \
/* if ($|) */ \
-if (IoFLUSH(PL_defoutgv)) { \
+if (bytes > 0 && IoFLUSH(PL_defoutgv)) { \
MP_FAILURE_CROAK(modperl_wbucket_flush(rcfg->wbucket, TRUE)); \
}
I don't know anything about Memoize, but perhap db-level caching would work
for you?
If you user MySQL, Mysql 4.0.1 and beyond has Query Caching capabilities
built into it.
http://www.mysql.com/documentation/mysql/bychapter/manual_Reference.html#Query_Cache
-=bill
At 04:24 AM 7/15/2003, Stas Bekman wrote:
Philippe M. Chiasson wrote:
On Thu, 2003-07-03 at 01:24, Bill Marrs wrote:
This fixed the bug for me.
Great! Will commit it in the near future. (Can't seem to access the cvs
server right now, crappy internet cafe)
-1, this is a wrong solution.
r I'm testing on is live (runs a small site), so
I'm somewhat limited in what I can do. But, I tried removing mod_rewrite,
and mod_ssl from my server config and I still got the error in my tests.
I also tried varying the mod_deflate config (as you pointed out it was
redundant/wrong)..
At 07:16 PM 7/18/2003, Slava Bizyayev wrote:
In my understanding _it is_ a problem of mod_deflate.
The error does not occur if I run the same test script under mod_cgi
instead of mod_perl. This suggests that the problem is in mod_perl not
mod_deflate.
right?
At 11:07 AM 7/19/2003, Slava Bizyayev wrote:
May I see your client side HTTP log of the request-response transaction
through mod_cgi vs. mod_perl?
I'm not sure what you mean. Do you mean my access_log? I have a
deflate_log as well (that shows the compression stats as well). But, maybe
you're t
I can measure it myself if you can provide me with URLs to your resources
and identify them in terms of which one is mod_CGI and which is mod_perl.
This is the mod_cgi one that works fine, no errors:
http://shevek.kenyonhill.com/cgi/test.pl
This is the mod_perl one (same script) that generates the
We can see that mod_cgi bufferizes the output and sends it with
Content-Length HTTP header (to mod_deflate). Indeed mod_perl generates
chunked response. Finally we have the same result. I don't see any problem
at this moment.
Well, the problem is that I get this error in my error_log:
[Mon Jul 21
ot;Submit a CFP" option isn't there.
Until they get that fixed, you can select "Contact Us" from the bottom
menu, then under the "cfp@" address there's a link to the "online
submission form".
--Bill
->--
Bill Weinman <http://bw.or
and make files and get that
fixed, it will work (at least get beyond that error).
--Bill
->--
Bill Weinman <http://bw.org/>
Music <http://music.bw.org/>
Whois Client <http://whois.bw.org/>
Music Database <http://www.webmusicdb.com/>
->-+
o you find those flags in the makefiles? I don't see them anywhere
in my copy.
--Bill
->--
Bill Weinman <http://bw.org/>
Music <http://music.bw.org/>
Whois Client <http://whois.bw.org/>
Music Database <http://www.webmusicdb.com/>
->-+
ified that your patch fixes my problem.
I've never submitted a but report and fix to httpd-dev, but I'm willing to
do it.
How do I do it?
-bill
1 - 100 of 346 matches
Mail list logo