Δημοσιεύτηκε: 13 Απρ 2013, 18:48
για οποιον εχει την ιδια απορια με μενα: μπαινει στο /etc/apache2/apache2.conflepidas έγραψε:αυτή τη ρύθμιση που διαβάζω και είναι πάρα πολύ σημαντική ξέρει κάποιος που μπαίνει, σε ποιό αρχείο; (εδω πχ ο φάκελος αρχείων είναι ο /web)
Ensure that files outside the web root are not served
We don't want apache to be able to access any files out side of its web root. So assuming all your web sites are placed under one directory (we will call this /web), you would set it up as follows:
- Κώδικας: Επιλογή όλων
<Directory />
Order Deny,Allow
Deny from all
Options None
AllowOverride None
</Directory>
<Directory /web>
Order Allow,Deny
Allow from all
</Directory>