Enable FancyIndexing but keep Indexes off by default
What is the way to accomplish this via WHM so that it will not be overwritten in future updates?
This is what we want
- Indexes off by default for all websites
- Allow users to enable it when needed via .htaccess
- Allow showing the icons also via .htaccess ("FancyIndexing")
We have 1+2 working now, but the problem is that no icons are showing.
In a particular folder's .htaccess for example, we normally use:
IndexOptions IgnoreCase FancyIndexing FoldersFirst NameWidth=* DescriptionWidth=* SuppressHTMLPreamble
In Service Config->Apache Config->Global Config, Indexes is unticked/off.
Turning it on here, caused indexes to show up everywhere:
Indexes gets added to the options within
We do not want them on everywhere by default. Further, we still didn't get any icons.
I can see that all the directives related to the icons are in
/usr/local/apache/conf/extra/httpd-autoindex.conf
But that doesn't appear to be included anywhere in the active .conf files even when Indexes is turned on in global config
-
Hello :) I am happy to see you were able to find a viable solution. Thank you for updating us with the outcome. 0
Please sign in to leave a comment.
Comments
1 comment