I'm using the known CleanUrls trick but seems not working with all urls. Although almost everything works fine, there is a problem when direct requesting a Site or Page. Please take a look to the following examples.
http://www.example.com/wiki -> works OK http://www.example.com/wiki/PmWiki/PmWiki -> works OK http://www.example.com/wiki/PmWiki.PmWiki -> works OK http://www.example.com/wiki/PmWiki turns to http://www.example.com/wiki/pmwiki.php?n=PmWiki.PmWiki Any idea what can I do to prevent this ? #My .htaccess (Apache 2.2): RewriteEngine On RewriteBase /wiki RewriteRule ^$ pmwiki.php [L] RewriteRule ^index\.php$ pmwiki.php [L] RewriteRule ^([^/a-z].*) pmwiki.php?n=$1 [QSA,L] In config.php (PHP 5.2) $EnablePathInfo = 1; $ScriptUrl = "http://example.com/wiki" $PubDirUrl = "http://example.com/wiki/pub" Any idea? Athan _______________________________________________ pmwiki-users mailing list [email protected] http://www.pmichaud.com/mailman/listinfo/pmwiki-users
