Journal OctaneZ's Journal: Apache and mod_rewrite 1
I wish apache had a mechanism to use mod_rewrite without having to have a vhost for each domain that you want to redirect.
At the moment I have this defined in each vhost I want to redirect:
RewriteEngine on
RewriteCond %{HTTP_HOST} domain.org$ [NC]
RewriteRule ^(.*)$ http://server.domain.edu/$1 [R]
Am I missing something obvious?
Not sure if this is what you mean, but... (Score:1, Informative)
You can also set up a file to map various addresses to multiple vhosts, rather than ma