Hi,
when someone enters a directory on my Yun webserver and there is no index.(html, htm or php), this person can browse through the directory content.
How do I prevent this ?
Hi,
when someone enters a directory on my Yun webserver and there is no index.(html, htm or php), this person can browse through the directory content.
How do I prevent this ?
Setup: no_dirlists - Do not generate directory listings if enabled
nano /etc/config/uhttpd
config 'uhttpd' 'main'
option 'listen_http' '80'
option 'home' '/www'
option 'no_dirlists' '1'
/etc/init.d/uhttpd restart
@ Sonnyyu: Fantastic, problem solved !
Thanks a lot
After some googling (and after Sonnyyu provided the keyword no_dirlists), I found this website: Web Server Configuration (uHTTPd) [Old OpenWrt Wiki]
There one can find in detail how to configure the webserver (uhttpd).