[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Apache2 e mod_rewrite



Il giorno ven, 01/12/2006 alle 08.43 +0100, Alessandro De Zorzi ha
scritto:
> RewriteEngine On
> RewriteRule ^categories/$ index.php?category=categories [L,QSA]
> RewriteRule ^contact/$ index.php?category=contact [L,QSA]

Alla fine ho risolto:
RewriteEngine on
RewriteCond %{REMOTE_USER} (.*)
RewriteRule .* - [E=REMOTE_USER:%1]
RequestHeader add REMOTE_USER "%{REMOTE_USER}e"

passare nella query string i parametri è ok se non sono dati riservati.
Il problema comunque era accedere alle variabili d'ambiente di Apache.

-- 
Davide Corio                                davide.corio<at>redomino.com
Redomino S.r.l.            C.so Monte Grappa 90/b - 10145 Torino - Italy
Tel: +39 011 19502871 - Fax: +39 011 19791122 - http://www.redomino.com/



Reply to: