Q & A
-
-
0
Nota -
0
Optiuni -
861
Accesari -
Victor
Cum dezactivez directory browsing in Apache?
- 5 years ago
How do I disable directory browsing?
GNU/Linux.ro
- 5 years ago
Deschide si modifica apache config: /etc/httpd/conf/httpd.conf
Inlocuieste (pentru directorul websiteului)
Options Indexes FollowSymLinks
cu
Options FollowSymLinks
Exemplu:
Options Indexes FollowSymLinks AllowOverride None Require all granted
cu
Options FollowSymLinks AllowOverride None Require all granted
Salveaza si restarteaza serverul apache. Bafta!
GNU/Linux.ro
- 5 years ago
Sau
a2dismod autoindex
apoi
sudo service apache2 restart
Sau creati un fisier .htaccess in directorul dorit cu continutul:
.Options -Indexes
- Comenteaza
- powered by Verysign