to have hidden directories handled the same as the Byte platform
I noticed that Hypernode treats hidden directories different than the (regular) Byte platform. The latter allows you to access files within hidden directories - it only denies access to hidden files (i.e. files with names starting with a dot).
Right now I cannot access files within the .modman directory. I know it's arguable if it's desired behaviour to be able to access those files, so let's start the discussion :)
My solution would be: document how you can make files accessible within hidden directories through Nginx config (and make it findable by at least mentioning modman in the support doc) and let hidden directories stay inaccessible. My main point against this solution is that the behaviour differs from the regular Byte platform.
-
Jeroen Boersma commented
I think that there is a problem with the specific module, whereby it does not reference to the linked file in the /skin/adminhtml directory but to the realpath in .modman
Files should be linked correctly from within the module modman files to their proper directories.
This way this problem would never exists if you use the right Magento functions.I should never recommend to publish dot-directories.
-
Mark van der Sanden commented
My use case: I have a background image referenced in my adminhtml-css that resides in a directory within .modman. The admin css gets merged and minified (in this particular environment), so URLs get 'absolutized'. And somewhere in the process of absolutizing the URLs something goes wrong and .modman-URLs get referenced in the CSS.
Although I never dived deeper into the problem (the admin now lacks a background image and in this case it's not a real problem), I thought it would be useful to know what other think.
-
Peter Jaap Blaakmeer commented
I'd say deny access by default and document how to open them up, like you said. What would be the use case for having for example a .modman folder publicly accessible?
-
Mark van der Sanden commented
Accessible publicly
-
Peter Jaap Blaakmeer commented
Accessible internally or publicly?