mod_rewrite to move to new dns alias?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Hi everyone,
I have a server that
has a dns alias, and has a lot of content (read blog/wiki) that might reference
the dns name as part of the urls embedded in the site. I was wondering if
I can use mod_rewrite to rewrite the request to the new server so I don't have
to go through the existing content and update any links with the new server dns
alias.
Would something like
this work:
RewriteRule
^/abc(.*) /xyz$1
where the dns
aliases are abc.domain.com and xyx.domain.com?
Thanks in
advance!
mg
[Index of Archives]
[Open SSH Users]
[Linux ACPI]
[Linux Kernel]
[Linux Laptop]
[Kernel Newbies]
[Security]
[Netfilter]
[Bugtraq]
[Squid]
[Yosemite News]
[MIPS Linux]
[ARM Linux]
[Linux Security]
[Linux RAID]
[Samba]
[Video 4 Linux]
[Device Mapper]