api.php5 just contains the following line <?php require 'api.php'; index.php5 contains <?php require './index.php';
I assume (as i dont realy know php) that these just call the code within api.php and index.php respectivley.. do I make a copy of api.php and rename it to api.php5 and the same for index.php ? Cheers On Sep 17, 11:03 am, Johannes Beigel <[EMAIL PROTECTED]> wrote: > Am 12.09.2008 um 12:18 schrieb [EMAIL PROTECTED]: > > > Its a closed wiki but can be linked to viahttp://wiki.armymedic.info > > I think the problem with this specific wiki is that MediaWiki API is > not accessible via .../api.php (only via .../api.php5; same for > index.php/index.php5). > > The Collection extension code constructs a "base URL" for the wiki by > using $wgServer and $wgScriptPath. The script name "api.php" is then > added to that URL on the render server by mwlib. > > Would it be possible for you to change your setup, so that "api.php" > and "index.php" are valid aliases to "api.php5" and "index.php5" > respectively? > > (BTW: Fetching "api.php" and "index.php" doesn't return HTTP status > 404 Not Found, but an empty response with HTTP status 200 OK). > > Regards, > Johannes Beigel --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "mwlib" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/mwlib?hl=en -~----------~----~----~----~------~----~------~--~---
