Denny Schierz wrote:
> hi,
> 
> we switched from the source package to Debians one. We had a structure
> like:
> 
> http://www.foo.org/index.php/page
> 
> Debians version has:
> 
> http://www.foo.org/mediawiki/index.php/page
> 
> so, my problem is now, that nearly every "hard" link is now broken. I
> want to fix these links with mod_rewrite, but i'm not sure how. I know
> the page http://www.mediawiki.org/wiki/Manual:Short_URL but i don't get
> it. We have also installed mailman and some more in the same way, so
> that i can't redirect easy all to the mediwiki/ folder.
> 
> So, what i want, is that every "hard URL" works, like before. One way
> were to suppress the mediawiki/ folder or, redirect from the URL without
> mediawiki/, to the correct page, _with_ mediawiki/
> 
> any suggestions?
> 
> cu denny

What about telling apache that the root folder is the mediawiki/ one?

Remember to change $wgArticlePath and $wgScriptPath at 
LocalSettings.php, so MediaWiki expects to be called as /index.php/page




However, I do recommend against using debian packages for mediawiki. 
Mediawiki is php, so there aren't binary versions, the debian package 
usually:
*Are outdated.
*Break the normal configuration in odd ways.
*Which in turn, makes harder to help you.


And MediaWiki does a very good job installing directly. :)


_______________________________________________
MediaWiki-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-l

Reply via email to