[pmwiki-users] Path problem running in chroot'd environment
Patrick R. Michaud
pmichaud at pobox.com
Thu Nov 24 18:21:42 CST 2005
On Thu, Nov 24, 2005 at 05:51:58PM -0600, brian at pongonova.net wrote:
> I'm trying to run pmWiki on an OpenBSD (3.4) box. By default, apache
> runs in a chroot jail. There was no response when I tried to access
> pmwiki/pmwiki.php for the first time...some investigation revealed
> that there seems to be an issue with the pathname returned by PHP's
> dirname function. I manually set $FarmD in pmwiki.php to the "true"
> system pathname, and was able to at least get a page response. But
> there are still path problems elsewhere; nothing renders correctly,
> and when there is an error message, it refers to the path relative to
> the chroot jail, not the absolute path.
>
> Is anybody running pmWiki in a chroot jail? What mods did you need to
> make to resolve the path discrepancies?
If it's not rendering correctly, the problem may be with the
setting of $PubDirUrl (and possibly $FarmPubDirUrl).
Is there a url we could view for this?
Pm
More information about the pmwiki-users
mailing list