Re: MaxRequestsPerChild; which request am I?

2003-04-04 Thread Bill Moseley
;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]

Re: MaxRequestsPerChild; which request am I?

2003-04-03 Thread Bill Moseley
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]

Re: Basic Auth logout

2003-03-07 Thread Bill Moseley
re just better maintaining a session on the server. -- Bill Moseley [EMAIL PROTECTED]

Re: Spell Checkers and EMail

2003-03-06 Thread Bill Moseley
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: Authorization question

2003-02-27 Thread Bill Moseley
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]

Is Sys::Signal still needed?

2003-02-01 Thread Bill Moseley
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]

Re: web link broken when access cgi-bin

2002-12-22 Thread Bill Moseley
;) > > 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]

Re: web link broken when access cgi-bin

2002-12-22 Thread Bill Moseley
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

Re: Fw: OT - Santa uses PERL

2002-12-20 Thread Bill Moseley
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]

Can't get nested to work in section

2002-12-19 Thread Bill Moseley
#x27;cgi-script', }, }, Directory => { '/home/moseley/test' => { Allow => 'from all', Files => { 'test.cgi' => { Options => '+ExecCGI', SetHandler => 'cgi-script', }, }, }, }, }; __END__ -- Bill Moseley mailto:[EMAIL PROTECTED]

Re: Apache::exists_config_define in 1.x?

2002-12-18 Thread Bill Moseley
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

Apache::exists_config_define in 1.x?

2002-12-18 Thread Bill Moseley
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]

Re: [OT] Ideas for limiting form submissions

2002-12-18 Thread Bill Moseley
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]

[OT] Ideas for limiting form submissions

2002-12-18 Thread Bill Moseley
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]

RE: Cookie-free authentication

2002-12-13 Thread Bill Moseley
g your logout page. -- Bill Moseley [EMAIL PROTECTED]

Re: [OTish] Version Control?

2002-10-30 Thread Bill Moseley
I have copied /usr/local/lib/perl5 before make install.) -- Bill Moseley mailto:moseley@;hank.org

RE: [OTish] Version Control?

2002-10-30 Thread Bill Moseley
b forms -- some small amount of content, templates, and text-based config settings. I currently log a history of changes, but it doesn't have all the features of cvs. Is anyone using cvs to manage updates made with web-based forms? -- Bill Moseley mailto:moseley@;hank.org

Re: Yahoo is moving to PHP ??

2002-10-30 Thread Bill Moseley
. >> > >Think about what they are using it for. Yahoo is the most extreme >example of a performance-driven situation. I also wonder if it's cheaper/easier to hire and train PHP programmers that Perl programmers. -- Bill Moseley mailto:moseley@;hank.org

mod_perl-based registration programs?

2002-06-13 Thread Bill Moseley
reporting. Currently, billing is by invoice, but we would like an on-line payment option. Anyone know of something similar? Thanks, Bill Moseley mailto:[EMAIL PROTECTED]

Re: Logging under CGI

2002-06-10 Thread Bill Moseley
t's a matter of volume. Or size of string written to the log. But I don't flock, and I keep the log file open between requests and only reopen if stat() shows that the file was renamed. So far been lucky. -- Bill Moseley mailto:[EMAIL PROTECTED]

RE: [OT] MVC soup (was: separating C from V in MVC)

2002-06-08 Thread Bill Moseley
eters it would seem best to build href in the model that knows about all those parameters. Anyone have a good way of dealing with this? Thanks, P.S. and thanks for the discussion so far. It's been very interesting. -- Bill Moseley mailto:[EMAIL PROTECTED]

[OT] MVC soup (was: separating C from V in MVC)

2002-06-06 Thread Bill Moseley
examples of MVC Perl code (mostly controller code) that does a good job of M and C separation, and good ways to propagate errors back to the C? -- Bill Moseley mailto:[EMAIL PROTECTED]

Throttling, once again

2002-04-18 Thread Bill Moseley
ting off the good customers, but I do want to get an idea how it acts under load. ab to the rescue, I suppose. Thanks much, -- Bill Moseley mailto:[EMAIL PROTECTED]

RE: mod_perl Cook Book

2002-04-06 Thread Bill Moseley
ook is one of the best books on my bookshelf. I have a couple of Apache-specific books and I learned a lot more about Apache from the Eagle than those. The cook book has been a great addition. -- Bill Moseley mailto:[EMAIL PROTECTED]

Re: [ANNOUNCE] The New "mod_perl" logo - results now in...

2002-03-15 Thread Bill Moseley
ntifier names, either. Many of the designs offered didn't use the underscore as well. And the design that won didn't use one. It's a design -- it doesn't have to be accurate to the name. Besides, if it changes does it mean that the winning design received no votes? ;) -- Bill Moseley mailto:[EMAIL PROTECTED]

Re: Creating a proxy using mod_perl

2002-03-15 Thread Bill Moseley
m working with. I'd rather cache the images locally, just in case you are working with a slow site or if they do something silly like check referer on requests. Bill Moseley mailto:[EMAIL PROTECTED]

[WOT] Google Programming Contest.

2002-02-07 Thread Bill Moseley
Sorry for the Way Off Topic, and sorry if I missed this on the list already: http://www.google.com/programming-contest/ They say C++ or Java. What, no Perl? -- Bill Moseley mailto:[EMAIL PROTECTED]

Re: New mod_perl Logo

2002-01-29 Thread Bill Moseley
7;s a group of programmers to do? The new web site should help, to some degree, but I'm not sure it will change any manager's mind on the technology they pick to run their applications. Of course, most people here have access to big pipes. So, there's always bulk mail ads. I got mai

Re: META tags added as HTTP headers

2002-01-18 Thread Bill Moseley
the headers don't show up. -- Bill Moseley mailto:[EMAIL PROTECTED]

Re: META tags added as HTTP headers

2002-01-18 Thread Bill Moseley
est-Num: 1 Client-Warning: LWP HTTP/1.1 support is experimental -- Bill Moseley mailto:[EMAIL PROTECTED]

Re: Alarms?

2002-01-10 Thread Bill Moseley
/thingy.kcilink.com/modperlguide/debug/Handling_Server_Timeout_Cases_an.html -- Bill Moseley mailto:[EMAIL PROTECTED]

Re: Template-Toolkit performance tuning

2001-12-30 Thread Bill Moseley
At 05:17 PM 12/30/01 -0600, Ryan Thompson wrote: > use Template; > > my %vars; > > $var{foo} = "bar"; # About 30 scalars like this > . > . > > my $tt = new Template({INTERPOLATE => 1}); Cache your template object bet

Searchable archives (was: [modperl site design challenge] and the winner is...)

2001-12-26 Thread Bill Moseley
ves like this example, if you like. http://search.apache.org/docs-dev/ (this URL is temporary!) Bill Moseley mailto:[EMAIL PROTECTED]

Re: Can I use mod_perl to pass authentication details to apache from an HTML form?

2001-12-24 Thread Bill Moseley
if there's a chance that your users might not have cookies enabled. Bill Moseley mailto:[EMAIL PROTECTED]

Re: [modperl site design challenge] and the winner is...

2001-12-19 Thread Bill Moseley
l. But, if the site is intended to bring in new users, it might be good to be a bit more flashy. Maybe as a community (of programmers not designers) we could hire a professional designer to help develop our "brand". Cool web site. Some print ads in the trades. What's a small am

Re: Comparison of different caching schemes

2001-12-18 Thread Bill Moseley
Gets per sec = 1279 Mixes per sec = 524 Package C7 - Cache::SharedMemoryCache Sets per sec = 42 Gets per sec = 29 Mixes per sec = 32 Bill Moseley mailto:[EMAIL PROTECTED]

Re: [RFC] Apache::CacheContent - Caching PerlFixupHandler

2001-12-06 Thread Bill Moseley
At 10:33 AM 12/06/01 -0800, Paul Lindner wrote: >On Thu, Dec 06, 2001 at 10:04:26AM -0800, Bill Moseley wrote: >> At 08:19 AM 12/06/01 -0800, Paul Lindner wrote: >> >> Ok, hit me over the head. Why wouldn't you want to use a caching proxy? > >Apache::CacheContent

Re: [RFC] Apache::CacheContent - Caching PerlFixupHandler

2001-12-06 Thread Bill Moseley
At 08:19 AM 12/06/01 -0800, Paul Lindner wrote: Ok, hit me over the head. Why wouldn't you want to use a caching proxy? BTW -- I think where the docs are cached should be configurable. I don't like the idea of the document root writable by the web process. Bill Moseley mai

Re: Hi

2001-12-04 Thread Bill Moseley
e people on this list? Just kidding. Bill Moseley mailto:[EMAIL PROTECTED]

Re: [OT] log analyzing programs

2001-12-02 Thread Bill Moseley
IMECPU COMMAND 17223 operator 1 02 747M 745M cpu14 27.1H 47.57% wusage Well at least after another 8 hours of CPU it's not leaking ;) Bill Moseley mailto:[EMAIL PROTECTED]

[OT] log analyzing programs

2001-12-01 Thread Bill Moseley
ES STATE TIMECPU COMMAND 17223 operator 1 442 747M 745M cpu14 19.2H 45.24% wusage Bill Moseley mailto:[EMAIL PROTECTED]

Re: [OT] Re: search.cpan.org

2001-11-27 Thread Bill Moseley
me: 0.089 seconds Or everything: > ./swish-e -w 'not dksksks' -m 1 # SWISH format: 2.1-dev-24 # Search words: not dksksks # Number of hits: 23840 # Search time: 0.069 seconds # Run time: 0.074 seconds This is pushing the limit for little old swish, but here's indexing a few more

Re: [OT] Re: search.cpan.org

2001-11-27 Thread Bill Moseley
my CPAN.pm setups are now failing to work, too) Bill Moseley mailto:[EMAIL PROTECTED]

Re: [modperl-site design challenge]

2001-11-26 Thread Bill Moseley
gt; >But that *is* cool. I think it's very well designed. To me, usability is >the main design goal. Keep up the good work! Does it need to render well in old browsers? (e.g. netscape 4.08) There's a lot of old browsers out there, but maybe anyone looking at mod_perl would be a bit

Re: Apache::Registry HEAD request also return document body

2001-11-23 Thread Bill Moseley
e, just posted a better solution. Maybe I'll have better luck repairing my car today. Bill Moseley mailto:[EMAIL PROTECTED]

Re: Apache::Registry HEAD request also return document body

2001-11-23 Thread Bill Moseley
e module), then > it means that the scripts won't be able to run as standalone CGIs... > >Am I right? Right, maybe that's a good thing ;) (I acutally mix mod_perl code in applicatins that will run under both.) Bill Moseley mailto:[EMAIL PROTECTED]

Re: Apache::AuthCookie login faliure reason

2001-11-23 Thread Bill Moseley
;No such username" * "Your password was incorrect" Has anyone else come across the same requirement/issue, and how have you solved it? <<<< Apache::AuthCookieURL does that. IIRC, it sets a cookie with the failure reason that's returned from a

Re: Apache::Registry HEAD request also return document body

2001-11-23 Thread Bill Moseley
At 11:43 AM 11/23/2001 +, Jean-Michel Hiver wrote: >PROBLEM HERE >A head request should * NOT * return the body of the document You should check $r->header_only in your handler. http://thingy.kcilink.com/modperlguide/correct_headers/3_1_HEAD.html Bill Moseley mailto:[EMAIL PROTECTED]

[OT] Re: Seeking Legal help

2001-11-22 Thread Bill Moseley
t's too big for small claims court, and it's too little to get much help from lawyers in a law suit, I'd guess. Ask them if they want to pay partially in hardware and you might get a good idea of their direction ;). Good luck, Bill Moseley mailto:[EMAIL PROTECTED]

Re: Cookie authentication

2001-11-15 Thread Bill Moseley
cookie right away). If it comes back with a cookie then they are enabled. Bill Moseley mailto:[EMAIL PROTECTED]

Re: Cookie authentication

2001-11-15 Thread Bill Moseley
r dealing with sessions. Do be careful about session hijacking. Bill Moseley mailto:[EMAIL PROTECTED]

Re: how to install the XML::LibXSLT along with libxslt?

2001-11-14 Thread Bill Moseley
< Did you make install libxml2? > which xml2-config /usr/local/bin/xml2-config >>>> Bill Moseley mailto:[EMAIL PROTECTED]

Re: Cache::* and MD5 collisions [was: [OT] Data store options]

2001-11-08 Thread Bill Moseley
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]

[OT] Data store options

2001-11-08 Thread Bill Moseley
issues would you use when selecting a data store method, and why? Thanks very much, Bill Moseley mailto:[EMAIL PROTECTED]

Re: Mod_perl component based architecture

2001-10-16 Thread Bill Moseley
at solutions have you found to make this easy and portable from project to project? Bill Moseley mailto:[EMAIL PROTECTED]

Re: [OT] search engine module?

2001-10-16 Thread Bill Moseley
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]

Re: [request] modperl mailing lists searchable archives wanted

2001-10-09 Thread Bill Moseley
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]

Re: FW: FW: AuthCookie Woes!

2001-09-04 Thread Bill Moseley
kie where its setting the header, and so on. Bill Moseley mailto:[EMAIL PROTECTED]

Re: Random requests in log file

2001-08-07 Thread Bill Moseley
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]

Random requests in log file

2001-08-07 Thread Bill Moseley
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]

PERL5LIB & section

2001-08-06 Thread Bill Moseley
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]

RE: Backing out a mod_perl install

2001-08-06 Thread Bill Moseley
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]

Backing out a mod_perl install

2001-08-06 Thread Bill Moseley
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]

modules/status make test fail

2001-08-03 Thread Bill Moseley
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

Re: OT: Re: ApacheCon Dublin Cancelled?

2001-07-16 Thread Bill Moseley
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]

Re: Lightweight CGI.pm for PerlHandlers

2001-05-19 Thread Bill Moseley
t I'm also not drinking less beer, windsurfing more, working less, or having more, eh, sleep, either.) Bill Moseley mailto:[EMAIL PROTECTED]

mod_parrot

2001-04-01 Thread Bill Moseley
I assume everyone saw this... ;) http://www.oreilly.com/parrot/ Bill Moseley mailto:[EMAIL PROTECTED]

Re: cgi_to_mod_perl manpage suggestion

2001-03-14 Thread Bill Moseley
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]

ApacheCon Early-Bird registration

2001-03-10 Thread Bill Moseley
oup and go for the group rate? Is there a BOF schedule yet? Bill Moseley mailto:[EMAIL PROTECTED]

Re: [ANNOUNCE] Cache-Cache-0.03

2001-03-10 Thread Bill Moseley
;s time to expire the data? Bill Moseley mailto:[EMAIL PROTECTED]

Re: Authentication handlers

2001-03-03 Thread Bill Moseley
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]

Re: Authentication handlers

2001-03-03 Thread Bill Moseley
;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]

Re: Stop button (was: Re: General Question)

2001-02-26 Thread Bill Moseley
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]

Re: Session tracking with URLs

2001-02-20 Thread Bill Moseley
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]

Re: Stop button (was: Re: General Question)

2001-02-11 Thread Bill Moseley
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]

Stop button (was: Re: General Question)

2001-02-11 Thread Bill Moseley
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]

Re: File::Cache problem

2001-02-07 Thread Bill Moseley
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]

[OT] Freeing Memory with of C extensions under Solaris

2001-02-07 Thread Bill Moseley
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]

Re: ServerRoot/Block Directive question...

2001-02-02 Thread Bill Moseley
d to protect an entire site, except a few sub directories (images, for example). Bill Moseley mailto:[EMAIL PROTECTED]

Upgrading mod_perl on production machine (again)

2001-01-16 Thread Bill Moseley
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]

Re: location not working

2001-01-10 Thread Bill Moseley
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]

Caching search results

2001-01-08 Thread Bill Moseley
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]

Re: searchable site

2001-01-01 Thread Bill Moseley
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]

Re: searchable site

2001-01-01 Thread Bill Moseley
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]

Re: Dynamic content that is static

2000-12-22 Thread Bill Moseley
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]

[OT] Anyone good with IPC?

2000-12-22 Thread Bill Moseley
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";

Re: fork inherits socket connection

2000-12-15 Thread Bill Moseley
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]

Re: fork inherits socket connection

2000-12-15 Thread Bill Moseley
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]

Re: Script Debugging Modules?

2000-12-10 Thread Bill Moseley
=> 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]

Re: Sys::Signal Weirdness

2000-12-08 Thread Bill Moseley
. 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]

Sys::Signal Weirdness

2000-12-08 Thread Bill Moseley
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]

Re: Apache::SSI design questions

2000-11-29 Thread Bill Moseley
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]

Re: session expiration

2000-11-20 Thread Bill Moseley
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

Re: session expiration

2000-11-20 Thread Bill Moseley
friend in these cases. Cheers, Bill Moseley mailto:[EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

[OT] Another *new* idea patented

2000-11-18 Thread Bill Moseley
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]

porting mod_perl content handler to CGI

2000-11-17 Thread Bill Moseley
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] -

Re: Microperl

2000-11-15 Thread Bill Moseley
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

Re: AuthCookie solution

2000-11-15 Thread Bill Moseley
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]

Microperl

2000-11-15 Thread Bill Moseley
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]

Re: [RFC] Apache::Expires

2000-11-15 Thread Bill Moseley
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]

  1   2   3   >