Return-Path: X-Original-To: apmail-httpd-modules-dev-archive@minotaur.apache.org Delivered-To: apmail-httpd-modules-dev-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 690CD4FA9 for ; Mon, 6 Jun 2011 12:31:12 +0000 (UTC) Received: (qmail 28397 invoked by uid 500); 6 Jun 2011 12:31:12 -0000 Delivered-To: apmail-httpd-modules-dev-archive@httpd.apache.org Received: (qmail 28354 invoked by uid 500); 6 Jun 2011 12:31:12 -0000 Mailing-List: contact modules-dev-help@httpd.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: modules-dev@httpd.apache.org Delivered-To: mailing list modules-dev@httpd.apache.org Received: (qmail 28346 invoked by uid 99); 6 Jun 2011 12:31:12 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 06 Jun 2011 12:31:12 +0000 X-ASF-Spam-Status: No, hits=-0.7 required=5.0 tests=FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,RFC_ABUSE_POST,SPF_PASS,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of maurizio.totti@gmail.com designates 209.85.216.173 as permitted sender) Received: from [209.85.216.173] (HELO mail-qy0-f173.google.com) (209.85.216.173) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 06 Jun 2011 12:31:06 +0000 Received: by qyk36 with SMTP id 36so1045479qyk.18 for ; Mon, 06 Jun 2011 05:30:46 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:in-reply-to:references:date :message-id:subject:from:to:content-type; bh=EhZC/Ik+2EPX2VP0sSGtIGcqO82wzdLkQGKcdH7u6SA=; b=ZhPRX9x6g9wEBGc/4QTTquavQUH2LKdY3DtdcRQBknJVYkznZUrABeEPLfzwDNPNJs TcbEYx7RIg03VWZ62jgGZw2gQPUC5uxGEY21iF60dw+6UqUiMytE1dZhzHUGOFbxGxV0 QLtqBK5JaCujLu7BSsVp/ZUsg2uq5EWzCHkF4= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; b=T00LqmENLXuiSVgWS8moW5sUrqzYMfmJl7E9+YaN5zZPFYUZj77HSmotJfeUPSpTyu WQTJwmcP73hsWgXfCPLN0CNqk1xCh2JNrfJtSntO3Wjppq6inVqjTASwlHtriHPXBBFX u6zVQ/+QZ3/0a1xYJVXbdOMs0+kJ/GFpsZpGc= MIME-Version: 1.0 Received: by 10.229.18.81 with SMTP id v17mr3550557qca.7.1307363446178; Mon, 06 Jun 2011 05:30:46 -0700 (PDT) Received: by 10.229.212.71 with HTTP; Mon, 6 Jun 2011 05:30:46 -0700 (PDT) In-Reply-To: <4DECC6B0.7040801@bytecamp.net> References: <4DECC6B0.7040801@bytecamp.net> Date: Mon, 6 Jun 2011 14:30:46 +0200 Message-ID: Subject: Re: Add a variable on http header From: Maurizio Totti To: modules-dev@httpd.apache.org Content-Type: text/plain; charset=ISO-8859-1 2011/6/6 Robert Schulze : > Hi, > > why writing a module for that? Better use Add|SetHeader et al from > mod_headers. > > with kind regards, > Robert Schulze > Hi Robert, thanks for your response. I would write a more complex module that will retrieve REMOTE_USER from mod_kerb and then will do a query on LDAP sever to get some user attribute and put the results on http header varabiles (maybe :-) ) This question is relative to the last step. Regards. P.S. Excuse my poor english :-( -- Maurizio Totti