Re: [RELEASE CANDIDATE] Apache-Test 1.28

2006-02-13 Thread Dan Wilga
t you post to, it's always a good idea to include a description of what your module is. If the goal is to get as many people as possible using your code instead of writing their own, you should try to do everything you can to encourage it, and not confusing your audience is a good first

Re: BerkeleyDB as a cache backend

2005-06-27 Thread Dan Wilga
s not one of them. (BDB is actually what the default MySQL DB format uses at its lowest level, but the corruption problem is avoided by having one, central DB daemon that does all of the reads/writes to the files.) -- Dan Wilga [EMAIL PROTECTED

Re: Basic Authentication & logout

2005-06-24 Thread Dan Wilga
entication failed. Retry?" alert. All you can do is warn them they will get this. One was is to first display a page that says so, and then automatically redirect them to the page that actually returns the AUTH_REQUIRED code. -- Dan Wilga [EMAIL

OT: module announcement suggestion/CPAN improvement

2005-06-09 Thread Dan Wilga
I (you need at least 1.012 now) o Create Apache2::AuthTicket from copy of Apache::AuthTicket and ported to mod_perl 2.0 API. This is the first release that supports mod_perl2 o MP2 - use SQL::Abstract to generate queries -- Dan Wilga [

Re: Vanishing Requests

2005-05-13 Thread Dan Wilga
won't be an entry in the access log. That's because Apache logs requests (in the access log) AFTER they have already been sent to the client. The only way to track every request that comes in is to use something like mod_forensic. -- Dan Wilga

Re: Segmentation Fault

2005-04-04 Thread Dan Wilga
also have yet another version linked. A good tool to help figure out this sort of thing is "ldd". Give it the full paths of the modules and httpd itself, then see if there are differing versions anywhere. -- Dan Wilga [EMAIL PROTECTED] We

Re: Question: Limiting Filetypes Uploaded

2005-03-03 Thread Dan Wilga
to get a bogus type (like application/octet-stream) on uploads. You're likely to miss valid files this way. Richard Rebel also brings up some very good points in his reply. -- Dan Wilga [EMAIL PROTECTED] Web Administrator

Re: Question: Limiting Filetypes Uploaded

2005-03-02 Thread Dan Wilga
size) based upon the file header. It doesn't even rely upon the .jpg or .gif ending, which would also be a bad idea. -- Dan Wilga [EMAIL PROTECTED] Web Administrator http://www.mtholyoke.edu Mount Holyoke College

Makefile.PL oddities

2004-08-25 Thread Dan Wilga
[ info] generating script t/TEST Writing Makefile for Apache::Test [ info] generating script t/TEST Writing Makefile for ModPerl::Registry Writing Makefile for APR::Base64 Writing Makefile for APR::Brigade ... Notice how I said "n", yet it went ahead and gene

"make test" in 1.99_16

2004-08-25 Thread Dan Wilga
Here's another tidbit: I end up in this same infinite loop if I do "make clean" or "make distclean". Why it's even trying to run httpd and apxs for this, I dunno. -- Dan Wilga [EMAIL PROTECTED] Web Technology Speci

"make test" in 1.99_16

2004-08-25 Thread Dan Wilga
-----+ make: *** [run_tests] Error 2 It has the effect of quitting the test, but is probably not as elegant as originally intended. -- Dan Wilga [EMAIL PROTECTED] Web Technology Specialist http://www.mtholyoke.edu M

RE: ModPerl::Registry: Software caused connection abort

2004-08-09 Thread Dan Wilga
y now the mod_perl wizards can get to the bottom of the problem. -- Dan Wilga [EMAIL PROTECTED] Web Technology Specialist http://www.mtholyoke.edu Mount Holyoke CollegeTel: 413-538-3027 South Hadley, MA 0107

Re: ModPerl::Registry: Software caused connection abort

2004-08-02 Thread Dan Wilga
etting the user agent string of the request to match what IE sends, and this made no difference. I'm beginning to wonder if maybe I need to sniff the packets. Are you by chance using a proxy server? Nope. Good thought, though. -- Dan Wilga [EM

Re: ModPerl::Registry: Software caused connection abort

2004-08-02 Thread Dan Wilga
g to detect the abort, but it doesn't work in this situation. -- Dan Wilga [EMAIL PROTECTED] Web Technology Specialist http://www.mtholyoke.edu Mount Holyoke CollegeTel: 413-538-3027 South Hadley, MA

Re: ModPerl::Registry: Software caused connection abort

2004-08-02 Thread Dan Wilga
hat, unlike $!, $@ doesn't have a numeric component. I tried changing this to: +if ($@) { +if ($@ eq APR::ECONNABORTED) { +# silently ignore client connection abort but that didn't help. Now it says, "APR::Error: Can't handle 'eq'

ModPerl::Registry: Software caused connection abort

2004-07-30 Thread Dan Wilga
y happens when SSL is added to the mix. However, if you do agree that mod_perl needs to be more tolerant of this particular condition then, in my opinion, not only should the error not be logged with the "[error]" severity, but the ErrorDocument 500 should also not be called. -