Apache-Directory-Listing icon indicating copy to clipboard operation
Apache-Directory-Listing copied to clipboard

add it to all sub folders

Open arashnz opened this issue 3 years ago • 3 comments

hello,

how can i apply settings for all sub-folders without adding new htaccess files to each directory ? is it possible to do that ?

arashnz avatar Feb 21 '21 11:02 arashnz

Hello,

If you specify a absolute path to the directory-listing folder it should be applied to every sub-folder.

For example, if the directory-listing folder is at the root of your webserver, juste put "/directory-listing" (the start slash is important) everywhere in the .htaccess and it should work everywhere.

p-cauty avatar Oct 30 '21 22:10 p-cauty

PR welcome to improve the documentation :)

notlmn avatar Oct 31 '21 09:10 notlmn

Hello,

If you specify a absolute path to the directory-listing folder it should be applied to every sub-folder.

For example, if the directory-listing folder is at the root of your webserver, juste put "/directory-listing" (the start slash is important) everywhere in the .htaccess and it should work everywhere.

Thank you so much for this. I was on my wits end when everything I did was not working, the theme would only apply to the root directory, not the subfolders. Turned out I was missing the dang /. Gotta love linux.

bunkbail avatar May 27 '22 06:05 bunkbail