All pastes #388839 Raw Edit

Miscellany

public text v1 · immutable
·published 2007-03-10 09:52 UTC
rendered paste body
Mon fichiers LocalSettings.php

$wgSitename         = "Wikidocument";

## The URL base path to the directory containing the wiki; 
## defaults for all runtime URL paths are based off of this.
$wgScriptPath       = "/wiki";
$wgScript 	    = "$wgScriptPath/index.php";
$wgArticlePath      = "$wgScriptPath/$1";

.htaccess

AddHandler x-httpd-php5 .php
AddType application/x-httpd-php5 .php
## rewriting
Options FollowSymLinks
       RewriteEngine On
       RewriteCond %{REQUEST_FILENAME} !-f
       RewriteCond %{REQUEST_FILENAME} !-d
       RewriteRule ^(.+)$ /index.php?title=$1 [L,QSA]