Some remote hosting services accept as start page only “index.php”. That's a problem if you wish to set up a DokuWiki..
Is it possible to rename “doku.php” to “index.php”? What are the needed changes to the DokuWiki structure?
Don't rename doku.php, create the file, index.php, with the following contents.
<?php // tell dokuwiki to make all links using index.php rather than doku.php define('DOKU_SCRIPT','index.php'); // jump to main dokuwiki script include('doku.php'); ?>
This has the advantage of allowing you to upgrade your Dokuwiki installation without any additional changes - as long as doku.php and DOKU_SCRIPT remain unchanged. A viable alternative is
<?php /** * Forwarder to doku.php * * @license GPL 2 (http://www.gnu.org/licenses/gpl.html) * @author Andreas Gohr <andi@splitbrain.org> */ header("Location: doku.php"); ?>