qubit
10th June 2009, 00:55
someone may have already explained this, and i have searched for a solution, but get confused. (linux noob)
i have fedora 10 & apache 2 installed.
document root is /var/www/html.
all the folders/files under /var/www are owned by root:root.
i would like to be able to edit the html files under my username 'dennis', but cannot with the current ownership.
i changed owner to dennis:apache and could then edit/save the files, but the <?php.........?> will not parse/process. if i change the ownership back to apache:apache or root:root then it works fine.
how can i edit the files under my username and still have the php code work?
.d
i have fedora 10 & apache 2 installed.
document root is /var/www/html.
all the folders/files under /var/www are owned by root:root.
i would like to be able to edit the html files under my username 'dennis', but cannot with the current ownership.
i changed owner to dennis:apache and could then edit/save the files, but the <?php.........?> will not parse/process. if i change the ownership back to apache:apache or root:root then it works fine.
how can i edit the files under my username and still have the php code work?
.d