httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Florian S." <>
Subject [users@httpd] Wildcard-domain environment var for ProxyHTMLURLMap
Date Thu, 25 Jun 2009 16:10:24 GMT

I got a question about how/where to use environment vars.

Assume a simple namebased VirtualHost that is a reverse proxy:


		ServerName *
		ProxyPass / balancer://lb/
		ProxyPassReverse / balancer://lb/

	<Proxy balancer://lb>

Now, I want to sanitize the HTML and Location Headers. But how can I
determine, which domain matching the wildcard was used by the client?
(Host-Header like or

It has to be something like that (simplyfied):
	Header edit Location %{HTTP_HOST}

I found several different ways for giving env-vars or setting them for
myself first. Nothing worked.. (env:, ENV:, env=, %{}, %{}e, etc..)

Any ideas?

Thanks in advance:
	Florian Schröder

The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:> for more info.
To unsubscribe, e-mail:
   "   from the digest:
For additional commands, e-mail:

View raw message