2. Configuration

2.1. Automatic

  • The setup.php script will automatically create both config.inc.php and .htaccess 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 2022-09-23 10:43

Powered by Wiki|Docs

This page was last edited on 2022-09-23 10:43

Manuel Zavatta | WikiDocs.it
Copyright 2019-2023 © All rights reserved

Powered by Wiki|Docs