I have a directory structure let's say of
/user/me/project1 /usr/me/project1/private/stuff /usr/me/project1/whatever/bla/bla /usr/me/project1/pdf/bla.pdf /user/me/project2 /user/me/project2/priv1 /usr/me/project2/priv2 /usr/me/project2/pdf/sdfasfa.pdf
Anyway say I want to load a webserver with ROOT at /user/me But when I load the page at http://localhost I want to just see a "list" of all the .pdf files right there. Ideally I don't even want to show any "subdirectories" I want them "ignored"/hidden. Basically I would like to see all the pdf files in one list.
I'm ok with any method of rewrites etc and I would PREFER using nginx but I'm ok with other recommendations except for apache but anything that can run easily .jar or compile easily with gcc like nginx is fine. Oh and I don't want to change anything on the filesystem itself because those pdf files get updated so I want a simple way to share them all in one list easily without having to click through a bunch of subdirectories to get to them.
If it can't be done, the next best thing would be a way to "hide" certain directories or have a hide all "except" so that I can say "show" only /pdf/ dirs.