Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add it to all sub folders #10

Open
arashnz opened this issue Feb 21, 2021 · 3 comments
Open

add it to all sub folders #10

arashnz opened this issue Feb 21, 2021 · 3 comments

Comments

@arashnz
Copy link

arashnz commented Feb 21, 2021

hello,

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

@p-cauty
Copy link

p-cauty commented Oct 30, 2021

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 p-cauty mentioned this issue Oct 30, 2021
@notlmn
Copy link
Member

notlmn commented Oct 31, 2021

PR welcome to improve the documentation :)

@bunkbail
Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants