[Mediawiki-l] Mod_rewrite of url

Robert L. DeSilets, Jr. desilets at isc.upenn.edu
Wed Feb 20 14:47:23 UTC 2008


I have a very rudimentary knowledge of mod_rewrite.  I am trying to move a
MediaWiki instance off of an old OSX server to a new Ubuntu host.  The old
url schema I inherited was fully.qualified.domain:16080/index.php, etc where
the new url will just be fully.qualified.domain/index.php.  I am aware of
the SERVER_PORT conditional statement, but I am not sure how to translate
traffic redirected from the original url and strip out the port number.
Unfortunately, there are a bunch of hard links to articles on the old url
that need to be tracked down over time.  Until that happens, we need to
perform a more friendly migration strategy.

Examples or documentation links (other than Apache's mod_rewrite docs) would
be appreciated.

Thank you.
--
Robert L. DeSilets, Jr.
Sr. IT Support Specialist
ISC-CSG
desilets at isc.upenn.edu
(215)898-0067





More information about the MediaWiki-l mailing list