On 7/22/06, Jonathan Horne <[EMAIL PROTECTED]> wrote:
i saw a similar thread here today, and as well i have also been reading:
http://httpd.apache.org/docs/2.0/misc/rewriteguide.html
but i cannot understand how to achieve what i would like.
i have just changed my domain from example.com to example.org. i have all my
other sites and services changed over, but i would like any remaining links
that people might have saves to re-write as well (such as,
www.example.com/~userdir to www.example.org/~userdir). both example.com and
example.org are configured as seperate virtual hosts in my httpd.conf.
speaking of seperate virtual hosts, i also would like to figure out how to
re-write anything arriving at the base url for example.com, but i would have
to assume that an answer to mny first query would take care of this as well.
i tried doing a 'Redirect permanent' against the /, apache didnt like that.
This is pretty-much exactly the same as the example listed here:
http://httpd.apache.org/docs/1.3/misc/FAQ.html#canonical-hostnames
Joshua.
---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: [EMAIL PROTECTED]
" from the digest: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]