This shows you the differences between two versions of the page.
|
dynamic_virtual_hosts [2009/02/10 12:57] danux created |
dynamic_virtual_hosts [2009/02/10 12:57] (current) danux |
||
|---|---|---|---|
| Line 4: | Line 4: | ||
| RewriteEngine on | RewriteEngine on | ||
| - | RewriteCond %{HTTP_HOST} ^([^\.]+)\.example\.come$ | + | RewriteCond %{HTTP_HOST} ^([^\.]+)\.example\.com$ |
| RewriteRule .? /var/www/%1%{REQUEST_URI} [L] | RewriteRule .? /var/www/%1%{REQUEST_URI} [L] | ||