Hi All,
Below I have the output of Apache::PerlSections-dump from Bricolage.
I'm doing a lot of configuration in a Perl module where I simply switch
to the Apache::ReadConfig package and do my thing. This keeps httpd.conf
clean but allows me to do all the data munging I need to to get all the
proper locations set up according to the settings of Bricolage's own
configuration directives.
The problem is that the Location directives below are acting more like
LocationMatch directives. For example, if I hit the URL
'/admin/workflow/media', I would expect the '/' Location's handlers to
handle the request. But they're not. Instead, it's the '/media' Location
handlers. It's as if I had set it up with LocationMatch */media* instead
of Location.
Anyone have any idea why it might be doing this? I've tried all kinds of
things and I'm stumped!
TIA,
David
#hashes:
%VirtualHost = (
'*:80' = {
'Location' = {
'/' = {
'PerlHandler' = 'Bric::App::Handler',
'PerlCleanupHandler' = 'Bric::App::CleanupHandler',
'PerlAccessHandler' = 'Bric::App::AccessHandler',
'SetHandler' = 'perl-script'
},
'/login' = {
'PerlHandler' = 'Bric::App::Handler',
'PerlCleanupHandler' = 'Bric::App::CleanupHandler',
'PerlAccessHandler' = 'Bric::App::AccessHandler::okay',
'SetHandler' = 'perl-script'
},
'/logout' = {
'PerlCleanupHandler' = 'Bric::App::CleanupHandler',
'PerlAccessHandler' = 'Bric::App::AccessHandler::logout_handler'
},
'/data' = {
'SetHandler' = 'default-handler'
},
'/data/preview' = {
'PerlFixupHandler' = 'sub { $_[0]-no_cache(1); return Apache::OK; }'
},
'/dist' = {
'PerlHandler' = 'Bric::Dist::Handler',
'SetHandler' = 'perl-script'
},
'/media' = {
'PerlCleanupHandler' = 'Apache::OK',
'PerlAccessHandler' = 'Apache::OK',
'SetHandler' = 'default-handler'
}
},
'DocumentRoot' = '/usr/local/bricolage/comp',
'DefaultType' = 'text/html',
'ServerName' = '_default_',
'PerlTransHandler' = 'Bric::App::PreviewHandler::uri_handler'
}
);
#arrays:
@NameVirtualHost = (
[
'*:80'
]
);
#scalars:
--
David Wheeler AIM: dwTheory
[EMAIL PROTECTED] ICQ: 15726394
Yahoo!: dew7e
Jabber: [EMAIL PROTECTED]