Geoffrey Young wrote: >>(In case it's suggested, I can't currently use PerlAuthenHandler or >>any handler other than PerlHandler. The module makes use of mod_ssl >>environment variables which are not accessible until the PerlHandler >>phase. I also can't make use of Geoff Young's module that works >>around this [Apache::SSLLookup] because I'm forced to run Apache 1.3.) > > > IIRC those mod_ssl-specific variables (like HTTPS) are actually populated > during fixups, which means if you can force mod_ssl to run its fixups > _before_ mod_perl runs its fixups you'll be in good shape...
oh, and if it wasn't obvious what this buys you here it is - if mod_ssl runs its fixups before mod_perl then you can code logic around, say, $r->subprocess_env('HTTPS') from a PerlFixupHandler and leave the PerlHandler to just serving content. sorry I left that out :) --Geoff