Issac Goldstand wrote: > > Hi all... I'm trying to put the finishing touches on > Apache::UploadMeter, but am running into a minor problem. Due to the > complexity of the configuration, I'm trying to use the > Apache::ReadConfig namespace from mod_perl_start.pl to dynamically > configure the upload-meter (by setting some variables in the > Apache::UploadMeter namespace and then calling a configure() routine). > > Enclosed is the configure() subroutine. It runs fine, but doesn't seem > to be tying the handlers properly. Any advice would be helpful. Also, > if anyone know how I could dynamicly add handlers to the stack directly > from the Apache::ReadConfig namespace without knowing in advance what > other handlers are enabled for a given Location, that would be helpful... >
I tried something similar in this (highly experimental and unfinished) module http://www.modperlcookbook.org/~geoff/modules/Apache-ReverseLocation-0.01.tar.gz maybe looking that module over would be of some help... had I the inclination, I would use the qr// operator to properly fix the Alias bit, and do something better about the vhost problem, and... at any rate, overriding <Location> and friends is a cool way to know what <Location>s are in your httpd.conf... HTH --Geoff