httpd-users mailing list archives

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

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

I've tried this :

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

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,


To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message