Apache-Directory-Listing
Apache-Directory-Listing copied to clipboard
add it to all sub folders
hello,
how can i apply settings for all sub-folders without adding new htaccess files to each directory ? is it possible to do that ?
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.
PR welcome to improve the documentation :)
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.