Walter, Thanks for the reply. I saw that website before since its mentioned in the comments in the LocalSettings.php file but it didn't look like what I needed. I could be wrong, of course, since I'm not even sure I understand the problem correctly. I did go through the directions on that page just now and it didn't seem to change anything.
It seems to me like that page is meant to get the webserver to print the URL as /Main_Page instead of ?title=Main_Page. It would seem that this is exactly what my new version of mediawiki is trying to do, though, and that apache can't find the page correctly. The tips in this page only suggest making an alias to the directory but I would think some rewrite rules might be needed as well. Is there something else I could try? Thanks. Josh On Wed, 3 Dec 2008, Walter Mazza wrote: > Date: Wed, 03 Dec 2008 10:46:24 -0600 > From: Walter Mazza <[EMAIL PROTECTED]> > Reply-To: MediaWiki announcements and site admin list > <[email protected]> > To: MediaWiki announcements and site admin list > <[email protected]> > Subject: Re: [Mediawiki-l] problems with mediawiki migration > > Hey Josh, > > I believe what you are looking for is Short URLs: > http://www.mediawiki.org/wiki/Short_URL > > The reason why you were able to successfully login is because the login page > link is http://newserver.url/syswiki/index.php?action=login&other=params > > http://newserver.url/syswiki/index.php/Main_Page > -or- > http://newserver.url/syswiki/index.php?title=Main_Page > -is not the same as- > http://newserver.url/syswiki/Main_Page > > In the first 2 cases, the server knows you are referencing "index.php" and > "Main_Page" is a parameter passed to it. > Where as in the third case, the server is looking for a web page/file called > "Main_Page", which results in a 404/Page Not Found error. > > Someone please correct me if i am wrong, but I believe the issue here is > your server's rewrite rules and the Short URLs link provided should > hopefully resolve this. :D > > Walter Mazza > > > On Wed, Dec 3, 2008 at 10:25 AM, Josh Greenberg <[EMAIL PROTECTED]> wrote: > > > I'm trying to upgrade my mediawiki version and also move it to another > > server all at once. I've followed the documentation, sometimes > > performing the steps in different order, with the same result each time. > > Here are the details. > > > > > > Old server/versions: > > OS: SL42 (SL is RHEL derivative so same as RHEL4), kernel 2.6.9-34.ELsmp > > Mediawiki 1.8.2 > > PHP 4.3.9 > > MySQL 4.1.22 > > > > New server: > > OS: SL51, kernel 2.6.18-92.1.10.el5PAE > > Mediawiki 1.13.2 > > PHP 5.1.6 > > MySQL 5.0.45 > > > > The steps I took to do the migration are: > > Backup wiki from old server (mysqldump -u root -p wikiDB > wikiDB.sql) > > scp wikiDB.sql to new server > > untar new version on new server > > copy LocalSettings.php, AdminSettings.php, extensions dir, images dir, > > and our logo to new server > > import wikiDB.sql into mysql database on new server (mysql -u root -p > > wikiDB < wikiDB.sql) > > ran maintenance/update.php on new server with successful output > > > > I was able to navigate to the mediawiki web page on the new server and > > was able to login (got to "Login Successful" screen) but when I click on > > the "Return to Main Page" link or any link in the navigation bar running > > down the left side, I receive the error "The requested URL > > /syswiki/Main_Page was not found on this server." Trying to navigate to > > "Categories" produces the error "The requested URL > > /syswiki/Special:Categories was not found on this server." The > > corresponding apache errors are: > > > > [Wed Dec 03 11:19:07 2008] [error] [client 128.222.123.123] File does > > not exist: /var/www/html/default/syswiki/Main_Page, referer: > > > > http://newserver/syswiki/index.php?title=Special:UserLogin&action=submitlogin&type=login&returnto=Main_Page > > [Wed Dec 03 11:19:28 2008] [error] [client 128.222.123.123] File does > > not exist: /var/www/html/default/syswiki/Special:Categories, referer: > > > > http://newserver/syswiki/index.php?title=Special:UserLogin&action=submitlogin&type=login&returnto=Main_Page > > > > > > I'm not sure what I'm doing wrong. I've followed the documentation to > > the letter and have been googling this for a while with no results. I > > hope its a known error but suspect that its a problem with > > LocalSettings.php or an apache setting that conflicts with the newer > > mediawiki version. Let me know if you need any other info like local > > variables. Any help is appreciated. Thanks in advance! > > > > Josh > > > > _______________________________________________ > > MediaWiki-l mailing list > > [email protected] > > https://lists.wikimedia.org/mailman/listinfo/mediawiki-l > > > _______________________________________________ > MediaWiki-l mailing list > [email protected] > https://lists.wikimedia.org/mailman/listinfo/mediawiki-l > _______________________________________________ MediaWiki-l mailing list [email protected] https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
