setting the header, and so on.
Bill Moseley
mailto:[EMAIL PROTECTED]
current modules that do this?
Another thing I find odd: this server has three virtual hosts. In the
second and third VH's logs I find requests for files found on the first,
default, VH. I've logged the Host: header and indeed it was there. Odd.
Bill Moseley
mailto:[EMAIL PROTECTED]
down responses as long as I don't tie up too
many of my processes. If they ignore FORBIDDEN maybe they will see the
timeouts.
Time to look at the Throttle modules, I suppose.
Bill Moseley
mailto:[EMAIL PROTECTED]
.
Is that a reasonable thing to do, and if so, is there anything else you
would suggest?
Thanks,
Bill Moseley
mailto:[EMAIL PROTECTED]
all my icons and mime.types files from 1.3.12 will
be just fine.
Bill Moseley
mailto:[EMAIL PROTECTED]
1.26
I use perl sections farther down in httpd.conf, but I seem to need it at
the very top. If a PerlTaintCheck On comes before the perl/perl then I
get that error.
Why is that?
Bill Moseley
mailto:[EMAIL PROTECTED]
-10
Failed 3/10 tests, 70.00% okay
In error_log:
[Fri Aug 3 16:27:16 2001] [error]
Can't locate object method inh_tree via package Devel::Symdump
at /data/_g/lii/apache/1.26/mod_perl-1.26/blib/lib/Apache/Status.pm line
222, fh1b chunk 1.
Do I need an updated Devel::Symdump?
Bill
their own way. I'm very disappointed that I had to cancel after adding
everything up.
Bill Moseley
mailto:[EMAIL PROTECTED]
, working less, or having more, eh, sleep, either.)
Bill Moseley
mailto:[EMAIL PROTECTED]
I assume everyone saw this... ;)
http://www.oreilly.com/parrot/
Bill Moseley
mailto:[EMAIL PROTECTED]
what that man page
is describing. It's not a CGI script if there's not a content-type: header
sent. And the docs are not implying that you can turn on PerlSendHeader
and then go through all your CGI scripts and remove the print
"Content-type: text/html\n\n" lines.
Bill Moseley
mailto:[EMAIL PROTECTED]
Hi all ...
didnt know where else to send this so subscribed just now.
When compiling Apache 1.3.19 with mod_perl 1.25 and mod_ssl 2.8.1
I get the following:
...
=== src/modules/perl
gcc -fpic -O3 -I/usr/local/lib/perl5/5.00503/alpha-dec_osf/CORE -ansi
-I/usr/local/include -DLANGUAGE_C
::SharedMemoryCache, and
Cache::SizeAwareFileCache.
When you say successor to File::Cache does that means File::Cache will not
be maintained as a separate module anymore?
Have you though about making SharedMemoryCache flush to disk if it becomes
full but before it's time to expire the data?
Bill
oup and go for the group rate?
Is there a BOF schedule yet?
Bill Moseley
mailto:[EMAIL PROTECTED]
On Fri, 9 Mar 2001, Gerd Kortemeyer wrote:
I will open my consulting business on Mon, Jan 18th, 2038.
- Gerd.
Well, I thinks we should be fine after this change. it will be ~310 YEARS
till we have to worry about an extra digit again! We can let them worry
about legacy code then :)
Bill
column int length or in strings of fixed lengths, but these possibilities
should be looked at just in case they could fail when the time changes to
the longer int.
Just a heads up, hope it helps someone.
Bill
--
Bill Desjardins - [EMAIL PROTECTED] - (USA) 305.205.8644
Unix/Network Consulting
If you have a database entry that says they are logged out why don't you see this when they send their request and return a "Sorry, logged out" page?
I wouldn't count on doing anything on the client side.
Bill Moseley
mailto:[EMAIL PROTECTED]
clients -- if even then.
If your problem is that some clients don't use cookies, then perhaps
Apache::AuthCookieURL might help.
Bill Moseley
mailto:[EMAIL PROTECTED]
g properly.
Anyway, my apache and mod_perl are up to date now at least.
Bill
At 11:03 AM -0800 3/1/01, Rob Bloodgood wrote:
I've been using HTML::Mason under mod_perl on my site for awhile, using
0.89, and I like it lots. :-) So when the new 1.0 came out, I went to go
upgrade, and broke
same thing that happens when you have a timeout.
So, you can catch SIGTERM and then have three seconds to clean up. You
won't see a SIGPIPE unless you try to print in that three second gap.
Does it do the same thing under NT?
Bill Moseley
mailto:[EMAIL PROTECTED]
pes.
I'm scratching my head at this point. Any ideas what to look for?
Bill Moseley
mailto:[EMAIL PROTECTED]
{ $aborted++ };
Then mod_cgi I'm still unclear on.
The cgi application does receive the SIGPIPE... well it did 1/2 hour ago
before I rebooted my machine. Now I can't seem to catch it.
But, printing again after the SIGPIPE will kill the CGI script.
Bill Moseley
mailto:[EMAIL PROTECTED]
/File::Cache -- it
seemed better than using an Apache child to do that clean up work. But on
Solaris /tmp is carved out of swap. Do you think it's risky to use /tmp
this way (since full /tmp could use up all swap)?
Thanks very much,
Bill Moseley
mailto:[EMAIL PROTECTED]
::Cache::_GET_PARENT_DIRECTORY('/') called at
/data/_g/lii/perl_lib/lib/site_perl/5.005/File/Cache.pm line 962
But I haven't seen it happen since then.
Bill Moseley
mailto:[EMAIL PROTECTED]
Error: Cannot find SSL header files in any of the following dirs:
Error: . /usr/include /usr/include/ssl/ /usr/local/include
/usr/local/include/ssl
Have you tried symlinking /usr/include/ssl to /usr/include/openssl?
Bill
require a few seconds of downtime to switch live (and
back again if needed)?
Then I wonder which CPAN module I'll forget to install...
Bill Moseley
mailto:[EMAIL PROTECTED]
At 09:59 AM 01/10/01 +0100, [EMAIL PROTECTED] wrote:
NEVERTHELESS, I get 404 when I enter
http://myserver//hello/world
and it is looking in the htdocs directory according to the error_log.
Can you please post the entire error_log message.
Bill Moseley
mailto:[EMAIL PROTECTED]
and instead use a temp file when
creating and then do an (atomic?) rename?
Thanks very much,
Bill Moseley
mailto:[EMAIL PROTECTED]
was going to ask you why or what makes it "faster" and if that applies to
SWISH-E 2.x, but that's a bit too off topic. Maybe in separate email.
BTW: http://homepage.mac.com/pauljlucas/software/swish/man/ seems broken.
Bill Moseley
mailto:[EMAIL PROTECTED]
I hope this is the correct mailing list for newbie mod perl questions.
I have just installed mod_perl 1.24 with Apache 1.3.14. Mod perl seems
to be running because upon startup of httpd, the Apache error log file
says
Apache/1.3.14 (Unix) mod_perl/1.24_02-dev configured -- resuming normal
other look.
Rod
- Original Message -
From: "Bill Eberle" [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Wednesday, December 27, 2000 12:48 AM
Subject: Location directive not working for mod perl
I hope this is the correct mailing list for newbie mod perl questions.
I
bin/perl -w
use strict;
$|=1;
warn "In $0 pid=$$\n";
while (1) {
my @headers = ();
while ( ) {
chomp;
if ( $_ ) {
warn "$0: Read '$_'\n";
push @headers, $_;
} else {
for ( @headers ) {
warn "$0:
every five minutes
from a cron job and if anything changes, touch the top level files and then
run ttree again.
I'd like this because I'm generating cobarnded pages with mod_perl, and
many of the pages are really static content.
Bill Moseley
mailto:[EMAIL PROTECTED]
child that won't die even with kill -9, is it?
Eagerly awaiting,
Bill Moseley
mailto:[EMAIL PROTECTED]
ce? Does mod_cgi explicitly close the socket file descriptor(s)
before forking?
Thanks,
Bill Moseley
mailto:[EMAIL PROTECTED]
constant DEBUG_QUERY = 1; # ON
use constant DEBUG_QUERY_PARSED = 0;
warn $query if DEBUG_QUERY || DEBUG_QUERY_PARSED;
Bill Moseley
mailto:[EMAIL PROTECTED]
}
}
sub loop {
$|=1;
my $x;
warn "in child loop $$\n";
sleep 1, ++$x, print "$x\n" while 1;
}
Bill Moseley
mailto:[EMAIL PROTECTED]
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
before sunrise.
Sure is nice to have you back, Stas! ;)
Bill Moseley
mailto:[EMAIL PROTECTED]
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
not Apache::Util::ht_time()?
Bill Moseley
mailto:[EMAIL PROTECTED]
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
at a different site?
I am logging
information about the user to a database when they login to a site, and
I need to clean up this data when they leave.
Define "leave" and you will have the answer.
All you can do is set an inactivity timeout, I'd suspect. cron is your
friend in these cases.
Chee
site
under their userid, but I can't allow them to enter if they are currently
logged in from elsewhere.
Why? What if they want two windows open at the same time? Is that
allowed? That design limitation sounds like it's going to make trouble.
Bill M
trying to explain (over three
emails now) the problem to their customer support.
Bill Moseley
mailto:[EMAIL PROTECTED]
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
applications like mod_perl handlers -- could run as CGI on other
servers, but when they want speed they are ready to use mod_perl.
Anyway, does a mod_perl emulator for CGI exist?
Bill Moseley
mailto:[EMAIL PROTECTED
, but what effect does the presence of a query string
in the URL have on this?
Bill Moseley
mailto:[EMAIL PROTECTED]
ed in Apache and end up with a reasonably
light-weight perl enabled Apache? I understand you would not have
Dynaloader support, but it might be nice for simple rewriting.
Curiously yours,
Bill Moseley
mailto:[EMAIL PROTECTED]
thing like the untested:
my $uri = $r-prev-uri;
my $query = $r-prev-args;
$uri = "$uri?$query" if $query;
print qq[INPUT TYPE=hidden NAME=destination VALUE="$uri"];
Bill Moseley
mailto:[EMAIL PROTECTED]
At 07:38 PM 11/15/00 -0600, Les Mikesell wrote:
- Original Message -
From: "Bill Moseley" [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Wednesday, November 15, 2000 12:30 PM
Subject: Microperl
I don't build mod_rewrite into a mod_perl Apache as I like rewriting with
mod
on a budget and no boss to pay my way, which conference will
have more mod_perl?
And for my 2 cents, I'd be interested in hearing about mod_perl and
designing for scalability, whatever that means. Or was that the
mod_backhand talk I missed?
Bill Moseley
mailto:[EMAIL PROTECTED]
kup.
Ok, possibly 8 chars in Linux and 16 under Solaris. Anything else to
consider regrading the maximum number of files in a given directory?
How about issues regarding file size? If you had larger files/records
would DBM or RDBMS provider larger cache sizes?
Bill Moseley
mailto:[EMAIL PROTECTED]
sing /proc/pid/statm to show shared and private memory
under these same test showed that pre-loading was a big win. So it seems
like a Solaris issue.
Bill Moseley
mailto:[EMAIL PROTECTED]
is finding a good way to detect them...
And in my experience blocking doesn't always mean the requests from that
spider stop coming ;)
Bill Moseley
mailto:[EMAIL PROTECTED]
oo. Ten megs a
child will add up. It doesn't really make sense to me, but that's what
pmap is showing.
Maybe this isn't that interesting. Anyway, I'll try a non DSO Apache and
see if it makes a difference, and also try with an Apache that forks off
more clients than just one, but I can't imagine that making a difference.
Later,
Bill Moseley
mailto:[EMAIL PROTECTED]
the heavy process from mod_perl.
Hope this helps.
Bill
--
Bill Desjardins - [EMAIL PROTECTED] - (USA) 305.205.8644
Unix/Network Administration - Perl/Mod_Perl/DB Development
http://www.CarRacing.com - Powered by mod_perl!
FREE WebHosting for Race Tracks, Race Teams and Race Shops
On Wed, 4 Oct
robots.txt that, if followed, would add that IP to the blocked list. It
was interesting to see one spider get caught by that trick because it took
thousands and thousands of 403 errors before that spider got a clue that it
was blocked on every request.
Thanks,
Bill Moseley
mailto:[EMAIL PROTECTED]
ter ways to get the full URL,
but I just put uri() and args() together.
I suppose if your login.pl script could just place the current fields
passed in on the POST to the destination parameter passed to AuthCookie.
Then your script would get the parameters, they would just be a GET instead
of a POS
haven't spent much time trying to track down the cause of
it, since it seems to mostly work. I guess I assumed it had to do with perl
5.6.0, which I was planning to downgrade in order to eliminate some odd
behaviors with Mason.
Bill
that
is dynamically generated, but I allow caching. Is this and example of what
you mean, or are you describing something else?
Thanks,
Bill Moseley
mailto:[EMAIL PROTECTED]
a redirect of some sort (anyone have one)?
How about the files directive.
Bill Moseley
mailto:[EMAIL PROTECTED]
At 08:00 PM 10/31/00 -0500, Paonia Ezrine wrote:
Bill,
this is good in thoery but I have not gotten it to work in practice.
here is the general idea (of what I tried):
Files /home/httpd/cgi-bin/test2.pl
Files test2.pl
And you can use it within a Directory to limit its reach.
http
and friends to configure what requires a
session and what doesn't, and you can use PerlSetVars to control behavior
section-by-section in httpd.conf.
Hope some of this helps.
Have fun,
Bill Moseley
mailto:[EMAIL PROTECTED]
to
the database.
ORA-12054 error.
Has anyone seen this before or have an idea on how to track down the
problem?
All help will be very appreciated.
Thanks,
Bill
Oops correction to below: should read ORA-12154
ORA-12154 (DBD ERROR: OCIServerAttach)
- Original Message -
From: "HotMail: Bill" [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Friday, October 27, 2000 12:28 AM
Subject: problem connecting to oracle with DBD-Oracle-1.06/DBI-1.14
9-882-9276
Email: [EMAIL PROTECTED]
In the middle of difficulty lies opportunity. - Albert Einstein
"HotMail: Bill" [EMAIL PROTECTED] on 10/26/2000 11:28:53 AM
To: [EMAIL PROTECTED]
cc:
Subject: problem connecting to oracle with DBD-Oracle-1.06/DBI-1.14 with
Perl version v5.6
t's Apache seeing that's
triggering the above error message.
Thanks,
Bill Moseley
mailto:[EMAIL PROTECTED]
Yup that solved... that error message.. now I
get ORA-06401 (DBD ERROR: OCIServerAttach)
-Bill
- Original Message -
From:
Kailashnath V
Rampure
To: HotMail: Bill ; HotMail:
Bill ; [EMAIL PROTECTED]
Sent: Friday, October 27, 2000 3:52
AM
Subject: Re: problem
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 Moseley
mai
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]
ja.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} =~ /(?:^|\s)[("]*\S$size\*/g;
I have no ide
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]
_dl_fini,
stack_end=0xb8cc) at ../sysdeps/generic/libc-start.c:90
(gdb)
Bill Moseley
mailto:[EMAIL PROTECTED]
::Handler;
...
/virturalhost
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]
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]
.
And for more fun, the "same" program under mod_cgi: 0.90 requests/second
Bill Moseley
mailto:[EMAIL PROTECTED]
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 comment on this post? That's a chunk of memory!
At 11:46 AM
Won't someone comment on this post? That's a chunk of memory!
At 11:46 AM 09/28/00 -0700, Bill Moseley wrote:
snip
This is what pmap -x is showing:
Address Kbytes Resident Shared Private Permissions Mapped File
-- -- -- --
total Kb 19968 185282816
);
$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().
Is there a better way to exit?
Bill Moseley
mailto:[EMAIL PROTECTED]
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 Apache::Constants qw
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
Greetings,
Can the perl include path be configured on a per virtual host basis?
-Bill
alls (the overridden) exit.
Bill Moseley
mailto:[EMAIL PROTECTED]
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
" via package "handler"
Bill Moseley
mailto:[EMAIL PROTECTED]
s
only. I'm sure the interface will change (or disappear) without notice.
Please report any problems or comments back to Bill Moseley
[EMAIL PROTECTED]
This module is a modification of Ken Williams [EMAIL PROTECTED]
Apache::AuthCookie. Please see perldoc Apache::AuthCookie for compl
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 point, argh!). I just removed the Net
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?
'i want to send lots of mail, i better not use a MAIL
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
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} $]br
FORM METHOD="POST" ENCTYPE="multipart/form-data"
guessing...
Thanks,
Bill Moseley
mailto:[EMAIL PROTECTED]
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]
something 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]
::AuthCookie
Shouldn't handler() be found in @ISA?
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 the past. try
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 :)
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]
ating systems I should try that
would do at least the above?
Thanks,
Bill Moseley
mailto:[EMAIL PROTECTED]
101 - 200 of 300 matches
Mail list logo