cookie right away). If
it comes back with a cookie then they are enabled.
Bill Moseley
mailto:[EMAIL PROTECTED]
r dealing with sessions.
Do be careful about session hijacking.
Bill Moseley
mailto:[EMAIL PROTECTED]
<
Did you make install libxml2?
> which xml2-config
/usr/local/bin/xml2-config
>>>>
Bill Moseley
mailto:[EMAIL PROTECTED]
get the key for every file. I do need a way to read every key in the
store. Order is not important.
Bill Moseley
mailto:[EMAIL PROTECTED]
issues would you use when selecting a data store method, and why?
Thanks very much,
Bill Moseley
mailto:[EMAIL PROTECTED]
at
solutions have you found to make this easy and portable from project to
project?
Bill Moseley
mailto:[EMAIL PROTECTED]
s more helpful for technical writing instead of
indexing code.
Finally, in swish, if you put something like "perl -V" in quotes to use a
phrase search it will find what you are looking for most likely, even if
the dash is not indexed.
Bill Moseley
mailto:[EMAIL PROTECTED]
phrase: "get_dir_config" and it
would search for the phrase "get dir config" which would probably find what
you want.
Maybe : and _ are ok in words, but you have to think carefully about
others. It's more flexible to split the words and use phrases in many cases.
Bill Moseley
mailto:[EMAIL PROTECTED]
to the apache security list about it, with a proposed fix, but
have received no response, so I'm investigating doing it myself. I
don't think I know apache internals well enough, though I'm not bad with
mod_perl. If anyone good with apache c is interested I'm happy to share
, but that would imply something is
persisting from before that would be able to read the flag.
Maybe I'm think about this all wrong. Any suggestions?
Thanks,
-Bill
kie where its setting the header, and so on.
Bill Moseley
mailto:[EMAIL PROTECTED]
s?
If they are not sending requests in parallel I wonder if it would be easier
on my resources to really slow 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]
there
any 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]
use sections farther down in httpd.conf, but I seem to need it at
the very top. If a PerlTaintCheck On comes before the then I
get that error.
Why is that?
Bill Moseley
mailto:[EMAIL PROTECTED]
ng 1.3.12
server), so I'm assuming all my icons and mime.types files from 1.3.12 will
be just fine.
Bill Moseley
mailto:[EMAIL PROTECTED]
ould run the old httpd, if needed.
Is that a reasonable thing to do, and if so, is there anything else you
would suggest?
Thanks,
Bill Moseley
mailto:[EMAIL PROTECTED]
sts 8-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, chunk 1.
Do I need an u
nd themselves like me, paying
their own way. I'm very disappointed that I had to cancel after adding
everything up.
Bill Moseley
mailto:[EMAIL PROTECTED]
t I'm also not drinking less beer, windsurfing
more, 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]
Registry lets reasonably well written CGI scripts
to run under both mod_cgi and Apache::Registry, which is 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 -DMOD_PER
oup and go for the group rate?
Is there a BOF schedule yet?
Bill Moseley
mailto:[EMAIL PROTECTED]
;s time to expire the data?
Bill Moseley
mailto:[EMAIL PROTECTED]
cy code then :)
Bill
--
Bill Desjardins - [EMAIL PROTECTED] - (USA) 305.205.8644
Unix/Network Consulting - perl/mod_perl/SQL development
http://www.CarRacing.com - Powered by FreeBSD/mod_perl
http://www.FreeBSD.org - The Best OS Money can't buy
f u cn rd ths, u cn gt a gd jb n cmptr prgrmmng...
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
n
anything working unless you know all your 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]
;t understand you setup. 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]
was working 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
basically the 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]
ptures referer of page where the user wants to go,
logs
>in user, sends user back to the page seamlessly).
It's probably best not to base your design on a browser feature that may or
may not work. If you use sessions, then track referrers in the session
records.
Bill Moseley
mailto:[EMAIL PROTECTED]
his?
local $SIG{PIPE} = sub { $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]
n script.
Nothing is noted in the apache logs about broken pipes.
I'm scratching my head at this point. Any ideas what to look for?
Bill Moseley
mailto:[EMAIL PROTECTED]
ii/perl_lib/lib/site_perl/5.005/File/Cache.pm line 862
File::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]
unt of space used in /tmp/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]
d to protect
an entire site, except a few sub directories (images, for example).
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
few weeks, yet only 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]
g.
Would it be better to avoid the locks and instead use a temp file when
creating and then do an (atomic?) rename?
Thanks very much,
Bill Moseley
mailto:[EMAIL PROTECTED]
child.
I 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]
27;t show that much of a difference between forking and non-forking
searches under mod_perl).
Oh, and thanks for the reminder -- I forgot to upload a bug fix to CPAN.
Bill Moseley
mailto:[EMAIL PROTECTED]
rl. I'll have another 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 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
operat
then stat all those files 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]
l done!\n";
}
lii@mardy:~ > cat server.pl
#!/usr/local/bin/perl -w
use strict;
$|=1;
warn "In $0 pid=$$\n";
while (1) {
my @headers = ();
while ( <> ) {
chomp;
if ( $_ ) {
warn "$0: Read '$_'\n";
ng process that won't hold the socket open but I
my poor reading of it didn't turn anything up.
Anyone familiar enough with Apache (and/or mod_cgi) to explain the
difference? Does mod_cgi explicitly close the socket file descriptor(s)
before forking?
Thanks,
Bill Moseley
mailto:[EMAIL PROTECTED]
lindly followed perlipc's recommendations.
BTW -- this isn't related to the infrequently reported problem of an Apache
child that won't die even with kill -9, is it?
Eagerly awaiting,
Bill Moseley
mailto:[EMAIL PROTECTED]
=> 1; # ON
use constant DEBUG_REQUEST => 0;
use constant DEBUG_QUERY => 1; # ON
use constant DEBUG_QUERY_PARSED => 0;
warn $query if DEBUG_QUERY || DEBUG_QUERY_PARSED;
Bill Moseley
mailto:[EMAIL PROTECTED]
. I shouldn't
debug 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]
uot;Test 2 Parent reading: $_" while ;
alarm 0 if $timeout;
};
if ( $@ ) {
warn $@;
kill( 'HUP', $child );
}
}
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]
do that.
Hi Ken,
Why not Apache::Util::ht_time()?
Bill Moseley
mailto:[EMAIL PROTECTED]
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
kie that will allow them to enter the 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
friend in these cases.
Cheers,
Bill Moseley
mailto:[EMAIL PROTECTED]
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
un in 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]
CGI programmers to write all
their CGI 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]
-
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_r
ld in your login.pl script?
Something like the untested:
my $uri = $r->prev->uri;
my $query = $r->prev->args;
$uri = "$uri?$query" if $query;
print qq[];
Bill Moseley
mailto:[EMAIL PROTECTED]
Could a
microperl/miniperl be embedded 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]
nts will
do).
I should know this too, but what effect does the presence of a query string
in the URL have on this?
Bill Moseley
mailto:[EMAIL PROTECTED]
Con as well.
For someone 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]
blocked.
Again, the hard part 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]
r when pre-loading modules.
Unfortunately, Linux doesn't seem to have the same reporting abilities as
Solaris, but using /proc//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]
perhaps most SysV derivatives) path component
>names longer than 16 chars (configurable) don't go into the inode
>lookup cache and so require a filesystem directory lookup.
Ok, possibly 8 chars in Linux and 16 under Solaris. Anything else to
consider regrading the maximum number of files i
0 <<< not pre-loaed modules.
Indeed there's a tiny bit more shared memory in the pre-loaded Apache, but
the amount of "private" memory is significantly higher, too. Ten megs a
child will add up. It doesn't really make sense to me, but that's what
pmap is showi
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
ve blocked spiders on the fly before -- I used to have a decoy
in 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]
he POST to the destination parameter passed to AuthCookie.
Then your script would get the parameters, they would just be a GET instead
of a POST. Can be kind of ugly.
Bill Moseley
mailto:[EMAIL PROTECTED]
). Perl, Apache, and mod_perl are all non-RPM versions,
built by me. I 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
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):
>
And you can use it within a to limit its reach.
http://httpd.apache.org/docs/mod/core.html#files
g to need to do a redirect of some sort (anyone have one)?
How about the directive.
Bill Moseley
mailto:[EMAIL PROTECTED]
t 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]
he behavour appears wrong as the redirect is not right,
>yet it seems to come out in the wash .
>
>Any ideas on what needs to be done - Gunther ? Bill ?
Hi Greg,
Sorry I haven't had a lot of time to think about it.
Again, my recommendation would be to not try and match again
ract out the session id. That
way you can use 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]
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
n, please. Also, what's Apache seeing that's
triggering the above error message.
Thanks,
Bill Moseley
mailto:[EMAIL PROTECTED]
-965-7773
Fax: 209-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.
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-Ora
ct 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
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
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
>
> 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]
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} =~ /(
ng 5.005_03.
see: http://x66.deja.com/viewthread.xp?AN=557820602
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
000ac70 <_dl_fini>,
stack_end=0xb8cc) at ../sysdeps/generic/libc-start.c:90
(gdb)
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]
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]
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]
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]
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
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 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
_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().
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 ();
#
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]
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]
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
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
Greetings,
Can the perl include path be configured on a per virtual host basis?
-Bill
101 - 200 of 346 matches
Mail list logo