On 2/21/08 1:00 AM, "mediawiki-l-request(a)lists.wikimedia.org"
<mediawiki-l-request(a)lists.wikimedia.org> wrote:
I wish it was that simple. I am moving from one server to another and have been tasked
with setting up a new URL schema (done). The issue is that the old schema is used in lots
of URLs referenced throughout our websites. I would like to be able to serve up the
content requested by the old urls on the new server while we track down the bookmarks and
correct them. I will redirect the old alias to the new IP address, but I think what I
need to do is a combination of mod_proxy and mod_rewrite.
Bob
Date: Wed, 20 Feb 2008 12:12:43 -0800 (PST)
From: panoptical2 <panoptical2(a)gmail.com>
Subject: Re: [Mediawiki-l] Mod_rewrite of url
To: mediawiki-l(a)lists.wikimedia.org
Message-ID: <15597784.post(a)talk.nabble.com>
Content-Type: text/plain; charset=us-ascii
From what I'm getting, all you are trying to do is
move your Mediawiki
instance from port 16080 to port 80, the default http port,
using the same
domain name. (If I'm wrong, stop here and correct me.)
If that's all you are doing, you could create a small html file that has a
meta tag to redirect everyone to the new URL (without the port number
included).
As for mediawiki, you could just copy the database that you have and upload
it to the new server, re-download Mediawiki to the new server, (make sure
you have PHP5 enabled and running) and the install/configure script will
automatically start using that database.
I don't see any need to meddle with Apache, as all you would be doing is
transferring your domain name to a different IP/nameserver.
--
View this message in context:
http://www.nabble.com/Mod_rewrite-of-url-tp15590612p15597784.html
Sent from the WikiMedia General mailing list archive at
Nabble.com.
--------------------------------
Bob DeSilets
Sr. IT Support Specialist
desilets(a)isc.upenn.edu
215-898-0067