Posted: 19.10.2005 15:59 Post subject: .htaccess zabrana prikaza file-a sa odredjenom ekstenzijom
zasto ovo ne radi? kad upisem neka.adresa/file.log on mi prikaze sadrzaj, a ne bi smio. gdje grijesim?
Code:
# zabrani prikaz .txt, .log i .db datoteka
<Files ~"^.*\.([Tt][Xx][Tt]|[Ll][Oo][Gg]|[Xx]|[Dd][Bb])">
Order allow,deny
Deny from all
Satisfy All
</Files>
probala sam i bez Satisfy All, i bez navodnika, i samo *\.(txt|log|x|db)... nista nije proradilo.
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum