html-writr/Html-Writr — Issue #1: Doesn't work at all - seems to be an issue with absolute paths
Author: ahupowerdns
Created: 2011-11-27 18:53:53+00:00
State: open

Hi,

html-writr appears to be exactly what I need, but I can't get it to work with either lighttpd or apache2. The issue appears to be that writr passes along 'file=/index.html' and that at least *my* PHP interprets that as /index.html relative to the filesystem, and not relative to the PHP directory or the HTML root.

This means that the checks for is_file fails, and editing doesn't work.

Any ideas on how to fix this? I know little of PHP, I suspect I need to tell PHP to work from the html root instead of the fs root..

Thanks!