certain paths available in url without logging in

Re: certain paths available in url without logging in

by Ken Task -
Number of replies: 0
Picture of Particularly helpful Moodlers

Personal opinion ... simple is better - 2 ways.

There is an apache setting that will not allow listing of directories.

https://cwiki.apache.org/confluence/display/HTTPD/DirectoryListings

or

in directories where you find raw listing ... BTW, next clicks should force front page/other ... a blank index.html page.   Blank meaning it contains nothing ...

For example, you find /local/ open to raw listing:

in /local/, issue:  touch index.html

That creates a 0 byte (blank) file called index.html - which when someone attempts browsing /local/ will be served up by apache and browser shows nothing.

My 2 cents.

'SoS', Ken