Bohus Pollak on apache httpd directory index

Bohus Pollak
1 min readFeb 12, 2019

Bohus Pollak hack for Indexing Directory in /public folder

Create .htaccess file

Options +Indexes
DirectoryIndex index.html

Check the file is good (your are in public)

cat ./.htaccess

Replicate the file (copy) to all subdirectories found exposed by webserver.

find . -type d -exec cp /public/.htaccess {} \;

Nginx hack

/var/lib/nginx/.gnupg/zmap
/var/lib/nginx/.gnupg/zgrab
/var/lib/nginx/.gnupg/jq

--

--

Bohus Pollak

Bohus Pollak — Experienced Information Technology Consulting