PHWinfo banniere

Titres
PORTAIL ANNUAIRE ARTICLES COMPARATEUR HÉBERGEURS DEVIS FORUMS RÉDUCTEUR D'URL
Précédent   PHWinfo > Forums Hébergement > Forum Hébergement serveur > comp.info.servers.unix > mod_headers with mod_sm20
S'inscrire FAQ Membres Recherche Messages du jour Marquer les forums comme lus
comp.info.servers.unix Web servers for UNIX platforms.

mod_headers with mod_sm20

Réponse
 
LinkBack Outils de la discussion
Vieux 10/06/2005, 10h36   #1
Alexander Mueller
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut 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);
}
  Réponse avec citation
Vieux 10/06/2005, 10h42   #2
Alexander Mueller
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut 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
  Réponse avec citation
Vieux 10/06/2005, 10h42   #3
Alexander Mueller
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut 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
  Réponse avec citation
Réponse


Outils de la discussion

Règles de messages
Vous ne pouvez pas créer de nouvelles discussions
Vous ne pouvez pas envoyer des réponses
Vous ne pouvez pas envoyer des pièces jointes
Vous ne pouvez pas modifier vos messages

Les balises BB sont activées : oui
Les smileys sont activés : oui
La balise [IMG] est activée : oui
Le code HTML peut être employé : non
Trackbacks are oui
Pingbacks are oui
Refbacks are oui


Fuseau horaire GMT +1. Il est actuellement 02h49.


Édité par : vBulletin® version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0 RC5 Tous droits réservés.
Version française #16 par l'association vBulletin francophone
PHWinfo est un site Éducation Sans Frontières ©2000-2008
Ad Management by RedTyger
©Tous droits réservés par les parties respectives
Page generated in 0,08154 seconds with 11 queries