why is a .txt file being run as a php script?

Tim ignored_mailbox at yahoo.com.au
Tue Oct 16 02:43:30 UTC 2012


On Mon, 2012-10-08 at 20:18 +0200, Reindl Harald wrote:
> apache/php is not interesed at all in execute-flags

Not quite true.  The execute flag can be used by Apache, as a way of
having it parse a file for SSI tags.  It can, also, look at the filename
suffix, but sometimes you need to keep the suffix the same as it always
used to be (so not to break links, as well as other reasons), and the
execute bit is a convenient alternative way to change the behaviour.  I
use this all the time.

-- 
[tim at localhost ~]$ uname -r
2.6.27.25-78.2.56.fc9.i686

Don't send private replies to my address, the mailbox is ignored.  I
read messages from the public lists.





More information about the users mailing list