> Now I'm struggling with the seemingly simple problem<div><br></div><div>Sometimes simple problems have simple solutions!</div><div><br></div><div>For example:</div><div>> # ls -al Alex.html index.php hello-world.php<br>
> -r--r--r-- 1 root root 599 Sep 29 15:49 Alex.html<br>> -rw-r--r-- 1 afarber afarber 33 Jul 29 11:32 hello-world.php<br>> -rw-r--r-- 1 root root 5631 Jun 27 09:38 index.php</div><div><br></div><div>
Why is Alex.html only readable and the php files readable *and* writable? Did you try making the php files *only readable* and see what happens?</div><div><br></div><div>This may not be relevant to the problem, but I have observed in Ubuntu that the apache server by default likes to make files it serves executable. Not sure why, just a simple observation.</div>
<div><br></div><div>Hope this helps,</div><div>Rob<br><br></div>