Directory and SubDirectory Index html files

Post

Posted
Rating:
#6076 (In Topic #1462)
Avatar
Standard member
Anomalous1 is in the usergroup ‘Fan in training’

Some directories with no index

Given the requisite CHMOD settings for any CMS of this type, and the fact that I do not like blank pages, I tend to create custom index.html pages for my site. I do not ever include an index.html where I have index.php but in this case, there are a great many directories and subdirectories that have no index page. (I have a complete list available for the Developers if you would like but do not want to publish it publicly for obvious reasons)

What I do not know, is whether including the index.html and preventing access to the directory shell will break anything. I see absolutely no reason that it would, but it seems odd that so many directories include the index.html and some others do not. 

I may be trying this on a few of the pages, but after going through each and every directory one at a time, I am going to take a break for a bit ;) 

Whether you believe you can or believe you cannot, you are correct. 
Online now: No Back to the top

Post

Posted
Rating:
#6078
Avatar
Site director
Chris Graham is in the usergroup ‘Administrators’
Hi,

I did some checking. Are we talking stuff under data/ckeditor? Or maybe some stuff in non-bundled addons? Stuff from third parties like that are mostly left as-is in the Composr directory tree, so if they don't have index.html files, we don't include them. That said, on reflection I think we should - so I've changed it in v11.
Feel free to mention if there are other directories.

Anyway, yes, you can do what you want regarding adding more index.html files. Even if Composr tries to do operations on every file in a directory, Composr is explicitly programmed to ignore them.


Become a fan of Composr on Facebook or add me as a friend. Add me on on Twitter. Follow me on Minds (where I am most active). Support me on Patreon

Was I helpful?
  • If not, please let us know how we can do better (please try and propose any bigger ideas in such a way that they are fundable and scalable).
  • If so, please let others know about Composr whenever you see the opportunity or support me on Patreon.
  • If my reply is too Vulcan or expressed too much in business-strategy terms, and not particularly personal, I apologise. As a company & project maintainer, time is very limited to me, so usually when I write a reply I try and make it generic advice to all readers. I'm also naturally a joined-up thinker, so I always express my thoughts in combined business and technical terms. I recognise not everyone likes that, don't let my Vulcan-thinking stop you enjoying Composr on fun personal projects.
  • If my response can inspire a community tutorial, that's a great way of giving back to the project as a user.
Online now: No Back to the top

Post

Posted
Rating:
#6079
Avatar
Standard member
Anomalous1 is in the usergroup ‘Fan in training’
I am happy to send you a list privately, and yeah, some are in the ckeditor directory. I believe the list however, is complete. I just do not like someone having access to the directory shell if I can help it.

That being said, I still will not be adding any html index files to directories where there is an index.php as it may conflict, but in any directories where I can go to the link directly, I will be working on it.

Thank you again for awesome support and an incredible CMS!

Whether you believe you can or believe you cannot, you are correct. 
Online now: No Back to the top
1 guest and 0 members have just viewed this.

Statistics

Users online:

babu, Philip, gabriel58, amit.nigam, Blas Fe Es, John Connor, Jason Verhagen, Salman

Forum statistics:
  • 1,109 topics, 5,332 posts, 6,258 members
  • Our newest member is nicholasz
Birthdays:
Back to Top