Sébastien, hello. I don't have a solution for you but I'm waiting for a
similar reply. I hope the following helps: >From my e-mail thread entitled, 'Setting CGI environment variables, dynamically, from httpd.conf leveraging exising variables': ... 2. Technique 2: setenv DAVESETENV "text" http://www.usenet-forums.com/apache-web-server/10179-setenv-dynamic-variable.html---------------------------------------------- Result: DAVESETENV="text" But, I've read that this is only a static string. Eric Covenor replied: setenvif is a bit more flexible: ==> So I reckon you should look at setenvif, rather. ---------- >From my Email entitled, 'RewriteRule .* - [E=TEMP_SMUSER:%{SSL:OID("2.5.29.17")}] # Subject Alternate Name': ... Question 2: Also, I've never gotten SetEnvIf to work, for example: SetEnvIf "LA-U:REMOTE_PORT" "(.*)" A_SETENVIF_LA_U_REMOTE_PORT=$1Result: A_SETENVIF_ENV_REMOTE_PORT="" A_SETENVIF_ENV_REMOTE_PORT_PERCENT="" A_SETENVIF_LA_F_REMOTE_PORT="" A_SETENVIF_LA_F_REMOTE_PORT_PERCENT="" A_SETENVIF_LA_U_REMOTE_PORT="" A_SETENVIF_LA_U_REMOTE_PORT_PERCENT="" A_SETENVIF_OIDTEST="3D" A_SETENVIF_OIDTEST_WITH_PERCENT="3D" A_SETENVIF_SSL_REMOTE_PORT="" If I receive an answer I'll let you know. Cdlt, Dave -----Sébastien Moretti wrote: Hi |