Re: pass-thru/redirect/DECLINE to *.jpg

2002-12-18 Thread Geoffrey Young
my $fh=$pic-open; #returns the filehandle $r-send_fd($fh); close($fh); return OK; I used send_fd because it seemed from the documentation that it is a easier/better(?) method than rewriting the URI and setting default-handler. Is that not so? if you were to use

pass-thru/redirect/DECLINE to *.jpg

2002-12-17 Thread Aaron J Mackey
I have a completely mod_perl handler-based web app set up as so: Location ~ ^/myapp PerlHandler Client::WWW SetHandler perl-script PerlSetVar ConfigFile /home/ajm6q/myapp/data/www-config /Location The Client::WWW handler decides what to do based on the

Re: pass-thru/redirect/DECLINE to *.jpg

2002-12-17 Thread Ged Haywood
Hi there, On Tue, 17 Dec 2002, Aaron J Mackey wrote: I have a completely mod_perl handler-based web app set up as so: Location ~ ^/myapp PerlHandler Client::WWW SetHandler perl-script PerlSetVar ConfigFile /home/ajm6q/myapp/data/www-config

Re: pass-thru/redirect/DECLINE to *.jpg

2002-12-17 Thread Issac Goldstand
From: Ged Haywood [EMAIL PROTECTED] It seems a bit wasteful to have a mod_perl Apache process involved at all in serving .jpg and other static files. Why not run a two-Apache setup and let the non-mod_perl server serve them without even letting a heavyweight process see the request? It's