Unfortunately I'm not using Apache2... :-(

Any ideas for Apache 1.3?

On 10 Nov 2005 11:37:50 -0800, Randal L. Schwartz <merlyn@stonehenge.com> wrote:
>>>>> "Brian" == Brian Phillips < [EMAIL PROTECTED]> writes:

Brian> Even using Apache->httpd_conf with the exact line from our regular
Brian> httpd.conf hasn't worked:
Brian> <Perl>
Apache-> httpd_conf(q{
Brian>  LogFormat "%h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\""
Brian> combined
Brian>  });
Brian>  our $CustomLog = 'logs/access_log combined';
Brian> </Perl>

Brian> Does anyone have a working example of how to use multiple values for these
Brian> specific directives?

This is probably an example of the bug I reported earlier, and to which a
fix has been posted, but not tested.  However, my workaround looks like this:

  <Perl>
    use Apache2::PerlSections;
    BEGIN {
      *Apache2::PerlSections::dump_special = sub {
        my($self, @data) = @_;
        $self->add_config($_) for @data;
      }
    }
  </Perl>

And that works for me to enable PerlSections to actually *work*.
Apparently, there are no tests for that. :(

--
Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095
<merlyn@stonehenge.com> <URL:http://www.stonehenge.com/merlyn/>
Perl/Unix/security consulting, Technical writing, Comedy, etc. etc.
See PerlTraining.Stonehenge.com for onsite and open-enrollment Perl training!

Reply via email to