I was having problems with the wiki in general after a system crash, so I wound up setting up a new wiki site, then dumping the 1.3.4 database and loading it into the 1.3.10 database with no problems.
It doesn't work properly. I need to have it use the UsePathInfo as true due to the previous setup under 1.3.4 and how users are linking to the site. At this point, I suspect that there's something missing in the Apache configuration or setup. I checked Apache.org mentioned in the config.ini and the PrettyWiki link, but that didn't help.
How can I verify that Apache is actually trying to use AcceptPathInfo in the config?
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I'm having problems with my wiki at http://www.exit0.us
I'm running the following:
RedHat ES v3
phpwiki 1.3.10 using MySQL.
Apache 2.0.46
My htaccess file is this:
<Files *.ini>
Order deny,allow
Deny from all
</Files>
Try various wiki versions, like wiki, wikide, wikisidebar, ...
<Files "wiki*">
SetHandler application/x-httpd-php
<IfDefine APACHE2>
ForceType application/x-httpd-php
AcceptPathInfo on
</IfDefine>
</Files>
I was having problems with the wiki in general after a system crash, so I wound up setting up a new wiki site, then dumping the 1.3.4 database and loading it into the 1.3.10 database with no problems.
It doesn't work properly. I need to have it use the UsePathInfo as true due to the previous setup under 1.3.4 and how users are linking to the site. At this point, I suspect that there's something missing in the Apache configuration or setup. I checked Apache.org mentioned in the config.ini and the PrettyWiki link, but that didn't help.
How can I verify that Apache is actually trying to use AcceptPathInfo in the config?
I had similar problems under Fedora 1, and just remember that Fedora's Apache behaved differently.
I got it working though, with similar pretty urls like you. but not with files, just with a fake dir.
fake directory "wiki"
wiki/.htaccess:
AcceptPathInfo on
SetOutputFilter PHP
SetInputFilter PHP
ForceType application/x-httpd-php
Options +Indexes
Action x-phpwiki-page /phpwiki/index.php
ForceType x-phpwiki-page
DirectoryIndex /phpwiki/index.php
wiki/index.php:
<?php
ini_set('include_path', ".:/home/rurban/phpwiki");
include "/home/rurban/phpwiki/djindex.php";
$DBParams['dbtype'] = 'dba';
include "lib/main.php";
?>
So "/wiki" winds up being your main site and "/phpwiki" winds up being included via the .htaccess, right?