> Ciao a tutti!
> Al momento utilizzo Apache 2.0.X come Reverse Proxy verso le applicazioni 
> interne.
> Attualmente le richieste contengono l'header HTTP_USER avente come valore il 
> nome dell'utente autenticato.
> Come posso aggiungere altri 2 header (LOGON_USER e REMOTE_USER) aventi sempre 
> come valore il nome dell'utente autenticato?
> 
> In pratica si tratta di aggiungere 2 header, assegnandoli il valore di un 
> header gi? esistente...
> E' fattibile? Ho provato modificando le opportune sezioni dei Virtual Host ma 
> non riesco a settare
> correttamente i valori dei 2 header aggiunti...
> 
> Grazie!!!!
> 

Con mod_headers dovresti poter fare una roba tipo

RequestHeader set Logon-User "%{HTTP_USER}e"

Puoi comunque giocare anche con le varie SetEnv SetEnvIf e simili per
creare e gestire variabili di ambiente in apache e poi usare mod_headers
per modificare gli header di una richiesta.


-- 

Franco (nextime) Lanza
Busto Arsizio - Italy
SIP://[EMAIL PROTECTED]

NO TCPA: http://www.no1984.org
you can download my public key at:
http://danex.nexlab.it/nextime.asc || Key Servers
Key ID = D6132D50
Key fingerprint = 66ED 5211 9D59 DA53 1DF7  4189 DFED F580 D613 2D50
-----------------------------------
echo 
16i[q]sa[ln0=aln100%Pln100/snlbx]sbA0D212153574F444E49572045535520454D20454B414D204F54204847554F4E452059415020544F4E4E4143205345544147204C4C4942snlbxq
 | dc
-----------------------------------

Attachment: signature.asc
Description: PGP signature

________________________________________________________
http://www.sikurezza.org - Italian Security Mailing List

Rispondere a