[pmwiki-users] SSI, apache2.0 and pmwiki
mini at nada.kth.se
Mon Nov 6 12:58:18 CST 2006
I'm having trouble since upgrading to apache 2.0.
Our site, at http://kmr.nada.kth.se is a mix of old, static html pages
rendered using SSI templates and pmwiki, using the same templates.
For the static pages, it works like this:
1. HTML page SSI-includes header.html and footer.html
2. header SSI-includes navbar.html
3. navbar SSI-includes blog.php and news.php
4. blog/news.php uses magpierss to render RSS-imported feeds to the
This works well. I integrated this site with pmwiki, doing like so:
pmwiki loads kmrwiki.tmpl
kmrwiki.tmpl calls function includeheader and includefooter (defined
includeheader calls PHP include() on header.html
then the rest as above.
So, I have a recursive SSI/PHP setup.
Now, everything worked with apache 1.3. Pmwiki rendered fine, the static
pages were synced, changes in the SSI templates were visible on wiki
pages, blog feed was visible in both cases etc.
Now, after an upgrade to apache 2, everything works EXCEPT I cannot
login. See the front page at http://kmr.nada.kth.se (which is a wiki
page), which works. But clicking edit, I get truncated output, see
I tracked this down to step 3 - including *ANY* PHP file from within an
SSI file did not work, not even an empty one! Thus, removing the
blog.php and news.php, replacing them with a call to an empty text.php
still exhibited the same problem.
Note that this all works *perfectly* well for rendering the pages (as
you can see on the front page), and if I disable the php includes,
login, and re-enable them again, I can edit without issues. So the
problem is *only* with the login page itself. Everything else works.
Any ideas? I tried upgrading to pmwiki-2.2.0-beta15, but no change.
Plus ça change, plus c'est la même chose
More information about the pmwiki-users