2. Configuration

2.1. Automatic

  • The setup.php script will automatically create both config.inc.php and .htacess files

2.2. Manual

  • Copy the configuration sample file cp config.sample.inc.php config.inc.php
  • Edit the configuration file nano config.inc.php
  • Create the .htaccess file like:
    <IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteBase /wikidocs/
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteRule ^(.*)$ index.php?doc=$1 [NC,L,QSA]
    </IfModule>
  • Make sure that RewriteBase is the same as the PATH in the configuration file

This page was last edited on 2019-02-26 10:40

Powered by Wiki|Docs

This page was last edited on 2019-02-26 10:40

Manuel Zavatta | WikiDocs.it
Copyright 2019 © All rigths reserved.

Powered by Wiki|Docs