Thread:Project:Support desk/infinite loop Redirection

Hi there.

To start, here are my version informations : MediaWiki 	1.16.0 PHP 	5.2.6-1+lenny13 (apache2handler) MySQL 	5.0.51a-24+lenny5

Well, I just ran into quite an intriguing problem. Here it is.

Due to de sudden death of our server, we (the other administrators of the mediawiki I administrate and me) had to move our wiki on a new location (on a associative server).

So we were given the addresse broceliande.campus.ecp.fr, which is an alias for perso.campus.ecp.fr/~broceliande.

When we at first connected to broceliande.campus.ecp.fr, after connecting, the wiki redirected us to the address in perso ..., so this wouldn't work wery well.

So I put in LocalSettings.php the lines : $wgServer          = "http://broceliande.campus.ecp.fr"; $wgScriptPath      = ""; Which I would find more elegant than putting what is right now on production. $wgScriptPath      = "/~broceliande";

But then, the Mediawiki started to enter an infinite loop of "403 permanent redirection" when trying to access to broceliande.campus.ecp.fr.

Do you see a workaround I could use to obtain the behaviour i was expecting (which is using http://broceliande.campus.ecp.fr as it's base url and not asking any further if it is legitimate or not) ?