mod_headers with mod_sm20

This is a discussion on mod_headers with mod_sm20 within the Linux Web Servers forums, part of the Web Server and Related Forums category; Hi, I am having an Apache 2 configuration running with Netegrity's (now Computer Associates) SiteMinder mod_sm20 module and am ...


Go Back   Usenet Forums > Web Server and Related Forums > Linux Web Servers

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 06-10-2005
Alexander Mueller
 
Posts: n/a
Default mod_headers with mod_sm20


Hi,

I am having an Apache 2 configuration running with Netegrity's (now
Computer Associates) SiteMinder mod_sm20 module and am trying to alter
certain outgoing headers with mod_headers.

However it doesnt seem to work as expect and I suspect that is because
mod_headers is possibly called prior to mod_sm20. Now it seems, the only
way to specify a module order is in the code when the module registers
itself.

Is this correct? Is the mod_headers workaround below really the only way
to say mod_headers should be run after mod_sm20?

Thank you,
Alexander



static void register_hooks(apr_pool_t *p)
{
static const char * const aszPost[] = { "mod_sm20.c", NULL };

ap_hook_pre_config(header_pre_config,NULL,NULL,APR _HOOK_MIDDLE);
ap_hook_insert_filter(ap_headers_insert_output_fil ter, NULL,
aszPost, APR_HOOK_LAST);
ap_hook_insert_error_filter(ap_headers_insert_erro r_filter, NULL,
aszPost, APR_HOOK_LAST);
ap_hook_fixups(ap_headers_fixup, NULL, aszPost, APR_HOOK_LAST);
ap_register_output_filter("FIXUP_HEADERS_OUT",
ap_headers_output_filter, NULL, AP_FTYPE_CONTENT_SET);
ap_register_output_filter("FIXUP_HEADERS_ERR",
ap_headers_error_filter, NULL, AP_FTYPE_CONTENT_SET);
}
  #2 (permalink)  
Old 06-10-2005
Alexander Mueller
 
Posts: n/a
Default Re: mod_headers with mod_sm20

Alexander Mueller wrote:
>
> Is this correct? Is the mod_headers workaround below really the only way
> to say mod_headers should be run after mod_sm20?


Respectively, is there some way to see the order in which Apache calls
its modules.

Alexander
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 08:10 AM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0