httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Thibaut Lemaire <tib1av...@gmail.com>
Subject [users@httpd] Problem with wildcard subdomains and ProxyPass
Date Tue, 02 Apr 2013 16:18:56 GMT
Hi,

I want to use Apache to proxy requests like domain.tld.MyDomain.tld to
domain.tld.

I've tried this :

<VirtualHost *:80>
      RewriteEngine on
      RewriteCond     %{HTTP_HOST}    (.*).MyDomain.tld$
      RewriteRule     (.*).MyDomain.tld$  $1
      ProxyPassMatch /http://$1/
</VirtualHost>

But of course it doesn't work.
I've tried many other solutions, but no one works.

Do you have an idea of the manner to resolve my problem ?

Thanks by advance,

Thibaut


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message