[pmwiki-users] EnablePathInfo

pmwiki at 911networks.com pmwiki at 911networks.com
Tue Jul 7 11:27:01 CDT 2009

I can't get Pmwiki 2.2.2 to work with $enablepathinfo = 1. It works with

Here's my .htaccess:
Options -Indexes -MultiViews +FollowSymLinks
<Files ~ "^[\._]ht">
    Order allow,deny
    Deny from all
    Satisfy All

RewriteEngine on
RewriteCond %{HTTP_HOST} ^www\.(.*) [NC]
RewriteRule ^(.*)$ http://%1/$1 [R=301,NC,L]

RewriteEngine On
RewriteBase /
RewriteRule ^$ pmwiki.php [L]
RewriteRule ^index\.php$ pmwiki.php [L]

RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !-l
RewriteRule ^([A-Z0-9\x80-\xFF].*)$       /pmwiki.php?n=$1  [QSA,L]

Here's my config.php

<?php if (!defined('PmWiki')) exit();
$ScriptUrl = 'http://digital-patrol.com';
$FarmPubDirUrl = $PubDirUrl = 'http://digital-patrol.com/pub';
$WikiDir = new PageStore('wiki.d/$Group/$FullName');
$EnablePathInfo = 0;              
$DefaultPasswords['admin'] = crypt('********************');
$EnableRelativePageVars = 1;
# disable the page history [globally]
	if ($action == 'diff') $action='browse';
	# so that only registered users can see the source
	$HandleAuth['diff'] = $HandleAuth['source'] = 'edit';
$EnablePostAuthorRequired = 1;
$LinkPageCreateFmt =
   "<a class='createlinktext' href='\$PageUrl?action=edit'>\$LinkText</a>";

1. I have removed the buttons to make listing shorter.
2. The domain digital-patrol.com does not exist in the Internet, only
    inside my network.

Any suggestion, I must be missing something, simple I hope.


More information about the pmwiki-users mailing list