I have a problem to configure apache (on Suse) to ignore php~ files.
I'm running Apache and php without problems, but my editors (gedit and jed) make me a little one.
Both editors are making backup files as php~ (some others also - I suppose).
By default if use www.domain.com/page.php
there is no problems, but when I use www.domain.com/page.php~I
get php~sourcecode to read as a webpage.
Now I have ignore this so, that Apache will use php to show this files
AddType application/x-httpd-php .php~
but I like to apache skip them totally!
I have also try to use filesmatch directive on httpd.conf as
Deny from all
It works, but only if files are something else as php~. When using sample above, apache shows php~code as without directive