On Thu, 23 Dec 2004 07:23:07 +0000, paul-wikil(a)wibbles.org
<paul-wikil(a)wibbles.org> wrote:
And in my configuration, wgScript is '' and
PHP_SELF is '/wiki/'.
$wgScript must be the complete path to index.php, otherwise it will
not work. To create URLs of the form "/wiki/Foo" for articles, change
$wgArticlePath to "/wiki/$1". (Note that this won't change e.g.
action=edit links, but WikiMedia wikis don't do that either).
$wgScriptPath = "/searchtest";
$wgScript = "$wgScriptPath/index.php";
$wgRedirectScript = "$wgScriptPath/redirect.php";
## If using PHP as a CGI module, use the ugly URLs
$wgArticlePath = "/w/$1";
# $wgArticlePath = "$wgScript?title=$1";
RewriteRule ^/w/(.*)$ /searchtest/index.php?title=$1 [L,QSA]
Kate.