Quote:
Originally Posted by till
Rewriting rules are inserted all correctly as you can see in your vhost:
RewriteEngine on
RewriteCond %{HTTP_HOST} ^b [NC]
RewriteRule ^/(.*)$ http://www.a/$1 [L]
RewriteCond %{HTTP_HOST} ^ www.b [NC]
RewriteRule ^/(.*)$ http://www.a/$1 [L]
RewriteCond %{HTTP_HOST} ^c [NC]
RewriteRule ^/(.*)$ http://www.a/$1 [L]
RewriteCond %{HTTP_HOST} ^ www.c [NC]
RewriteRule ^/(.*)$ http://www.a/$1 [L]
If they work or not depends on the domains you insert etc. For details on rewrite rules and how they work take a look here:
http://httpd.apache.org/docs/2.0/misc/rewriteguide.html
|
That rewrites rules are from the alias domain
c & b ->
www.a
the one missing is the
auto www
a -> a.www