On 20.10.2010 14:49, Sébastien Moretti wrote:
Hi
I have defined a SetEnv Directive this way:
SetEnv BASE_PATH /tmp/smthg
I would like to re-use this variable in another SetEnv Directive, e.g.:
SetEnv PATHS $BASE_PATH/a:$BASE_PATH/b:$BASE_PATH/c:...
But $BASE_PATH is not interpreted as a varia
Oups my test cases weren't tidy.
from vhost443.conf:
SetEnvIf "LA-U:REMOTE_PORT" "(.*)"
A_SETENVIF_LA_U_REMOTE_PORT=$1
SetEnvIf %{LA-U:REMOTE_PORT} "(.*)"
A_SETENVIF_LA_U_REMOTE_PORT_PERCENT=$1
SetEnvIf ${LA-U:RE
Hello Dave,
thanks for your help.
In fact, I just want to define BASE_PATH in order to re-use it in PATHS.
PATHS contains several times BASE_PATH and I would like to change
BASE_PATH value once instead of several times in PATHS.
Sébastien, hello. I don't have a solution for you but I'm waiti
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"
---
Hi
I have defined a SetEnv Directive this way:
SetEnv BASE_PATH /tmp/smthg
I would like to re-use this variable in another SetEnv Directive, e.g.:
SetEnv PATHS $BASE_PATH/a:$BASE_PATH/b:$BASE_PATH/c:...
But $BASE_PATH is not interpreted as a variable.
I tried with quotes, back-splash,