Hi,
we have hundreds of 301 redirects in our httpd configuration. To keep
the manual configuration between stages as low as possible I tried to
work with variables.
Example:
Redirect 301 /something http://dev-stage1.domain.com/new/something
I want to replace "dev-stage1.domain.com" by a variable that is set by
SetEnv (or SetEnvIf).
This is not working and I couldn't find a working solution so far:
SetEnv STAGE dev-stage1.domain.com
Redirect 301 /something http://%{STAGE}/new/something
%{STAGE} is not replaced.
Any ideas?
Any hints are very much appreciated.
--
Mit freundlichen Grüßen
Arndt Roth
Application Management IT-Produktion
Immobilien Scout GmbH
Andreasstraße 10
10243 Berlin
Fon +49 (0)30 24301-1610
Cell +49 (0)172-3921862
arndt.r...@immobilienscout24.de
----------------------------------------------------------
Immobilien Scout GmbH
Beirat: Dr. Martin Enderle (Vorsitzender)
Geschäftsführer: Dirk Hoffmann, Marc Stilke (Sprecher)
Handelsregister: Amtsgericht Charlottenburg, HRB 69108
Sitz der Gesellschaft: Berlin
----------------------------------------------------------
http://www.immobilienscout24.de
Der Marktführer: Deutschlands größter Immobilienmarkt
---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org
" from the digest: users-digest-unsubscr...@httpd.apache.org
For additional commands, e-mail: users-h...@httpd.apache.org